Certified infeasible network flow
Input
{
"constraints": [
{
"op": "==",
"rhs": 0,
"terms": [
{
"coeff": 1,
"var": "s_a"
},
{
"coeff": -1,
"var": "a_t"
}
]
},
{
"op": "==",
"rhs": 0,
"terms": [
{
"coeff": 1,
"var": "s_b"
},
{
"coeff": -1,
"var": "b_t"
}
]
},
{
"op": ">=",
"rhs": 15,
"terms": [
{
"coeff": 1,
"var": "a_t"
},
{
"coeff": 1,
"var": "b_t"
}
]
}
],
"variables": [
{
"max": 8,
"min": 0,
"name": "s_a",
"type": "continuous"
},
{
"max": 4,
"min": 0,
"name": "s_b",
"type": "continuous"
},
{
"max": 10,
"min": 0,
"name": "a_t",
"type": "continuous"
},
{
"max": 10,
"min": 0,
"name": "b_t",
"type": "continuous"
}
]
}Output
Build-time verified. stats.elapsed_ms normalized to 0.
{
"best_bound": null,
"bound_verified": null,
"max_violation": null,
"objective_value": null,
"solution": null,
"stats": {
"elapsed_ms": 0,
"timed_out": false
},
"verdict": "infeasible",
"verified": true
}Request
curl --fail-with-body --silent --show-error https://oracles.burgeonads.com/v1/solve/lp-mip -H 'Content-Type: application/json' --data-raw '{"variables":[{"name":"s_a","type":"continuous","min":0,"max":8},{"name":"s_b","type":"continuous","min":0,"max":4},{"name":"a_t","type":"continuous","min":0,"max":10},{"name":"b_t","type":"continuous","min":0,"max":10}],"constraints":[{"terms":[{"var":"s_a","coeff":1},{"var":"a_t","coeff":-1}],"op":"==","rhs":0},{"terms":[{"var":"s_b","coeff":1},{"var":"b_t","coeff":-1}],"op":"==","rhs":0},{"terms":[{"var":"a_t","coeff":1},{"var":"b_t","coeff":1}],"op":">=","rhs":15}]}'