A constrained nonlinear MPC step for robotics, energy storage, and process contr
A 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.
Answeringour last check, 2026-11-26
7 of 7checks answered this week
618 msmedian answer time
$0.02listed price per call
$0.02price it asked us
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
POST https://api.autotunempc.com/v1/solve
| Category | Everything else |
|---|---|
| Provider host | api.autotunempc.com |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 2 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-11-26 | valid payment request | 402 | $0.02 | 612 ms |
| 2026-11-25 | valid payment request | 402 | $0.02 | 604 ms |
| 2026-11-24 | valid payment request | 402 | $0.02 | 610 ms |
| 2026-11-23 | valid payment request | 402 | $0.02 | 626 ms |
| 2026-11-22 | valid payment request | 402 | $0.02 | 641 ms |
| 2026-11-21 | valid payment request | 402 | $0.02 | 644 ms |
| 2026-11-20 | valid payment request | 402 | $0.02 | 618 ms |
Example input (from the provider)
{
"body": {
"Q": [
[
1,
0
],
[
0,
1
]
],
"Qf": [
[
1,
0
],
[
0,
1
]
],
"R": [
[
0.1
]
],
"Rd": [
[
0.1
]
],
"system": {
"N": 8,
"kind": "nonlinear",
"name": "double_integrator",
"parameters": {
"dt": 0.1
}
},
"x0": [
0,
0
],
"x_ref": [
1,
0
]
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"description": "Plant, horizon, state, reference, and stage weights for one MPC solve.",
"properties": {
"Q": {
"type": "array"
},
"Qf": {
"type": "array"
},
"R": {
"type": "array"
},
"Rd": {
"type": "array"
},
"session_id": {
"type": "string"
},
"system": {
"type": "object"
},
"x0": {
"type": "array"
},
"x_ref": {
"type": "array"
}
},
"required": [
"system",
"x0",
"x_ref",
"Q",
"R",
"Rd",
"Qf"
],
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"description": "First input, predicted trajectories, and IPOPT status.",
"properties": {
"solve_time_ms": {
"type": "number"
},
"status": {
"type": "string"
},
"success": {
"type": "boolean"
},
"u0": {
"type": "array"
}
},
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}