abdelkimo / python-zibopt

Automatically exported from code.google.com/p/python-zibopt
0 stars 0 forks source link

wrong constraint type #11

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Per James Cussens:

I've found your interface useful for my optimisation problem but I'm coming
across a problem. One of my constraints is:

  solver.constraint(
               lower = 0,
               coefficients = {older[parent,child]:1,family_variable:-1})

where both variables have been declared as binary. This constraint gets
into SCIP as a varbound constraint when it should be a logicor constraint.
When I encode the same constraint directly in a .opb file and read it
directly into SCIP it is categorised as logicor.

Original issue reported on code.google.com by ryan%che...@gtempaccount.com on 22 Dec 2009 at 3:50

GoogleCodeExporter commented 8 years ago

Original comment by ryan%che...@gtempaccount.com on 4 Jan 2010 at 1:46