First time here? Check out the FAQ!
answered 2011-04-28 14:00:44 +0100
You may find the use of the MixedIntegerLinearProgram class easier :
http://www.sagemath.org/doc/reference/sage/numerical/mip.html
Nathann