Open johanlofberg opened 4 years ago
Similarly, when running the examples from /matlab/runNPexamples.m
, the following error takes place:
Error using snoptmex
xupp has incorrect column dimension 7. Should be length 1
Error in snsolve (line 276)
snoptmex(solveopt, ...
Error in toymin (line 35)
[x,fval,INFO,output,lambda,states] = snsolve( @toyObj, x0, A, b, Aeq, beq, lb, ub, ...
Error in runNPexamples (line 20)
[x,F,info] = toymin;
In testing Snopt 3.0 support in YALMIP, I noticed it crashes on a silly QP without any constraints, called via general nonlinear snopt.
Code to reproduce