Try a large scale Integer linear programming problem (e.g. 100000 variable). Because of rec function you will get the following error.
Maximum recursion limit of 500 reached. Use set(0,'RecursionLimit',N)
to change the limit. Be aware that exceeding your available stack space can
crash MATLAB and/or your computer.
Error in optimget>optimgetfast
is there any way to fix it ?
Comment only
29 Oct 2011
mixed-integer LP
This function solves the mixed integer linear programming problems.
It does not work for only 2 integer variables. Please bother to at least understand the syntax. M is a vector which denotes the indices of 'x' which are integers.
Comment only