Skip to content

Instantly share code, notes, and snippets.

@gghatano
Created October 2, 2016 08:57
Show Gist options
  • Save gghatano/456b446f4f626ce4f6edd1a43f27b678 to your computer and use it in GitHub Desktop.
Save gghatano/456b446f4f626ce4f6edd1a43f27b678 to your computer and use it in GitHub Desktop.
scip tutorial
maximize
4 d4w12 + 2 d2w2 + 2 d2w1 + 1 d1w1 + 10 d10w4
subject to
weight: 12 d4w12 + 2 d2w2 + 1 d2w1 + 1 d1w1 + 4 d10w4 <= 15
binary
d4w12 d2w2 d2w1 d1w1 d10w4
@gghatano
Copy link
Author

gghatano commented Oct 2, 2016

scip
read ./mip.lp
optimize
display solution

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment