Skip to content

Commit

Permalink
Line wrapping.
Browse files Browse the repository at this point in the history
  • Loading branch information
moorepants committed Jan 31, 2025
1 parent 1e9e921 commit b160967
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions opty/direct_collocation.py
Original file line number Diff line number Diff line change
Expand Up @@ -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, )`
Expand Down

0 comments on commit b160967

Please sign in to comment.