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. _______________________________________________ Help-glpk mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-glpk
