Originally posted by: AntonioMorgado
Greetings,
I am using cplex.conflict for a problem and when i use cplex.conflict.refine and then ask for the cplex.conflict.get it gives the value 5 for some of the constraints (an infeasible example). Does anyone knows what it means? Here is an example in python:
> python
Python 2.7.6 (default, Jun 22 2015, 17:58:13)
[GCC 4.8.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import cplex
>>> c = cplex.Cplex()
>>> c.variables.add(names = ["x0"])
>>> c.linear_constraints.add(lin_expr = [[[0], [-1.0]], [[0], [1.0]]], senses = "LL", rhs = [-10,9])
>>> c.conflict.refine(c.conflict.linear_constraints())
>>> c.conflict.get()
[5, 5]
>>>
The api only refers to returned values of -1, 0 or 3.
Thank you in advance for your reply.
#CPLEXOptimizers#DecisionOptimization