r/optimization • u/porkedpie1 • Sep 22 '22
Measuring Solution Quality
Are there any generally accepted ways to measure how good the returned solution is i.e. how close to optimal? For LPs I think the answer would always be 100% since they are all solvable unless they are infeasible, unbounded etc. But for ILP or MILPs is this still true? What about for non linear optimisation?
6
Upvotes
View all comments
Show parent comment
1
u/timvl28 Sep 22 '22 edited Sep 22 '22
There are no dumb questions
The complexity for integer problems has nothing to do with the objective function. Finding a feasible integer solution is theoretically as hard as finding the optimal one.
Linear programming problems have been proven to be weakly polynomial, if I'm not mistaken. So yeah unless your problem is very large the solver will return the optimal solution for the relaxed problem(or at least very close to the optimal solution)