Groups
Groups
Sign in
Groups
Groups
sage-support
Conversations
Labels
About
Send feedback
Help
Solve inequality in Sage
21 views
Skip to first unread message
Santanu Sarkar
unread,
Oct 20, 2019, 11:34:37 AM
10/20/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to sage-support
Hi,
I have inequalities like these:
3 x1 + 5 x2 + 2 x3 + 5 x4 + 7 x5 <= 28
2 x1 + 0 x2 + 0 x3 + 8 x4 <= 14
4 x4 + 5 x5 <= 22
3 x2 <= 2
3 x4 >= 1
I want to get a solution. Values of x's are either 0 or 1.
Julian Rüth
unread,
Oct 20, 2019, 12:33:32 PM
10/20/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to sage-support
Have you had a look at
https://doc.sagemath.org/html/en/reference/numerical/sage/numerical/mip.html
? Seems to be what you want to do essentially.
julian
Reply all
Reply to author
Forward
0 new messages