From b16096750af677e83cdc11df87ee16a075204faa Mon Sep 17 00:00:00 2001 From: "Jason K. Moore" Date: Fri, 31 Jan 2025 16:31:38 +0100 Subject: [PATCH] Line wrapping. --- opty/direct_collocation.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/opty/direct_collocation.py b/opty/direct_collocation.py index d18954b2..b776e78a 100644 --- a/opty/direct_collocation.py +++ b/opty/direct_collocation.py @@ -210,20 +210,22 @@ def solve(self, free, lagrange=[], zl=[], zu=[]): Initial guess. lagrange : array-like, shape(n*(N-1) + o, ), optional (default=[]) - Initial values for the constraint multipliers (only if warm start option is chosen). + Initial values for the constraint multipliers (only if warm start + option is chosen). zl : array-like, shape(n*N + q*N + r + s, ), optional (default=[]) - Initial values for the multipliers for lower variable bounds (only if warm start option is chosen). + Initial values for the multipliers for lower variable bounds (only + if warm start option is chosen). zu : array-like, shape(n*N + q*N + r + s, ), optional (default=[]) - Initial values for the multipliers for upper variable bounds (only if warm start option is chosen). + Initial values for the multipliers for upper variable bounds (only + if warm start option is chosen). Returns ------- x : :py:class:`numpy.ndarray`, shape `(n*N + q*N + r + s, )` Optimal solution. info: :py:class:`dict` with the following entries - ``x``: :py:class:`numpy.ndarray`, shape `(n*N + q*N + r + s, )` optimal solution ``g``: :py:class:`numpy.ndarray`, shape `(n*(N-1) + o, )`