MPC weight tuning
● Liveautotunempc.com
Optuna closed-loop weight tuning for Q, R, Rd, and Qf. The study reports overshoot and settling time and is an alternative to manual PID or hand-tuned MPC. The reply is a job id and, when enforcement is on, a job token for the later poll.
- Price
- $1.5
- Asked in its payment challenge
- Chain
- Base
- Paid in
- USDC
- Live
- 1 of 1 check
Endpoints
$1.50 asked in its payment challenge on 20 Nov 2026
curl -i -X POST 'https://api.autotunempc.com/v1/autotune' \
-H 'Content-Type: application/json' \
-d '{"kpi":{"timeout_seconds":30,"max_optuna_trials":8,"slew_penalty_weight":0.01,"settling_time_weight":1,"control_effort_weight":0.01,"target_max_overshoot_pct":20},"system":{"N":8,"kind":"nonlinear","name":"double_integrator","parameters":{"dt":0.1}},"scenario":{"x0":[0,0],"n_steps":20,"step_reference":[1,0]}}'2 more endpoints · on x402 Bazaar
Checks and payment terms on this page refer to the first endpoint's example. Other endpoints have not been checked individually.
Base URLhttps:
- POST/solve$0.02A constrained nonlinear MPC step for robotics, energy storage, and process control. CasADi builds the program and IPOPT returns u0 plus the predicted trajectory and solver status. A session_id keeps the warm start for that closed loop.
Example
curl -i -X POST 'https://api.autotunempc.com/v1/solve' \ -H 'Content-Type: application/json' \ -d '{"Q":[[1,0],[0,1]],"R":[[0.1]],"Qf":[[1,0],[0,1]],"Rd":[[0.1]],"x0":[0,0],"x_ref":[1,0],"system":{"N":8,"kind":"nonlinear","name":"double_integrator","parameters":{"dt":0.1}}}' - POST/templates
/autotune$2.00Call this when the plant is differential_drive, battery_peak_shaving, or root_zone_irrigation and Optuna should tune that registered template. Send name and max_trials. The reply returns the tuned weights for that template. Send header X-API-Key from the $29 pack, or pay the HTTP 402 x402 challenge. A template run spends 2 autotune credits. Example
curl -i -X POST 'https://api.autotunempc.com/v1/templates/autotune' \ -H 'Content-Type: application/json' \ -d '{"name":"battery_peak_shaving","max_trials":2}'
A dash means the listing gives no price or method. {Braces} mark a value you fill in. Copy buttons copy an example URL.
Agents can find it through the Superstables MCP server and JSON API: GET /api/v1/services/api.autotunempc.com
Recent checks
- Median response
- 55 ms
- Last checked
- 20 Nov, 06:29 UTC
Our probes look for a payment challenge. They don't test payment or delivery.
All 1 checks
| When (UTC) | Result | HTTP | Response |
|---|---|---|---|
| 20 Nov, 06:29 UTC | Live | 402 | 55ms |
Questions
Did our last probe detect a payment challenge?
At our last probe on 20 Nov, 06:29 UTC, it returned HTTP 402 or another detected payment-challenge signal.
What payment terms does api.autotunempc.com advertise?
The listing advertises x402, Base and USDC. It names cdp as its facilitator. Check the seller's current payment challenge and authentication requirements before paying.
Something wrong on this page? Tell us.