- Ensure the LP problem passed to linprog is in the correct form:
- Instead of the default interior-point or the older simplex, use the modern dual-simplex algorithm, which is usually more robust and efficient for LPs.
- The error usually means that variables A, b, Aeq, beq, lb, ub define a system with no feasible region for that algorithm. Try solving first with "interior-point", which can sometimes find a feasible point more easily:
- If "interior-point" works and gives a feasible solution then try using that as a starting point for dual-simplex using the "InitialPoint" option.
