MATLAB: Is it possible to use a lookup table for optimization

look up tableoptimization

I am doing an optimization and need to include a look up table as constraint. A variable is another's lookup table value. Is there a way I can do that?

Best Answer

Beyond what the others posted: the additional bit of information you need is https://www.mathworks.com/help/matlab/math/parameterizing-functions.html
Related Question