> I got a question regarding a decision var.
> My problem is that I got this decision var, that is kinda half
> decision var and half a constant.
> So my question is, is it possible so define some of the values of a
> decision var in the data file and let GLPK decide the rest?
>
> I know that one way to solve this is just to "subtract" the ones that
> is set from the problem and then solve the rest, but it would be nice
> to know if I could do it like that also.
You may fix some decision variables at certain constant values by
introducing appropriate equality constraints, for example,
var x{j in J};
set C, within J;
s.t. foo{j in C}: x[j] = 3.14159;
_______________________________________________
Help-glpk mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-glpk