Hi Andrew, Noli

------------------------------------------------------------
To:           Noli Sicad <[email protected]>
Subject:      Re: [Help-glpk] MIP Solvers (i.e CBC, CPLEX, GLPK, GUROBI, ..
Message-ID:  <1353314481.1952.3.camel@corvax>
From:         Andrew Makhorin <[email protected]>
Date:         Mon, 19 Nov 2012 12:41:21 +0400
------------------------------------------------------------

>> 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).

Or am I missing something?

Robbie
---
Robbie Morrison
PhD student -- policy-oriented energy system simulation
Technical University of Berlin (TU-Berlin), Germany
University email (redirected) : [email protected]
Webmail (preferred)           : [email protected]
[from Webmail client]



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

Reply via email to