My solver is gurobi and the latest version of yalmip is installed.
Besides, the "callgurobi.m" I have add to the param.NonConvex=2, since I first run the code a nonconvex error appears.
I am new to optimization, is it related to the non-convex optimization problem? In that case, what should I do to make this problem feasible?
Attached "main1102.m" is to run."gurobi1102.m" is the MPC controller I designed for the "testmodel.slx"
Thanks in advance for your help and time!
Hi Prof.,
Appreciate for your thorough and detailed reply!
I still have some questions on the definition of the non-convex and convex LQ problems. Specifically, how to determine if my problem is non-convex?
2) If this is not correct, how to check the non-convex value function plot against the state vector? Given that the computational time for the non-convex global optimization problem is arbitrarily long, I plan to plot the value function against the initial state vector through dynamic programming by MPT toolbox. But the dynamic programming solution (a convex one, I suppose?) could only be regarded as the approximation of the non-convex global optimization problem. Will the initial non-convexity characteristics be inherited by the dynamic programming value function?
Thanks again for your time and patience!