[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-glpk] Build using GLPK, solve using CLP and post solve using G
From: |
Andrew Makhorin |
Subject: |
Re: [Help-glpk] Build using GLPK, solve using CLP and post solve using GLP |
Date: |
Wed, 28 Oct 2015 20:21:16 +0300 |
On Wed, 2015-10-28 at 17:31 +0100, Louis Mathieu wrote:
> Hello,
>
>
> I am currently using GLPK tu build my .mps matrix, solve it and use
> post solving printf to get solution.
>
>
> I would like to use CLP to solve my .mps.
>
>
> What would be the easiest way to do so ?
>
>
> I read that there is currently no solution to get data back to GLPK
> and use post solving functions.
> Is it not possible to read solution file ?
You may use the following sequence:
glpsol -m foo.mod --check --wmps foo.mps
...solve foo.mps and write solution to foo.sol...
glpsol -m foo.mod -r foo.sol
For .sol format see the glpk manual (routines glp_read_sol for LP and
glp_read_mip for MIP).
>
>
> Thanks for your help,
>
>
> Louis Mathieu
- Re: [Help-glpk] Build using GLPK, solve using CLP and post solve using GLP,
Andrew Makhorin <=