MATLAB: No feasible solution found when using intlinprog

intlinprogMATLABOptimization Toolbox

I am using "intlinprog" to solve a system of linear equations. The "f" matrix is a 1×180 matrix. Can intlinprog process large matrices like this? I have 12 unknowns with 7 equality constraint equations.

Best Answer

If you are referring to intermediate feasible solutions you can use the built-in OutputFcn savemilpsolutions:
Just a warning: if there is no objective function for the problem (or it is all zero), then as soon as intlinprog finds any integer feasible solution, it will stop.