Scippy

SCIP

Solving Constraint Integer Programs

SCIP_QuadExpr Struct Reference

Detailed Description

representation of an expression as quadratic

Definition at line 148 of file struct_expr.h.

#include <struct_expr.h>

Data Fields

SCIP_Real constant
 
int nlinexprs
 
SCIP_EXPR ** linexprs
 
SCIP_Reallincoefs
 
int nquadexprs
 
SCIP_QUADEXPR_QUADTERMquadexprterms
 
int nbilinexprterms
 
SCIP_QUADEXPR_BILINTERMbilinexprterms
 
SCIP_Bool allexprsarevars
 
SCIP_EXPRCURV curvature
 
SCIP_Bool curvaturechecked
 
SCIP_Bool eigeninfostored
 
SCIP_Realeigenvalues
 
SCIP_Realeigenvectors
 

Field Documentation

◆ constant

SCIP_Real SCIP_QuadExpr::constant

a constant term

Definition at line 150 of file struct_expr.h.

Referenced by SCIPexprGetQuadraticData().

◆ nlinexprs

int SCIP_QuadExpr::nlinexprs

number of linear terms

Definition at line 152 of file struct_expr.h.

Referenced by SCIPexprFreeQuadratic(), and SCIPexprGetQuadraticData().

◆ linexprs

SCIP_EXPR** SCIP_QuadExpr::linexprs

expressions of linear terms

Definition at line 153 of file struct_expr.h.

Referenced by SCIPexprFreeQuadratic(), and SCIPexprGetQuadraticData().

◆ lincoefs

SCIP_Real* SCIP_QuadExpr::lincoefs

coefficients of linear terms

Definition at line 154 of file struct_expr.h.

Referenced by SCIPexprFreeQuadratic(), and SCIPexprGetQuadraticData().

◆ nquadexprs

int SCIP_QuadExpr::nquadexprs

number of expressions in quadratic terms

Definition at line 156 of file struct_expr.h.

Referenced by quadDetectGetQuadexprterm(), SCIPexprComputeQuadraticCurvature(), SCIPexprFreeQuadratic(), and SCIPexprGetQuadraticData().

◆ quadexprterms

SCIP_QUADEXPR_QUADTERM* SCIP_QuadExpr::quadexprterms

◆ nbilinexprterms

int SCIP_QuadExpr::nbilinexprterms

number of bilinear expressions terms

Definition at line 159 of file struct_expr.h.

Referenced by SCIPexprComputeQuadraticCurvature(), SCIPexprFreeQuadratic(), and SCIPexprGetQuadraticData().

◆ bilinexprterms

SCIP_QUADEXPR_BILINTERM* SCIP_QuadExpr::bilinexprterms

bilinear expression terms array

Definition at line 160 of file struct_expr.h.

Referenced by SCIPexprCheckQuadratic(), SCIPexprComputeQuadraticCurvature(), SCIPexprFreeQuadratic(), and SCIPexprGetQuadraticBilinTerm().

◆ allexprsarevars

SCIP_Bool SCIP_QuadExpr::allexprsarevars

whether all arguments (linexprs, quadexprterms[.].expr) are variable expressions

Definition at line 162 of file struct_expr.h.

Referenced by SCIPexprAreQuadraticExprsVariables(), and SCIPexprCheckQuadratic().

◆ curvature

SCIP_EXPRCURV SCIP_QuadExpr::curvature

curvature of the quadratic representation of the expression

Definition at line 164 of file struct_expr.h.

Referenced by SCIPexprComputeQuadraticCurvature().

◆ curvaturechecked

SCIP_Bool SCIP_QuadExpr::curvaturechecked

whether curvature has been checked

Definition at line 165 of file struct_expr.h.

Referenced by SCIPexprComputeQuadraticCurvature().

◆ eigeninfostored

SCIP_Bool SCIP_QuadExpr::eigeninfostored

whether the eigen information is stored

Definition at line 168 of file struct_expr.h.

Referenced by SCIPexprComputeQuadraticCurvature().

◆ eigenvalues

SCIP_Real* SCIP_QuadExpr::eigenvalues

eigenvalues of the Q matrix: size of nquadexprs

Definition at line 169 of file struct_expr.h.

Referenced by SCIPexprComputeQuadraticCurvature(), SCIPexprFreeQuadratic(), and SCIPexprGetQuadraticData().

◆ eigenvectors

SCIP_Real* SCIP_QuadExpr::eigenvectors

eigenvalues of the Q matrix: size of nquadexprs^2

Definition at line 170 of file struct_expr.h.

Referenced by SCIPexprComputeQuadraticCurvature(), SCIPexprFreeQuadratic(), and SCIPexprGetQuadraticData().