coin-or / python-mip

Python-MIP: collection of Python tools for the modeling and solution of Mixed-Integer Linear programs
Eclipse Public License 2.0
527 stars 92 forks source link

get value from linear expressions #90

Closed jurasofish closed 4 years ago

jurasofish commented 4 years ago

This allows you to get the value of linear expressions in the solution, just as with Vars through the x parameter.

I wrote up the same code for xi but didn't have any tests to run against it so decided to leave it out.

jurasofish commented 4 years ago

easy