relf / slsqp

SLSQP optimizer for Rust

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Paraboloid example gives RoundoffLimited error

my1e5 opened this issue · comments

Running cargo run --example paraboloid gives

    Finished dev [unoptimized + debuginfo] target(s) in 0.13s
     Running `target\debug\examples\paraboloid.exe`
Optim error: RoundoffLimited

Is this expected?

Thanks for reporting. No it is not meant to show off like this! 😄
You can fix the example by changing the maxeval value (100 instead of 200 should work properly).
The RoundoffLimited error means the optimizer cannot make any progress (you can also get the x and the fmin value when this error occurs (Err((e, x_opt, y_opt))).