1 | initial version |
When I am looking at documentation? I see there is solution for Piecewise in Sage,
This Piecewise helped me to solve the problem, with accurate results.
when I am passing a MixedIntegerLinearProgram variable I am getting the exception saying the value should be Integer.
There is another thread where the results are wrong when doing minimization of the SOS2. http://ask.sagemath.org/question/3314/output-results-of-sage-mixedintegerlinearprogram
Need help in integrating a SOS2 or Piecewise model with MixedIntegerLinearProgram.