Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

While this could be easily done without Sage, you can have a look at Mixed Integer Linear Programming, see http://doc.sagemath.org/html/en/reference/numerical/sage/numerical/mip.html and http://doc.sagemath.org/html/en/thematic_tutorials/linear_programming.html

click to hide/show revision 2
No.2 Revision

While this particular example could be easily done without Sage, you can have a look at Mixed Integer Linear Programming, Programming as a general method, see http://doc.sagemath.org/html/en/reference/numerical/sage/numerical/mip.html and http://doc.sagemath.org/html/en/thematic_tutorials/linear_programming.html