Detailed Description
Definition at line 63 of file nlpioracle.c.
Data Fields | |
| char * | name |
| int | varssize |
| int | nvars |
| SCIP_Real * | varlbs |
| SCIP_Real * | varubs |
| char ** | varnames |
| int * | varlincount |
| int * | varnlcount |
| int | consssize |
| int | nconss |
| SCIP_NLPIORACLECONS ** | conss |
| SCIP_NLPIORACLECONS * | objective |
| int | njacnlnz |
| int * | jacrowoffsets |
| int * | jaccols |
| SCIP_Bool * | jaccolnlflags |
| int * | jaccoloffsets |
| int * | jacrows |
| SCIP_Bool * | jacrownlflags |
| int * | objgradnz |
| SCIP_Bool * | objnlflags |
| int | nobjgradnz |
| int | nobjgradnlnz |
| int * | heslagoffsets |
| int * | heslagnzs |
| SCIP_Bool | hescolwise |
| SCIP_EXPRINT * | exprinterpreter |
| SCIP_CLOCK * | evalclock |
Field Documentation
◆ name
| char* SCIP_NlpiOracle::name |
name of problem
Definition at line 65 of file nlpioracle.c.
Referenced by SCIPnlpiOracleGetProblemName(), SCIPnlpiOraclePrintProblem(), SCIPnlpiOraclePrintProblemGams(), and SCIPnlpiOracleSetProblemName().
◆ varssize
| int SCIP_NlpiOracle::varssize |
length of variables related arrays
Definition at line 68 of file nlpioracle.c.
Referenced by ensureVarsSize(), freeVariables(), and SCIPnlpiOracleAddVars().
◆ nvars
| int SCIP_NlpiOracle::nvars |
number of variables
Definition at line 69 of file nlpioracle.c.
Referenced by computeRowJacobianSparsity(), evalFunctionGradient(), evalFunctionValue(), freeVariables(), hessLagSparsitySetNzFlagForExpr(), invalidateHessianLagSparsity(), invalidateJacobiSparsity(), SCIPnlpiOracleAddVars(), SCIPnlpiOracleChgLinearCoefs(), SCIPnlpiOracleChgVarBounds(), SCIPnlpiOracleDelConsSet(), SCIPnlpiOracleDelVarSet(), SCIPnlpiOracleEvalConstraintGradient(), SCIPnlpiOracleEvalConstraintValue(), SCIPnlpiOracleEvalConstraintValues(), SCIPnlpiOracleEvalHessianLag(), SCIPnlpiOracleEvalJacobian(), SCIPnlpiOracleGetHessianLagSparsity(), SCIPnlpiOracleGetJacobianColSparsity(), SCIPnlpiOracleGetJacobianRowSparsity(), SCIPnlpiOracleGetNVars(), SCIPnlpiOracleGetObjGradientNnz(), SCIPnlpiOraclePrintProblem(), and SCIPnlpiOraclePrintProblemGams().
◆ varlbs
| SCIP_Real* SCIP_NlpiOracle::varlbs |
array with variable lower bounds
Definition at line 70 of file nlpioracle.c.
Referenced by ensureVarsSize(), freeVariables(), moveVariable(), SCIPnlpiOracleAddVars(), SCIPnlpiOracleChgVarBounds(), SCIPnlpiOracleGetVarLbs(), SCIPnlpiOraclePrintProblem(), and SCIPnlpiOraclePrintProblemGams().
◆ varubs
| SCIP_Real* SCIP_NlpiOracle::varubs |
array with variable upper bounds
Definition at line 71 of file nlpioracle.c.
Referenced by ensureVarsSize(), freeVariables(), moveVariable(), SCIPnlpiOracleAddVars(), SCIPnlpiOracleChgVarBounds(), SCIPnlpiOracleGetVarUbs(), SCIPnlpiOraclePrintProblem(), and SCIPnlpiOraclePrintProblemGams().
◆ varnames
| char** SCIP_NlpiOracle::varnames |
array with variable names
Definition at line 72 of file nlpioracle.c.
Referenced by ensureVarsSize(), freeVariables(), moveVariable(), printFunction(), SCIPnlpiOracleAddVars(), SCIPnlpiOracleDelVarSet(), SCIPnlpiOracleGetVarNames(), SCIPnlpiOraclePrintProblem(), and SCIPnlpiOraclePrintProblemGams().
◆ varlincount
| int* SCIP_NlpiOracle::varlincount |
array with number of appearances of variable in linear part of objective or constraints
Definition at line 73 of file nlpioracle.c.
Referenced by ensureVarsSize(), freeVariables(), moveVariable(), SCIPnlpiOracleAddVars(), SCIPnlpiOracleChgLinearCoefs(), SCIPnlpiOracleDelConsSet(), SCIPnlpiOracleGetVarCounts(), SCIPnlpiOraclePrintProblem(), and updateVariableCounts().
◆ varnlcount
| int* SCIP_NlpiOracle::varnlcount |
array with number of appearances of variable in nonlinear part of objective or constraints
Definition at line 74 of file nlpioracle.c.
Referenced by ensureVarsSize(), freeVariables(), moveVariable(), SCIPnlpiOracleAddVars(), SCIPnlpiOracleDelConsSet(), SCIPnlpiOracleGetVarCounts(), SCIPnlpiOracleIsVarNonlinear(), SCIPnlpiOraclePrintProblem(), and updateVariableCounts().
◆ consssize
| int SCIP_NlpiOracle::consssize |
length of constraints related arrays
Definition at line 77 of file nlpioracle.c.
Referenced by ensureConssSize(), and freeConstraints().
◆ nconss
| int SCIP_NlpiOracle::nconss |
number of constraints
Definition at line 78 of file nlpioracle.c.
Referenced by computeRowJacobianSparsity(), freeConstraints(), invalidateJacobiSparsity(), SCIPnlpiOracleAddConstraints(), SCIPnlpiOracleChgConsSides(), SCIPnlpiOracleDelConsSet(), SCIPnlpiOracleDelVarSet(), SCIPnlpiOracleEvalConstraintValues(), SCIPnlpiOracleEvalHessianLag(), SCIPnlpiOracleEvalJacobian(), SCIPnlpiOracleGetEvalCapability(), SCIPnlpiOracleGetHessianLagSparsity(), SCIPnlpiOracleGetJacobianColSparsity(), SCIPnlpiOracleGetJacobianRowSparsity(), SCIPnlpiOracleGetNConstraints(), SCIPnlpiOraclePrintProblem(), and SCIPnlpiOraclePrintProblemGams().
◆ conss
| SCIP_NLPIORACLECONS** SCIP_NlpiOracle::conss |
constraints, or NULL if none
Definition at line 79 of file nlpioracle.c.
Referenced by computeRowJacobianSparsity(), ensureConssSize(), freeConstraints(), SCIPnlpiOracleAddConstraints(), SCIPnlpiOracleChgConsSides(), SCIPnlpiOracleChgExpr(), SCIPnlpiOracleChgLinearCoefs(), SCIPnlpiOracleDelConsSet(), SCIPnlpiOracleDelVarSet(), SCIPnlpiOracleEvalConstraintGradient(), SCIPnlpiOracleEvalConstraintValue(), SCIPnlpiOracleEvalConstraintValues(), SCIPnlpiOracleEvalHessianLag(), SCIPnlpiOracleEvalJacobian(), SCIPnlpiOracleGetConstraintLhs(), SCIPnlpiOracleGetConstraintLinearCoef(), SCIPnlpiOracleGetConstraintName(), SCIPnlpiOracleGetConstraintRhs(), SCIPnlpiOracleGetEvalCapability(), SCIPnlpiOracleGetHessianLagSparsity(), SCIPnlpiOracleIsConstraintNonlinear(), SCIPnlpiOraclePrintProblem(), and SCIPnlpiOraclePrintProblemGams().
◆ objective
| SCIP_NLPIORACLECONS* SCIP_NlpiOracle::objective |
objective
Definition at line 82 of file nlpioracle.c.
Referenced by SCIPnlpiOracleChgExpr(), SCIPnlpiOracleChgLinearCoefs(), SCIPnlpiOracleChgObjConstant(), SCIPnlpiOracleCreate(), SCIPnlpiOracleDelConsSet(), SCIPnlpiOracleDelVarSet(), SCIPnlpiOracleEvalHessianLag(), SCIPnlpiOracleEvalObjectiveGradient(), SCIPnlpiOracleEvalObjectiveValue(), SCIPnlpiOracleFree(), SCIPnlpiOracleGetConstraintLinearCoef(), SCIPnlpiOracleGetEvalCapability(), SCIPnlpiOracleGetHessianLagSparsity(), SCIPnlpiOracleGetObjectiveConstant(), SCIPnlpiOracleGetObjGradientNnz(), SCIPnlpiOracleIsConstraintNonlinear(), SCIPnlpiOraclePrintProblem(), SCIPnlpiOraclePrintProblemGams(), and SCIPnlpiOracleSetObjective().
◆ njacnlnz
| int SCIP_NlpiOracle::njacnlnz |
number of entries in the Jacobian corresponding to nonlinear terms
Definition at line 85 of file nlpioracle.c.
Referenced by computeRowJacobianSparsity(), invalidateJacobiSparsity(), SCIPnlpiOracleGetJacobianColSparsity(), and SCIPnlpiOracleGetJacobianRowSparsity().
◆ jacrowoffsets
| int* SCIP_NlpiOracle::jacrowoffsets |
rowwise jacobi sparsity pattern: constraint offsets in jaccols
Definition at line 88 of file nlpioracle.c.
Referenced by computeRowJacobianSparsity(), invalidateJacobiSparsity(), SCIPnlpiOracleEvalJacobian(), SCIPnlpiOracleGetJacobianColSparsity(), and SCIPnlpiOracleGetJacobianRowSparsity().
◆ jaccols
| int* SCIP_NlpiOracle::jaccols |
rowwise jacobi sparsity pattern: indices of variables appearing in constraints
Definition at line 89 of file nlpioracle.c.
Referenced by computeRowJacobianSparsity(), invalidateJacobiSparsity(), SCIPnlpiOracleEvalJacobian(), SCIPnlpiOracleGetJacobianColSparsity(), and SCIPnlpiOracleGetJacobianRowSparsity().
◆ jaccolnlflags
| SCIP_Bool* SCIP_NlpiOracle::jaccolnlflags |
flags indicating whether a Jacobian entry corresponds to a nonlinear variable; sorted rowwise
Definition at line 90 of file nlpioracle.c.
Referenced by computeRowJacobianSparsity(), invalidateJacobiSparsity(), SCIPnlpiOracleGetJacobianColSparsity(), and SCIPnlpiOracleGetJacobianRowSparsity().
◆ jaccoloffsets
| int* SCIP_NlpiOracle::jaccoloffsets |
columnwise jacobi sparsity pattern: variable offsets in jacrows
Definition at line 93 of file nlpioracle.c.
Referenced by invalidateJacobiSparsity(), and SCIPnlpiOracleGetJacobianColSparsity().
◆ jacrows
| int* SCIP_NlpiOracle::jacrows |
columnwise jacobi sparsity pattern: indices of constraints where corresponding variables appear
Definition at line 94 of file nlpioracle.c.
Referenced by invalidateJacobiSparsity(), and SCIPnlpiOracleGetJacobianColSparsity().
◆ jacrownlflags
| SCIP_Bool* SCIP_NlpiOracle::jacrownlflags |
flags indicating whether a Jacobian entry corresponds to a nonlinear variable; sorted column-wise
Definition at line 95 of file nlpioracle.c.
Referenced by invalidateJacobiSparsity(), and SCIPnlpiOracleGetJacobianColSparsity().
◆ objgradnz
| int* SCIP_NlpiOracle::objgradnz |
indices of nonzeroes in the objective gradient
Definition at line 98 of file nlpioracle.c.
Referenced by invalidateJacobiSparsity(), and SCIPnlpiOracleGetObjGradientNnz().
◆ objnlflags
| SCIP_Bool* SCIP_NlpiOracle::objnlflags |
flags of nonlinear nonzeroes in the objective gradient
Definition at line 99 of file nlpioracle.c.
Referenced by invalidateJacobiSparsity(), and SCIPnlpiOracleGetObjGradientNnz().
◆ nobjgradnz
| int SCIP_NlpiOracle::nobjgradnz |
number of nonzeroes in the objective gradient
Definition at line 100 of file nlpioracle.c.
Referenced by invalidateJacobiSparsity(), and SCIPnlpiOracleGetObjGradientNnz().
◆ nobjgradnlnz
| int SCIP_NlpiOracle::nobjgradnlnz |
number of nonlinear nonzeroes in the objective gradient
Definition at line 101 of file nlpioracle.c.
Referenced by invalidateJacobiSparsity(), and SCIPnlpiOracleGetObjGradientNnz().
◆ heslagoffsets
| int* SCIP_NlpiOracle::heslagoffsets |
column (if colwise==TRUE) or row offsets in heslagnzs
Definition at line 104 of file nlpioracle.c.
Referenced by invalidateHessianLagSparsity(), SCIPnlpiOracleEvalHessianLag(), and SCIPnlpiOracleGetHessianLagSparsity().
◆ heslagnzs
| int* SCIP_NlpiOracle::heslagnzs |
row (if colwise==TRUE) or column indices; sorted for each column (if colwise==TRUE) or row
Definition at line 105 of file nlpioracle.c.
Referenced by invalidateHessianLagSparsity(), SCIPnlpiOracleEvalHessianLag(), and SCIPnlpiOracleGetHessianLagSparsity().
◆ hescolwise
| SCIP_Bool SCIP_NlpiOracle::hescolwise |
indicates whether the Hessian entries are first sorted column-wise (TRUE) or row-wise
Definition at line 106 of file nlpioracle.c.
Referenced by SCIPnlpiOracleEvalHessianLag(), and SCIPnlpiOracleGetHessianLagSparsity().
◆ exprinterpreter
| SCIP_EXPRINT* SCIP_NlpiOracle::exprinterpreter |
interpreter for expressions: evaluation and derivatives
Definition at line 108 of file nlpioracle.c.
Referenced by createConstraint(), evalFunctionGradient(), evalFunctionValue(), freeConstraint(), hessLagAddExpr(), hessLagSparsitySetNzFlagForExpr(), SCIPnlpiOracleChgExpr(), SCIPnlpiOracleDelVarSet(), SCIPnlpiOracleEvalJacobian(), and SCIPnlpiOracleGetEvalCapability().
◆ evalclock
| SCIP_CLOCK* SCIP_NlpiOracle::evalclock |
clock measuring evaluation time
Definition at line 109 of file nlpioracle.c.
Referenced by SCIPnlpiOracleEvalConstraintGradient(), SCIPnlpiOracleEvalConstraintValue(), SCIPnlpiOracleEvalConstraintValues(), SCIPnlpiOracleEvalHessianLag(), SCIPnlpiOracleEvalJacobian(), SCIPnlpiOracleEvalObjectiveGradient(), SCIPnlpiOracleEvalObjectiveValue(), SCIPnlpiOracleGetEvalTime(), SCIPnlpiOracleGetHessianLagSparsity(), SCIPnlpiOracleGetJacobianColSparsity(), SCIPnlpiOracleGetJacobianRowSparsity(), SCIPnlpiOracleGetObjGradientNnz(), and SCIPnlpiOracleResetEvalTime().