Hi Andrew,
> Looks like your instance is maximization while mps always assumes
> minimization. You need either to change the objective sign in the
> mathprog model or specify --max option for glpsol.
I don't understand this statement. Where do you "specify -max option
for glpsol"?
e.g. glpsol --math TimberHarvestModel_0025p.mod --wfreemps
TimberHarvestM_freemps.mps
The objective function of the MatProg model is already maximize.
e.g.
maximize Discounted_Net_Value:
sum {s in STAND, p in PERIOD} Stand_Cut_Candidates[s,p] *
NPV_Calc[s,p] * FStand[s,p];
Noli
_______________________________________________
Help-glpk mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-glpk