sasoptpy.Model.print_solution

Model.print_solution(self)[source]

Prints the current values of the variables

Notes

  • This function might not work for abstract variables and nonlinear models.

Examples

>>> m.solve()
>>> m.print_solution()
x: 2.0
y: 0.0