> hello I am a beginner to GLPK and need to use GLPK for constraint
> optimization problem.
> 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?
> Is it possible to  use commands like  - system("/bin/-glpsol -m
> domainsizeabs -o domainsizeabs.sol"); to execute .mod file in linux
> platform ? Also kindly suggest me what considerations should I have in my
> C program to call.

You may use the printf statement in your mathprog model redirecting
its output to a file. This allows you writing the solution in the format
you need for further processing. For more details please see the mathprog
documentation.



_______________________________________________
Help-glpk mailing list
Help-glpk@gnu.org
http://lists.gnu.org/mailman/listinfo/help-glpk

Reply via email to