[Top][All Lists]

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

[Help-glpk] Re: trivial question

From: Andrew Makhorin
Subject: [Help-glpk] Re: trivial question
Date: Mon, 18 Aug 2003 20:18:47 +0400

>having an optimization problem,  what is the pros and cons of the different
>a. model a problem in GNU-MathProg and feed the model to glpsol
>b. use the GLPK API routines from an EXE

Using the MathProg language you can create and solve the model quickly.
But many features are not available in MathProg. For example, in the
current implementation you can print the solution report only in the
standard format provided by glpsol. You also cannot reoptimze the model
varying some model parameters, etc.

On the other hand, using the glpk api gives you all features of the
package, however, creating the model via api may be much more cumbersome
although more flexible.

But there is yet another approach: using the api routine lpx_read_model
to read the model written in MathProg. This allows combining advantages
of MathProg and glpk api.

reply via email to

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