Hello Monsour,
unfortunately conversion to plain text made your formula illegible.
Please, either send the formula in tex format or as an appendix in PNG
or PDF format.
Please add some explanation.
Best regards
Xypron
Mansour wrote:
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
[email protected]
http://lists.gnu.org/mailman/listinfo/help-glpk
_______________________________________________
Help-glpk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-glpk