> >> maximize Discounted_Net_Value:
> >> sum {s in STAND, p in PERIOD} Stand_Cut_Candidates[s,p] *
> >> NPV_Calc[s,p] * FStand[s,p];
> >
> > When you pass mps to glpsol, the optimization direction
> > is minimization by default, so you need to specify the
> > --max option to tell glpsol to maximize rather than
> > minimize.
>
> That looks confusing? The "maximize" in the model
> statement should be picked up, surely?? In which case
> the "--max" should be unnecessary (except to override
> a "minimize" in the code, from the command line).
The mps format does not allow specifying the objective sense.
>
> Or am I missing something?
>
_______________________________________________
Help-glpk mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-glpk