1

My model status is integer infeasible. I used ConflictRefiner() to check which constraints are mutually contradictory.

Then I use display_conflicts to check which constraints are "at fault".

This is the output:

enter image description here

I found this weird since my ub is set to 15. I checked the code and everything looks good and I also inspected the model values and as you can see for variable 107, ub=15.

all_vars

I can't really understand why this would happen. Thank you in advance for your help!

DP_
  • 87
  • 7

1 Answers1

0

I confirm this is a bug with DOcplex's conflict refiner; it does not take into account variable bounds set by properties. There are two workarounds:

  • either define bounds what variable creation time.
  • or start a solve() even with a small time limit(e.g. 1s) before launching the conflict refiner.

This bug will be fixed in the next release of DOcplex. Thanks for reporting this.

Philippe Couronne
  • 826
  • 1
  • 5
  • 6