Hi guys,

Suppose this model:

--------------------------------
set S1;
set S2;

var H{S1, S2}, binary;

data;

set S1 := A B C;
set S2 := D E F;
--------------------------------

How can I set a single cell, say H[A, F] := 1 ?

The idea is to force specific cells to 1, and then let the solver maximize
the rest of them.

Thank you.


-- 
*Nilo Cesar Teixeira*
[email protected]
_______________________________________________
Help-glpk mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-glpk

Reply via email to