measurement based optimization using fmincon

i am getting error while running the code . I want to minimize my objective function using fmincon. i follow the examples but i dont why i am getting the error? please help

 Accepted Answer

"fmincon" is not a stochastic, but a deterministic optimizer. You are not allowed to use random inputs for it that change every time you call the objective function.

2 Comments

Dear Torsten,
I wanted to optimize my objective function using matlab inbuilt function. can you help me in this regard?
Could you state your problem in its mathematical form ?

Sign in to comment.

More Answers (0)

Categories

Tags

Asked:

on 7 Aug 2023

Commented:

on 7 Aug 2023

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!