How can I call an external function (executable on a high performance computing cluster) for fminsearch?
Show older comments
I would like to use fminsearch to find the minimum of a black box function that is the result of a complex simulation. The simulation is written in C++ and I have a linux HPC cluster where the function is evaluated (it takes between 2 and 25 hours to complete the simulation). Is it possible to create a wrapper function in MATLAB that calls the function with the input parameters and then returns the results when it is complete? Thank you for your help.
I have another optimization routine that works just like fminsearch (meaning that it accepts a function as one of its arguments) developed external to MathWorks that I would also like to try out to see how well it does on this optimization problem.
Accepted Answer
More Answers (0)
Categories
Find more on Problem-Based Optimization Setup in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!