|
From: | Nilo Cesar Teixeira |
Subject: | Re: [Help-glpk] Setting a single cell in a multidimensional subscripted var |
Date: | Thu, 17 Nov 2011 00:43:39 -0200 |
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.
[Prev in Thread] | Current Thread | [Next in Thread] |