I have problem with optimoptions

6 views (last 30 days)
When I use optimoptions with any solver name, I get the following error message:
Error using optimoptions (line 124)
Invalid default value for property 'OptionsStore' in class 'optim.options.Fmincon':
Not enough input arguments.
Looks like it does not recognize any solver. Do you know how to fix this? Thank you!

Accepted Answer

Alan Weiss
Alan Weiss on 11 Dec 2017
It is possible that you need to reinstall Optimization Toolbox. Or perhaps the following less drastic alternative will suffice:
clear all
rehash toolboxcache
Alan Weiss
MATLAB mathematical toolbox documentation
  1 Comment
Simone Polimeni
Simone Polimeni on 11 Dec 2017
Dear Alan,
I've tried both and nothing changed. I will try to unistall and reinstall my Matlab package.
Thanks anyway for your help!

Sign in to comment.

More Answers (0)

Products

Community Treasure Hunt

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

Start Hunting!