help-glpk
[Top][All Lists]
Advanced

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

Re: [Help-glpk] Optimization direction


From: Andrew Makhorin
Subject: Re: [Help-glpk] Optimization direction
Date: Wed, 16 Jun 2004 15:01:39 +0400

>I was reading your manuals when I found on the page 69 de section B.9!!
>I want to use MPS files and I want to maximize the objective function... How 
>can I do that?

Mps format does not allow specifying optimization direction (it is
minimization by default). You may use one of the following ways:

change the sign of the objective function;

specify '--max' option in the command-line on invoking glpsol;

call lpx_set_obj_dir(lp, LPX_MAX) after lpx_read_mps.






reply via email to

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