Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

This is probably a bug in constraints handling of minimize_constrained :

sage: minimize_constrained(-G, [c1,c2,c3,c4],[1/2, 1/2])
(1.0, 0.5)

but

sage: minimize_constrained(-G, [[0, 1], [0, 1]],[1/2, 1/2])
(0.22201537463122323, 0.22201537463122367)

Could you report it to [sage-support)(https://groups.google.com/g/sage-support), and possibly file a ticket on Github ?

This is probably a bug in constraints handling of minimize_constrained :

sage: minimize_constrained(-G, [c1,c2,c3,c4],[1/2, 1/2])
(1.0, 0.5)

but

sage: minimize_constrained(-G, [[0, 1], [0, 1]],[1/2, 1/2])
(0.22201537463122323, 0.22201537463122367)

Could you report it to [sage-support)(https://groups.google.com/g/sage-support), and possibly file a ticket on Github ?

EDIT : Never mind : I filed a new issue related to this problem, where you can find an analytical solution to your problem.