Info

This question is closed. Reopen it to edit or answer.

Using fmincon kills my computer by using all the memory of the PC (24 GB) for a 20-d problem

1 view (last 30 days)
I am using fmincon for a 20-dimensional problem. My function is a costly function but definitely doesn't need so much memory to evaluate. When I am using fmincon it takes all my computer's memory (24 GB) and takes for 40 mins to provide a result. I have used both active-set and interior-point and also I have tried gradobj off and on. All are the same. Do you have any suggestion that what can I do for use of fmincon in a better way that at least doesn't kill my PC.
I am very much interested in using fmincon, but if you have other suggestions like sqplab or GA please let me know what would be the best setting parameters for those instead. Thank you

Answers (0)

This question is closed.

Tags

Products

Community Treasure Hunt

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

Start Hunting!