question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Maximum iterations in solve() method using max_iter parameter

See original GitHub issue

Hi @fwitte, Is max_iter statically fixed at 50 and any value above 50 in nw.solve(max_iter=num) ignored if num > 50?

Regards, Govind

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
fwittecommented, Oct 2, 2022

@govind-menon110: I will close this for the time being, if you still need help please feel free to comment or open a discussion 😃

0reactions
fwittecommented, Jul 14, 2021

Well, my guess is that there are some specifications regarding design/offdesign parameters, that do not work well/as intended. The algorithm should really be able to find the solution within less than 10 to 20 iterations. Good luck on finding the issue 😃.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Set Optimization Options - MATLAB & Simulink - MathWorks
You can specify optimization parameters using an options structure that you create using the optimset ... MaxIter. The maximum number of iterations allowed....
Read more >
What does the "maxiters" solver option do? - Julia Discourse
I've gotten the associated error for parameter estimation using the Optim optimizer: ┌ Warning: Interrupted. Larger maxiters is needed.
Read more >
simplex maximum iteration limit - IBM
API Parameter Name Name prior to V12.6.0 C CPXPARAM_Simplex_Limits_Iterations CPX_PARAM_ITLIM C++ IloCplex::Param::Simplex::Limits::Iterations ItLim (long) Java IloCplex.Param.Simplex.Limits.Iterations ItLim (long)
Read more >
scipy.optimize.show_options — SciPy v0.13.0 Reference Guide
Print status to stdout on every iteration. maxiter : int, optional. Maximum number of iterations to make. If more are needed to meet...
Read more >
statsmodels.discrete.discrete_model.Logit.fit
The maximum number of iterations to perform. Set to True to have all available output in the Results object's mle_retvals attribute. The output...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found