help-glpk
[Top][All Lists]
Advanced

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

RE: [Help-glpk] milp optimisation suceed with glpsol but fails with API


From: Guillaume Letellier
Subject: RE: [Help-glpk] milp optimisation suceed with glpsol but fails with API
Date: Wed, 23 Jun 2010 08:31:23 +0200

Hello, and thank you for your answer.

You're right, i missed the fact that error code was hex and not decimal, the 
hex error code is 0x0C (12d). Should be "GLP_EROOT" if i'm right ...

-----Message d'origine-----
De : Andrew Makhorin [mailto:address@hidden 
Envoyé : mercredi 23 juin 2010 03:54
À : Guillaume Letellier
Cc : address@hidden
Objet : Re: [Help-glpk] milp optimisation suceed with glpsol but fails with API

> I'm facing a strange issue using GLPK : I set up a milp problem using
> the API in C#. Solving the problem in memory using intopt fails with
> error code GLP_EDATA.
> Yet, if I write the problem to MPS using glp_write_mps (file attached),
> i can found the solution with glpsol.exe

> Any idea of what I must have missed ?

Glp_intopt cannot return GLP_EDATA. Print the code returned by glp_intopt
in hex and then find it in glpk.h.





reply via email to

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