Created
November 26, 2016 20:31
-
-
Save Fcmam5/b23c330c09cb2d632b73a1e66fbaec7d to your computer and use it in GitHub Desktop.
AMPL and CPLEX example model for (https://www.youtube.com/watch?v=Mr5Kz2JLC8o)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var x1 >= 0; | |
var x2 >= 0; | |
maximize fct: 6*x1 + 4*x2; | |
subject to test1: 3*x1 + 9*x2 <=81; | |
subject to test2: 4 * x1 + 5 * x2 <= 55; | |
subject to test3: 2 * x1 + x2 <= 20; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment