Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TugboatEng on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Why trust-region-reflective algorithm in fmincon require a gradient as input in MATALAB

Status
Not open for further replies.

SM1994

Bioengineer
Joined
Mar 25, 2020
Messages
49
Location
NZ
According to Matlab fmincon documentation, the 'trust-region-reflective' algorithm needs to specify the objective gradient.
I read the algorithm explanation but yet, I cannot understand the reason for that.
1- Why does it need gradient as input?
2- Does the objective function have to be analytical? since my objective function, is function handle that calculates some matrix as output
Thanks for your help in advance
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top