help-glpk
[Top][All Lists]
Advanced

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

Re: [Help-glpk] Help using auxiliar variables


From: dhiguero
Subject: Re: [Help-glpk] Help using auxiliar variables
Date: Mon, 22 Nov 2010 17:52:21 +0100
User-agent: RoundCube Webmail/0.4


Hi everybody,

There is an error in the attached code, Ma and Mb should be 50, not 90. As additional information, it seems that the solution of the relaxed program matches the expected optimal solution.

92 rows, 44 columns, 240 non-zeros
     0: obj =   0.000000000e+00  infeas =  1.200e+01 (0)
*    31: obj =   2.000000000e+00  infeas =  0.000e+00 (0)
*    32: obj =   2.000000000e+00  infeas =  0.000e+00 (0)
OPTIMAL SOLUTION FOUND
Integer optimization begins...
+    32: mip =     not found yet >=              -inf        (1; 0)
+    93: >>>>>   4.000000000e+00 >=   2.000000000e+00  50.0% (13; 28)
+  2081: mip =   4.000000000e+00 >=     tree is empty   0.0% (0; 1585)
INTEGER OPTIMAL SOLUTION FOUND

  Regards,

  Daniel




reply via email to

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