Skip to content

gcjyzdd/Solve-MPC-with-BFGS-Matlab

Repository files navigation

Solve MPC with BFGS Matlab

Examples

Run main.m to solve model predictive control using bfgs and you get the result as the following:

Real time performance

Run bfgs_script to generate C code and a mexed version bfgs.

Before code generation:

Average time consumption is: 0.061

After code generation:

Average time consumption is: 0.007

About

Solve model predictive control using BFGS method

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages