Constraint Optimizer (LP/MIP)

Solve
Price: $0.10/callLatency: <10msComplexity: Problem-dependent

Quick scenarios

Maximize profit subject to resource constraints using linear programming. HiGHS solver (production-grade, WASM).

Click "Run Algorithm" to see results
cURL
curl -X POST https://oraclaw-api.onrender.com/api/v1/solve/constraints \
  -H "Content-Type: application/json" \
  -d '{"objective":{"coefficients":[5,4,3],"direction":"maximize"},"constraints":[{"coefficients":[6,4,2],"rhs":240,"type":"leq"},{"coefficients":[3,2,5],"rhs":270,"type":"leq"},{"coefficients":[1,1,1],"rhs":60,"type":"leq"}],"bounds":[{"lower":0},{"lower":0},{"lower":0}]}'

Input Schema

objective: {coefficients, direction: 'maximize' | 'minimize'}
constraints: Array of {coefficients, rhs, type: 'leq' | 'eq' | 'geq'}
bounds: Array of {lower?, upper?, type?}

Output Fields

statusobjectiveValuevariablesdualValues