In later versions of GLPK, you need to use the iocp (integer optimization 
control parameter) structure to set these parameters.  I don't know when it was 
introduced, and it's possible that your version doesn't have this control 
structure.  Look through "glpk.h" and if you see the iocp structure you should 
use that.

 

Use the "glp_init_iocp" routine to get an iocp structure.  Then set the 
parameters, and use "glp_intopt" to call the MIP procedure, which takes the 
iocp as a parameter.

 

 

________________________________

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of eeeeeeeeeeee 
zzzzzzzzzzzz
Sent: Wednesday, April 23, 2008 1:43 PM
To: [email protected]
Subject: [Help-glpk] Gomory cuts and java api

 

Hello,

I'm writing a model with a lot of binary variable. I can resolve it very 
quickly with glpsol using options --intopt --cuts .Without these options I 
didn't see the end, subproblems was growing  again after one hour. My problem 
is to find these options in the java api. GlpkSolver.LPX_K_USECUTS and 
GlpkSolver.LPX_INTOPT doesn't exist
Im using API 4.9 and can't find api 4.10





________________________________

Avec Windows Live Messenger restez en contact avec tous vos amis ! Téléchargez 
Messenger, c'est gratuit ! <http://www.windowslive.fr/messenger/> 

---------------------------------------------------------------------------- 
This e-mail and any attachments may be confidential or legally privileged.  If 
you received this message in error or are not the intended recipient, you 
should destroy the e-mail message and any attachments or copies, and you are 
prohibited from retaining, distributing, disclosing or using any information 
contained herein.  Please inform us of the erroneous delivery by return e-mail. 

Thank you for your cooperation.
---------------------------------------------------------------------------- 

_______________________________________________
Help-glpk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-glpk

Reply via email to