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.
_______________________________________________
Help-glpk mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/help-glpk