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

lower/upper bound does not really work #35

Closed
jherekhealy opened this issue May 25, 2023 · 1 comment
Closed

lower/upper bound does not really work #35

jherekhealy opened this issue May 25, 2023 · 1 comment

Comments

@jherekhealy
Copy link

optimize(rosenbrock, [0.0,0.0], LevenbergMarquardt(), autodiff=:forward,upper = fill(0.75, length(x0)))

Results of Optimization Algorithm

  • Algorithm: LevenbergMarquardt
  • Minimizer: [0.75,0.75]
  • Sum of squares at Minimum: 351.625000
  • Iterations: 39
  • Convergence: true
  • |x - x'| < 1.0e-08: false
  • |f(x) - f(x')| / |f(x)| < 1.0e-08: true
  • |g(x)| < 1.0e-08: false
  • Function Calls: 40
  • Gradient Calls: 34
  • Multiplication Calls: 117

At the initial point, the value is 1.0 and clearly lower. Granted, it may be challenging to find the proper minimum. But 0.75,0.75 is very far off.

@matthieugomez
Copy link
Owner

matthieugomez commented Sep 28, 2023

Thanks. PR #36 seems to solve this issue

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