help-glpk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-glpk] MIP Solvers (i.e CBC, CPLEX, GLPK, GUROBI, LPSOLVE, SCIP


From: Robbie Morrison
Subject: Re: [Help-glpk] MIP Solvers (i.e CBC, CPLEX, GLPK, GUROBI, LPSOLVE, SCIPC, SCIPL, SCIPS and XPRESS) Benchmark
Date: Tue, 20 Nov 2012 04:21:27 +1300
User-agent: SquirrelMail/1.4.22

Hi Andrew, Noli

------------------------------------------------------------
To:           Noli Sicad <address@hidden>
Subject:      Re: [Help-glpk] MIP Solvers (i.e CBC, CPLEX, GLPK, GUROBI, ..
Message-ID:  <address@hidden>
From:         Andrew Makhorin <address@hidden>
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) : address@hidden
Webmail (preferred)           : address@hidden
[from Webmail client]





reply via email to

[Prev in Thread] Current Thread [Next in Thread]