I have a cost function need to optimize it using meta-heuristic algorithms. But the function contains both variables and constants how can i solve it?
The problem is how to build the cost function now the cost contains variables and constants so how the output will be function of the constants