BFGS
Implementation of Broyden, Fletcher, Goldfarb and Shanno's (BFGS) quasi Newton's method in c++.
Install / Use
/learn @gcjyzdd/BFGSREADME
BFGS
Implementation of Broyden, Fletcher, Goldfarb and Shanno's (BFGS) quasi Newton's method in c++.
Installation
git clone git@github.com:gcjyzdd/BFGS.git
cd BFGS
chmod +x test.sh
./test.sh
Examples
In the main.cpp, there is an example of applying BFGS to solve model predictive control.
To run the example, type
./bin/mpc_test
The result of MPC is shown below:
<div style="text-align:center"><img src ='./images/demo_mpc.png' /></div>It takes 4.87416ms to solve MPC per run on my PC.
Dependencies
Eigen-3.3 or later.
TODO
Show a demo of comparison with the matlab example Swing-up Control of a Pendulum Using Nonlinear Model Predictive Control.
Related Skills
node-connect
345.9kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
106.4kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
345.9kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
345.9kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
