[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-glpk] need help for the routine glp_intopt
From: |
Andrew Makhorin |
Subject: |
Re: [Help-glpk] need help for the routine glp_intopt |
Date: |
Fri, 09 Sep 2011 15:12:10 +0400 |
> I'm a student at Paris Dauphine University and i'm using GLPK to solve
> MIP problems (as part of my master thesis : Operational Research and
> Decision Aiding).
>
> When i solve my MIP problem with these two basic API Routines :
>
> glp_simplex(mip, NULL);
> glp_intopt(mip, NULL);
>
> this message is shown on the screen:
>
> OPTIMAL SOLUTION FOUND (Optimal solution to LP rekaxation)
> other comments...
> INTEGER OPTIMAL SOLUTION FOUND
>
> The problem is the fact that this optimal integer solution is not
> integer
>
> Any help or idea?
Most probably you are using the routine glp_get_col_prim and
glp_get_row_prim which report components of the solution to lp
relaxation. To obtain mip solution components you should use
glp_mip_col_val, glp_mip_row_val, and glp_mip_obj_val.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Help-glpk] need help for the routine glp_intopt,
Andrew Makhorin <=