Skip to main content
Share Your Experience: Take the 2024 Developer Survey

New answers tagged

14 votes
Accepted

Are penalty functions still "necessary"?

It is true that the penalty function method is quite old (Richard Courant, “Variational methods for the solution of problems of equilibrium and vibrations”, 1943), but your success with using INFINITY,...
jdgleeson's user avatar
  • 531
2 votes

stupid + stupid = brilliant in scientific computing

Gauss-Seidel solvers can be presented as Jacobi iteration solvers where one has made the "bug" of overwriting into a single vector instead of using two separate buffers as in a correct ...
Gilbert Bernstein's user avatar
6 votes
Accepted

Algorithm to find local minima of function which is unbounded from below

If the "basin of attraction" for the best local minimum occupies 1% of the volume of the bounding box, then the following strategy suffices: Repeat a few hundred times: Pick a random ...
D.W.'s user avatar
  • 477
1 vote

Why researchers use MATLAB based YALMIP or CasADi for MPC?

Yalmip and CasADi are much more flexible tools that permit translating the problem into many solvers languages.
Pol's user avatar
  • 11
0 votes

Is there existing code for solving a Lagrangian Dual problem using the subgradient method?

One example of this would be the DSP software package developed at Argonne National Labs: https://github.com/Argonne-National-Laboratory/DSP
Brian Borchers's user avatar

Top 50 recent answers are included