You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to use NelderMeadSimplex.FindMinimum() on a set of variables that are bounded.
I can't find this option anywhere in the API documentation.
My example is as follows:
var simplex = new NelderMeadSimplex(1e-4, 50);
var initialGuess = DenseVector.OfArray(new double[] { 0, 0 });
var f = ObjectiveFunction.Value(v => myFunction(v[0], v[1]));
// Problem: Currently my variables v[0] and v[1] are unbounded, but should be within [0, 1]
simplex.FindMinimum(f, initialGuess);
This discussion was converted from issue #732 on July 24, 2021 07:53.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
I want to use
NelderMeadSimplex.FindMinimum()
on a set of variables that are bounded.I can't find this option anywhere in the API documentation.
My example is as follows:
Any help would be appreciated.
Beta Was this translation helpful? Give feedback.
All reactions