This study investigates model predictive control (MPC) of a multirotor drone (unmanned aerial vehicle, UAV) carrying a cable-suspended payload, comparing conventional shifted initialization with Transformer-based warm starting of a sequential convex programming (SCP) optimizer. The controller uses a coupled mechanical model with an elastic cable and a double-pendulum representation of the suspended load. Its formulation includes move-blocked control inputs, finite-difference sensitivities, constrained quadratic subproblems, and input-feasibility projection. A Transformer trained on expert SCP solutions predicts an initial control sequence, which is subsequently refined by the same optimizer used for the conventional methods. Numerical experiments compare zero, shifted, and Transformer initialization under identical controller settings. For independently solved MPC problems, Transformer initialization reduces computation time relative to zero initialization. In sequential closed-loop simulations, however, shifting the preceding optimized control sequence provides the lowest computation time, while all three methods produce similar tracking behavior. These findings emphasize the importance of comparing learned warm starts with conventional initialization methods that reuse previous MPC solutions. The measured optimization times exceed the control sampling period; consequently, real-time implementation is not demonstrated. Keywords: Model predictive control; sequential convex programming; Transformer; warm start; cable-suspended payload; multirotor drone.
Figures & tables
Figure 1: Physical system and matched receding-horizon SCP-MPC architecture. The two warm-start branches are compared separately using the same feasibility projection and SCP solver. The quadrotor is illustrated using a conceptual sketch; the two-stage suspension is schematic. The prediction model and numerical dimensions are those of the reported numerical benchmark.
Figure 2: Algorithmic flow of the matched SCP–MPC comparison. The shift and Transformer branches are alternatives, not simultaneous inputs. Zero initialization is a separate reference baseline. The projection enforces input-decision constraints, not general state-path safety.
Parameter
Value
Unit
UAV mass mQ
1.365
kg
Intermediate suspended mass mP
0.300
kg
Terminal load mass mL
0.200
kg
Cable rest length ℓc
0.25
m
Cable stiffness kc
500
N/m
Cable damping cc
3.5
N s/m
Table 1: Selected physical parameters used in the archived model.
Category
Implemented definition
Manipulated variables
Virtual collective thrust and three body moments, u=[T,τϕ,τθ,τψ]⊤ ; mapped to four rotor thrusts f
Setpoints
Hover position (0,0,0.8) m; zero attitude, swing angles, and velocities; hover cable extension ρh=0.25981 m
Feedback / measured variables
Ideal simulated full state xk∈R22 ; no explicit sensor or observer model
Controlled quantities
Position, attitude, cable/payload swing, and selected velocities in the weighted tracking residual; control effort and block changes penalized
Disturbances
No injected wind or other external disturbance in the matched benchmark ( d(t)=0 ); no measurement noise
Prediction and decisions
Ts=0.2 s; Np=6 samples (1.2 s); three two-sample blocks; z∈R12
Table 2: MPC variables and assumptions in the matched closed-loop benchmark.
Figure 3: Original schematic of receding-horizon MPC at consecutive sampling instants. The predicted output is updated using the newly available state, and only the first control sample is applied at each update. Colored intervals denote three two-sample move blocks; the displayed output and input levels are illustrative rather than recorded data. The shift–reblock operation is illustrated separately in Fig. 4 .
Figure 4: One-sample horizon shift followed by reblocking into three fixed two-sample blocks. The averaged sequence is projected onto the admissible control-decision set.
Initialization
Mean time (s)
Mean SCP iterations
Zero
5.268
3.000
Transformer (16)
4.776
2.670
Transformer (200)
4.345
2.500
Table 3: Benchmark with independently solved MPC problems: 12 held-out optimization problems. Time and SCP iterations are means per optimization.
Initialization
Mean time (s)
Mean SCP iterations
Valid
Converged
Zero
5.059
3.000
96/96
96/96
Shift
4.019
2.354
96/96
96/96
Transformer (200 labels)
4.802
2.844
96/96
95/96
Table 4: Closed-loop benchmark: 12 held-out episodes and 96 MPC updates per method. Time and SCP iterations are means per MPC update. Valid counts updates satisfying the input constraints and improving the objective; Converged counts updates satisfying the SCP stopping test.
Figure 5: Recorded quadrotor position components over the first held-out closed-loop episode. Zero, shifted, and Transformer initialization share the same initial condition, predictor, constraints, and SCP settings.
Figure 6: Recorded magnitudes of the two swing-angle pairs over the same episode, calculated as α2+β2 and α22+β22 and converted to degrees. These are angle-vector norms, not exact spatial deflection angles.
Figure 7: First held-out episode: Euclidean position difference relative to the shifted-initialization trajectory (millimetres). The nonzero curves explain why the absolute position plots overlap; they are not a measure of landing or payload safety.
Figure 8: First held-out episode: Euclidean difference of the two swing-angle magnitudes relative to the shifted-initialization trajectory (degrees). The scale is intentionally expanded and explicitly labelled.
Figure 9: Matched closed-loop benchmark episode-level mean total time per MPC update, measured as initialization inference plus projection plus SCP, excluding physical plant propagation.
Figure 10: Paired episode-level runtime difference: Transformer (200 labels) minus shift. Positive values mean that the Transformer approach was slower.
Figure 11: Episode-level mean SCP iterations under the same four-iteration limit.