NLPDifferentiatorStatus#

class NLPDifferentiatorStatus(LICQ=None, SC=None, residuals=None, lse_solved=False, full_rank=None, sym_KKT=False, reduced_nlp=False)[source]#

Bases: object

Status of the NLPDifferentiator.

Parameters:
  • LICQ (Optional[bool]) –

  • SC (Optional[bool]) –

  • residuals (Optional[ndarray]) –

  • lse_solved (bool) –

  • full_rank (Optional[bool]) –

  • sym_KKT (bool) –

  • reduced_nlp (bool) –

Methods#

Attributes#

LICQ#

NLPDifferentiatorStatus.LICQ: Optional[bool] = None#

Linear independence constraint qualification. Status is only updated if check_LICQ is set to True. The value is None if condition is not checked.

SC#

NLPDifferentiatorStatus.SC: Optional[bool] = None#

Strict complementarity. Status is only updated if check_SC is set to True. The value is None if condition is not checked.

full_rank#

NLPDifferentiatorStatus.full_rank: Optional[bool] = None#

Status of the rank of the KKT matrix. True if the matrix has full rank. Status is only updated if check_rank is set to True. The value is None if condition is not checked.

lse_solved#

NLPDifferentiatorStatus.lse_solved: bool = False#

Status of the linear system of equations. True if the system is solved successfully. The value is None if condition is not checked.

reduced_nlp#

NLPDifferentiatorStatus.reduced_nlp: bool = False#

Status of preparing the reduced NLP. True if the NLP has been prepared.

residuals#

NLPDifferentiatorStatus.residuals: Optional[ndarray] = None#

Residuals of the KKT system. Status is only updated if track_residuals is set to True. The value is None if condition is not checked.

sym_KKT#

NLPDifferentiatorStatus.sym_KKT: bool = False#

Status of preparing the symbolic KKT matrix. True if the matrix has been prepared.