We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MWE:
function matyas_snopt(x) f = 0.26 * (x[1]^2 + x[2]^2) - 0.48 * x[1] * x[2] c = [] fail = false return f, c, fail end x0 = [5;7] lb = [-10.0; -10.0] ub = [10.0; 10.0] options = [] xopt, fopt, info = snopt(matyas_snopt, x0, lb, ub, options)
Returns ([5, 7], 4.661778256194974e-9, “Finished successfully: optimality conditions satisfied”) when it should return [0.0, 0.0]
([5, 7], 4.661778256194974e-9, “Finished successfully: optimality conditions satisfied”)
[0.0, 0.0]
The text was updated successfully, but these errors were encountered:
18a98a9
No branches or pull requests
MWE:
Returns
([5, 7], 4.661778256194974e-9, “Finished successfully: optimality conditions satisfied”)
when it should return[0.0, 0.0]
The text was updated successfully, but these errors were encountered: