Access infeasible optimization results ( GLPK with semicontinuous variable )

Is there any way I can obtain the “minimal constraint violation point” when I have semicontinuous variables?

Formulate a new optimization problem, where you add slack variables to the constraints and minimize their sum.

2 Likes