help-glpk
[Top][All Lists]
Advanced

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

Re: [Help-glpk] help needed - executing glpsol from C function


From: xypron
Subject: Re: [Help-glpk] help needed - executing glpsol from C function
Date: Fri, 23 Jan 2009 10:32:33 -0800 (PST)

Hello LG,

>> I ... need to use GLPK for constraint optimization problem.
GLPK is used for (mixed integer) linear optimization not for constraint
programming.

>> I am also wanting to use the optimized values generated in .sol file into
>> another .C file. So is there any way to perform this data passing?

GLPK cannot only be used with the standalone solver GLPSOL but also provides
a library functions to access the solver. You can use these library function
to both to create a linear model by rows or columns or to read and solve a
GMPL model file and then access the solution. The documentation of the
library can be found in doc/glpk.pdf of the current distribution.

If you want to use results of one optimization run of glpsol in a second
optimization run or in another program, consider using the table statement
described in doc/tables.pdf. You can use it to access CSV files or an ODBC
data base.

Best regards

Xypron


-- 
View this message in context: 
http://www.nabble.com/help-needed---executing-glpsol-from-C-function-tp21628184p21630288.html
Sent from the Gnu - GLPK - Help mailing list archive at Nabble.com.





reply via email to

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