help-glpk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-glpk] condition writing in glpk


From: Mansour
Subject: [Help-glpk] condition writing in glpk
Date: Mon, 6 Sep 2010 15:34:06 +0400

Hello,

I'm using glpk and I don't know how to write the condition below in my 
model:


? x[k,l] = p ?(i, j ) ? {1,..., I }× {1,..., J } as Obstacle[i,j] = 0
(k,l)?{1,...,I}×{1,..., J }
as ( k - i )² + ( l - j )² = d²


- The only variable of the problem is x[i,j] : x[i,j] ? {0,1} , i ? 
{1,..., I }, j ? {1,..., J } .
- I,J,d and Obstacle[i,j] are parameters of the problem

Please can you give me a solution to write this in my model.

Best Regards,

Mansour.








reply via email to

[Prev in Thread] Current Thread [Next in Thread]