Matlab not recognize optimproblem and optimvar in Optimization problem
19 views (last 30 days)
Show older comments
Hello all. I am writing an optimization problem using Matlab. However, when I run the code, it says undefined function or variable 'optimproblem'and 'optvar'. I thought this function is already set up in Matlab. What do I need to do to for Matlab to recognize these?
Thank you so much for your help!!!
1 Comment
Answers (1)
Alan Weiss
on 6 Aug 2018
optimproblem and optimvar were introduced in R2017b. If you have an earlier version of MATLAB, these functions are not available.
Alan Weiss
MATLAB mathematical toolbox documentation
0 Comments
See Also
Categories
Find more on Linear Programming and Mixed-Integer Linear Programming in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!