APMonitor / apm_matlab

APMonitor Optimization Suite in MATLAB
http://apmonitor.com/wiki/index.php/Main/MATLAB
Other
32 stars 20 forks source link

Complex Numbers #1

Open Bilal092 opened 6 years ago

Bilal092 commented 6 years ago

I was to solve the control problem, which involves complex number, how can I input complex number in apmMonitor

APMonitor commented 6 years ago

APM MATLAB probably isn't the right solution if you need to solve an optimization problem with complex numbers. The MATLAB solver fmincon may be able to handle complex numbers: https://www.mathworks.com/matlabcentral/answers/265883-fmincon-optimization-for-complex-vectors There may also be clever ways to divide variables into two parts and solve a complex numbered system with real values only.