Skip to content
New issue

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

Printing full_output fails #17

Open
mzagorowska opened this issue Aug 30, 2023 · 0 comments
Open

Printing full_output fails #17

mzagorowska opened this issue Aug 30, 2023 · 0 comments

Comments

@mzagorowska
Copy link

This works:

obj(x) = x'*[2 1;1 4]*x + x'*[1;4] + 7;
p = DSProblem(2; objective=obj, initial_point=[1.0,2.0]);
SetGranularity(p, Dict( 1 => 0.1, 2 => 0.2 ))
Optimize!(p)

I want to see how the optimization is going by adding full_output. This doesn't work:

obj(x) = x'*[2 1;1 4]*x + x'*[1;4] + 7;
p = DSProblem(2; objective=obj, initial_point=[1.0,2.0],full_output=true);
SetGranularity(p, Dict( 1 => 0.1, 2 => 0.2 ))
Optimize!(p)

I get:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant