proxsuite-nlp  0.10.0
A primal-dual augmented Lagrangian-type solver for nonlinear programming on manifolds.
Loading...
Searching...
No Matches
proxsuite_nlp.casadi_utils.CasadiFunction Class Reference
Inheritance diagram for proxsuite_nlp.casadi_utils.CasadiFunction:
[legend]
Collaboration diagram for proxsuite_nlp.casadi_utils.CasadiFunction:
[legend]

Public Member Functions

 __init__ (self, int nx, int ndx, casadi.SX expression, casadi.SX cx, bool use_hessian=True)
 
 __call__ (self, x)
 
 computeJacobian (self, x, J)
 
 vectorHessianProduct (self, x, v, H)
 

Public Attributes

 clam
 
 expr
 
 Jexpr
 
 use_hessian
 
 Hexpr
 
 fun
 
 Jfun
 
 Hfun
 

Protected Attributes

 _zero
 

Detailed Description

Definition at line 10 of file casadi_utils.py.

Constructor & Destructor Documentation

◆ __init__()

proxsuite_nlp.casadi_utils.CasadiFunction.__init__ ( self,
int nx,
int ndx,
casadi.SX expression,
casadi.SX cx,
bool use_hessian = True )

Definition at line 11 of file casadi_utils.py.

Member Function Documentation

◆ __call__()

proxsuite_nlp.casadi_utils.CasadiFunction.__call__ ( self,
x )

Definition at line 39 of file casadi_utils.py.

◆ computeJacobian()

proxsuite_nlp.casadi_utils.CasadiFunction.computeJacobian ( self,
x,
J )

Definition at line 42 of file casadi_utils.py.

◆ vectorHessianProduct()

proxsuite_nlp.casadi_utils.CasadiFunction.vectorHessianProduct ( self,
x,
v,
H )

Definition at line 45 of file casadi_utils.py.

Member Data Documentation

◆ clam

proxsuite_nlp.casadi_utils.CasadiFunction.clam

Definition at line 25 of file casadi_utils.py.

◆ expr

proxsuite_nlp.casadi_utils.CasadiFunction.expr

Definition at line 26 of file casadi_utils.py.

◆ Jexpr

proxsuite_nlp.casadi_utils.CasadiFunction.Jexpr

Definition at line 27 of file casadi_utils.py.

◆ use_hessian

proxsuite_nlp.casadi_utils.CasadiFunction.use_hessian

Definition at line 28 of file casadi_utils.py.

◆ Hexpr

proxsuite_nlp.casadi_utils.CasadiFunction.Hexpr

Definition at line 30 of file casadi_utils.py.

◆ fun

proxsuite_nlp.casadi_utils.CasadiFunction.fun

Definition at line 34 of file casadi_utils.py.

◆ Jfun

proxsuite_nlp.casadi_utils.CasadiFunction.Jfun

Definition at line 35 of file casadi_utils.py.

◆ Hfun

proxsuite_nlp.casadi_utils.CasadiFunction.Hfun

Definition at line 36 of file casadi_utils.py.

◆ _zero

proxsuite_nlp.casadi_utils.CasadiFunction._zero
protected

Definition at line 37 of file casadi_utils.py.


The documentation for this class was generated from the following file: