snopt / snopt-matlab

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

output "states" equal to lagrange multipliers in snsolve v3.0 #16

Open sh-cau opened 4 years ago

sh-cau commented 4 years ago

If I understood correctly, the states output from snsolve should reflect whether a certain variable nonbasic at lower (state=0) or upper bound (state=1) or superbasic (state=2) or basic (state=3). I observed that the values for states.eqlin, states.eqnonlin, states.ineqlin are the same as the corresponding lagrange multipliers when they should be integers? The values states.x, states.ineqnonlin seem to be correct, though.