snopt / snopt-matlab

Matlab interface for sparse nonlinear optimizer SNOPT
MIT License
56 stars 23 forks source link

Fix Jacobian concatenation bug #14

Closed sh-cau closed 4 years ago

sh-cau commented 4 years ago

In the local function snfun in snsolve, the gradient outputs of the fmincon function handles were concatenated in a wrong way. I therefore renamed some variables to make the differences more explicit and fixed the concatenation bug. As this is my first pull-request ever, please have mercy on me if this is not the appropriate way to do this.