A scalar optimizer receives bracket=(0,1). Must its result stay between zero and one?
MathematicsLevel: IntermediateScalar optimization
A scalar optimizer receives bracket=(0,1). Must its result stay between zero and one?
Hints
- Bracket and bounds differ.
- Read the method's constraint semantics.
Answer
No. A two-point bracket seeds a downhill search; it is not a hard bound. Use a bounded method with finite bounds for constraints.
Source and licence: SciPy — scalar and multivariate minimization · BSD-3-Clause · answer: Quantoros editorial