javascript-lp-solver
Version:
Easy to use, JSON oriented Linear Programming and Mixed Int. Programming Solver
18 lines • 479 B
JSON
{
"name": "Quadratic Relaxation 3",
"background": "Quadratic relaxation of problem Infeasible 3",
"constraints" : {
"fritzJohn1": { "equal": 5 },
"fritzJohn2": { "equal": 5 }
},
"variables" : {
"x": { "fritzJohn1" : 2, "fritzJohn2" : 1 },
"y": { "fritzJohn1" : 1, "fritzJohn2" : 2 }
},
"expects": {
"feasible": true,
"x": 1.66666667,
"y": 1.66666667,
"result": 0
}
}