Dear every one , i want to optimize a function inside the matlab . This function has many changing imput . How can i make it ready for the optimization code that i use it
When I need to solve optimization problems inside MatLab I use the Gurobi Solver with its API for MatLab. Basically I write a .lp file containing the problem, and then I call the gurobi solver to solve it.
Make the input as a single file. Call it as global variable. If you vary the input, just change the input file, the program will not necessarily be changed