Hello,
SNOPT seems to force-quit MATLAB if a specific error occurs and SNOPT is called again.
Minimum working example: for the "toymin" problem in the matlab/examples/fmincon directory, set G = []; in the toyCon function.
Running 'toymin' once, the following error is produced:
G has incorrect row dimension 3. Should be length 4
Error in snsolve (line 194)
[x,F,exitflag,xmul,Fmul,xstate,Fstate,itn,mjritn] = snoptmex( solveopt, x0,
Error in toymin (line 35)
[x,fval,INFO,lambda] = snsolve( @toyObj, x0, A, b, Aeq, beq, lb, ub, @toyCon,
Running 'toymin' again, MATLAB quits. The problem persists even if "clear" is called in between calls to toymin.
I am running SNOPT 7.5 on MATLAB 2015b for Macintosh.
Thank you,
Delyle