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

Better initial guesses in ExampleDsl.NlpMonad #74

Open
aavogt opened this issue May 5, 2015 · 2 comments
Open

Better initial guesses in ExampleDsl.NlpMonad #74

aavogt opened this issue May 5, 2015 · 2 comments

Comments

@aavogt
Copy link

aavogt commented May 5, 2015

http://code.haskell.org/~aavogt/ipopt-hs/examples/WilliamsOtto_casadi.hs needs one variable (T) specified as an initial guess to avoid making NaNs.

A saner guess could come from looking at the constraints 5.8 < T < 6.8. Both williamsOtto.ampl and WilliamsOtto.hs there solve the problem without an explicit initial guess.

@ghorn
Copy link
Owner

ghorn commented May 5, 2015

I don't quite understand the suggestion. Are you suggesting that the example DSL should take initial guesses from looking at the bounds?

@aavogt
Copy link
Author

aavogt commented May 5, 2015

exactly: if you don't specify an initial guess I think the initial guess actually used should satisfy the bounds

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

2 participants