Detailed Description
An element of a quadratic term: two variable indices and a coefficient. The convention is to have idx1 <= idx2.
Definition at line 100 of file type_expr.h.
#include <type_expr.h>
Data Fields | |
int | idx1 |
int | idx2 |
SCIP_Real | coef |
Field Documentation
◆ idx1
int SCIP_QuadElement::idx1 |
index of first variable
Definition at line 102 of file type_expr.h.
Referenced by addRegularScholtes(), computeGradient(), computeInteriorPoint(), createConsFromQuadTerm(), createMIP(), createNlRow(), createTcliqueGraph(), evalFunctionGradient(), evalFunctionValue(), exprConvertToPolynomial(), exprgraphFindParentByOperator(), exprgraphNodePropagateBounds(), exprgraphPrintNodeExpression(), exprUnconvertPolynomial(), generateCut(), hessLagAddQuad(), hessLagSparsitySetNzFlagForQuad(), isCandidate(), mapIndicesQuad(), nlpSetupNlpiIndices(), nlrowAddQuadElement(), nlrowaggrCreate(), nlrowCalcActivityBounds(), nlrowChgQuadElemPos(), nlrowDelQuadElemPos(), nlrowQuadElemChanged(), nlrowRemoveFixedQuadVars(), printFunction(), printRowNl(), processNlRow(), quadraticdataSort(), readExpression(), readNonlinearExprs(), reformulate(), SCIP_DECL_CONSINITSOL(), SCIP_DECL_EXPREVAL(), SCIPaddToNlpiProblemQuadratic(), SCIPaddToNlpiProblemSOC(), SCIPcreateNlpiProb(), SCIPexprAreEqual(), SCIPexprGetMaxDegree(), SCIPexprgraphGetSeparableTrees(), SCIPexprgraphGetSumTrees(), SCIPexprgraphNodeSplitOffLinear(), SCIPexprPrint(), SCIPnlpiOracleChgQuadCoefs(), SCIPnlpiOracleGetJacobianSparsity(), SCIPnlrowChgQuadElem(), SCIPnlrowGetSolActivity(), SCIPnlrowPrint(), SCIPnlrowRecalcNLPActivity(), SCIPnlrowRecalcPseudoActivity(), searchEcAggrWithCliques(), setQuadraticObj(), storeAggrFromMIP(), updateMIP(), and updateVariableDegreesCons().
◆ idx2
int SCIP_QuadElement::idx2 |
index of second variable
Definition at line 103 of file type_expr.h.
Referenced by addRegularScholtes(), computeGradient(), computeInteriorPoint(), createConsFromQuadTerm(), createMIP(), createNlRow(), createTcliqueGraph(), eval(), evalFunctionGradient(), evalFunctionValue(), exprConvertToPolynomial(), exprgraphFindParentByOperator(), exprgraphNodePropagateBounds(), exprgraphPrintNodeExpression(), exprUnconvertPolynomial(), generateCut(), hessLagAddQuad(), hessLagSparsitySetNzFlagForQuad(), isCandidate(), mapIndicesQuad(), nlpSetupNlpiIndices(), nlrowAddQuadElement(), nlrowaggrCreate(), nlrowCalcActivityBounds(), nlrowChgQuadElemPos(), nlrowDelQuadElemPos(), nlrowQuadElemChanged(), nlrowRemoveFixedQuadVars(), printFunction(), printRowNl(), processNlRow(), quadraticdataSort(), readExpression(), readNonlinearExprs(), reformulate(), SCIP_DECL_CONSINITSOL(), SCIP_DECL_EXPREVAL(), SCIPaddToNlpiProblemQuadratic(), SCIPaddToNlpiProblemSOC(), SCIPcreateNlpiProb(), SCIPexprAreEqual(), SCIPexprGetMaxDegree(), SCIPexprgraphGetSeparableTrees(), SCIPexprgraphGetSumTrees(), SCIPexprgraphNodeSplitOffLinear(), SCIPexprPrint(), SCIPnlpiOracleChgQuadCoefs(), SCIPnlpiOracleGetJacobianSparsity(), SCIPnlrowChgQuadElem(), SCIPnlrowGetSolActivity(), SCIPnlrowPrint(), SCIPnlrowRecalcNLPActivity(), SCIPnlrowRecalcPseudoActivity(), searchEcAggrWithCliques(), setQuadraticObj(), storeAggrFromMIP(), updateMIP(), and updateVariableDegreesCons().
◆ coef
SCIP_Real SCIP_QuadElement::coef |
value of coefficient at position (idx1, idx2)
Definition at line 104 of file type_expr.h.
Referenced by addRegularScholtes(), computeGradient(), computeInteriorPoint(), createConsFromQuadTerm(), createMIP(), createNlRow(), createTcliqueGraph(), eval(), evalFunctionGradient(), evalFunctionValue(), exprConvertToPolynomial(), exprgraphFindParentByOperator(), exprgraphNodePropagateBounds(), exprgraphPrintNodeExpression(), exprUnconvertPolynomial(), generateCut(), hessLagAddQuad(), isCandidate(), nlpSetupNlpiIndices(), nlrowAddQuadElement(), nlrowaggrCreate(), nlrowCalcActivityBounds(), nlrowChgQuadElemPos(), nlrowDelQuadElemPos(), nlrowQuadElemChanged(), nlrowRemoveFixedQuadVars(), printFunction(), printRowNl(), processNlRow(), readExpression(), readNonlinearExprs(), reformulate(), SCIP_DECL_CONSINITSOL(), SCIP_DECL_EXPREVAL(), SCIP_DECL_EXPRINTEVAL(), SCIPaddQuadElementToNlRow(), SCIPaddToNlpiProblemQuadratic(), SCIPaddToNlpiProblemSOC(), SCIPcreateNlpiProb(), SCIPexprAreEqual(), SCIPexprgraphGetSeparableTrees(), SCIPexprgraphGetSumTrees(), SCIPexprMulConstant(), SCIPexprPrint(), SCIPnlpiOracleChgQuadCoefs(), SCIPnlrowChgQuadElem(), SCIPnlrowGetSolActivity(), SCIPnlrowPrint(), SCIPnlrowRecalcNLPActivity(), SCIPnlrowRecalcPseudoActivity(), SCIPquadelemSqueeze(), searchEcAggrWithCliques(), and setQuadraticObj().