Dynamic Optimization in MATLAB and Python

  Рет қаралды 19,844

APMonitor.com

APMonitor.com

Күн бұрын

Пікірлер: 19
@sakshisinhal8152
@sakshisinhal8152 4 жыл бұрын
Why do we get the value of state variable and total variable in the end as 200 and 198?
@apm
@apm 4 жыл бұрын
I get values less than 1. Here is the source code to check your work: apmonitor.com/do/index.php/Main/DynamicOptimizationBenchmarks
@40NoNameFound-100-years-ago
@40NoNameFound-100-years-ago Жыл бұрын
Hello, thanks for such a great video. I have a question regarding the CSV file. Why do we have to create that file? I mean in Matlab If we use fmincon and ode45, we will solve the optimization problem and use the 'stairs' function to generate the control signal
@apm
@apm Жыл бұрын
Using fmincon and an ode integrator such as ode45 is a shooting (sequential) method. This is a simultaneous optimization method. Try Gekko for the latest version of the package: apmonitor.com/wiki/index.php/Main/GekkoPythonOptimization
@mellorf
@mellorf 3 жыл бұрын
Great contribution! How can I install the optimization server in my local computer?
@apm
@apm 3 жыл бұрын
It is available for Windows or Linux: apmonitor.com/wiki/index.php/Main/APMonitorServer
@apm
@apm 3 жыл бұрын
Alternatively, use Python Gekko and set remote=False
@itzipitzitzi
@itzipitzitzi 7 жыл бұрын
When you speak about dynamic optimization, you are referring to Model predictive control as you talk in other videos? How is this related to optimal control?
@apm
@apm 7 жыл бұрын
Dynamic optimization is more general than MPC. MPC typically involves a receding horizon and is typically with linear models in industrial practice. I use the term Dynamic Optimization to differentiate that we are solving an optimization problem with a dynamic model but there are no restrictions for linearity, MV or CV tuning (both are allowed), open-loop stable systems, or continuous processes. Dynamic optimization can also be used to describe the data reconciliation problem where model predictions are aligned to measured values. The Dynamic Optimization course is hosted here: apmonitor.com/do We just started a new session (Jan-Apr 2018) if you are interested in joining.
@al_yafeai6125
@al_yafeai6125 5 жыл бұрын
Can we solve it in MATLAB only? like use ode45 and fmincon
@apm
@apm 5 жыл бұрын
Yes, you can use shooting methods but they are much less efficient and often don't find a solution to large or complex problems. More information is at apmonitor.com/do on how to solve these problems with Python Gekko, APM MATLAB, and some simple examples with fmincon and solvers such as ode45. The problem with shooting methods (fmincon + ode45) is that you end up converging the system equations multiple times (wasted effort) instead of only once at the solution.
@akshaysunil2852
@akshaysunil2852 4 жыл бұрын
How to do this for a reservoir optimization model
@apm
@apm 4 жыл бұрын
Here is a review of reservoir optimization techniques: Udy, J., Hansen, B., Maddux, S., Peterson, D., Heilner, S., Stevens, K., Lignell, D., Hedengren, J.D., Review of Field Development Optimization of Waterflooding, EOR, and Well Placement Focusing on History Matching and Optimization Algorithms, Processes, 5(3), 34, 2017, doi:10.3390/pr5030034. www.mdpi.com/2227-9717/5/3/34
@virajgir7613
@virajgir7613 3 жыл бұрын
Can you suggest how to do with PSO in matlab and python?
@apm
@apm 3 жыл бұрын
I don't have any content on that but here is something on simulated annealing that may help: apmonitor.com/me575/index.php/Main/SimAnnealHW
@amardeepmishra5547
@amardeepmishra5547 8 жыл бұрын
can I do the same in linux?
@rrc
@rrc 8 жыл бұрын
yes, can run on Linux, MacOS, Windows, etc. It will run any platform that can run Python, Matlab, or Julia.
@amardeepmishra5547
@amardeepmishra5547 8 жыл бұрын
+John Hedengren thanks a lot John, it solves a lot of problem!
Dynamic Optimization with IPOPT Solver
14:14
APMonitor.com
Рет қаралды 15 М.
Dynamic Programming Toolbox for MATLAB and Python
14:13
APMonitor.com
Рет қаралды 13 М.
#behindthescenes @CrissaJackson
0:11
Happy Kelli
Рет қаралды 27 МЛН
Ful Video ☝🏻☝🏻☝🏻
1:01
Arkeolog
Рет қаралды 14 МЛН
Bryson Singular Optimal Control Problem
16:31
APMonitor.com
Рет қаралды 6 М.
Dynamic Optimization Modeling in CasADi
58:50
APMonitor.com
Рет қаралды 10 М.
Constrained Optimization: Intuition behind the Lagrangian
10:49
What Is Mathematical Optimization?
11:35
Visually Explained
Рет қаралды 144 М.
Comparing MATLAB and Python for Optimization
16:33
APMonitor.com
Рет қаралды 17 М.
Inside the V3 Nazi Super Gun
19:52
Blue Paw Print
Рет қаралды 2,6 МЛН
Optimal Control Solved with Excel and Python GEKKO
19:26
APMonitor.com
Рет қаралды 4,9 М.
#behindthescenes @CrissaJackson
0:11
Happy Kelli
Рет қаралды 27 МЛН