Introduction - If you have any usage issues, please Google them yourself
The success-fail method (that is, advance and retreat method) for solving single peak function minimum.
Function can define your own macros, the code defines a simple function to test its feasibility.