Scippy

SCIP

Solving Constraint Integer Programs

Detailed Description

handler for variable index expressions

Author
Benjamin Mueller

Definition in file expr_varidx.h.

#include "scip/type_scip.h"
#include "scip/type_expr.h"

Go to the source code of this file.

Functions

SCIP_RETCODE SCIPincludeExprhdlrVaridx (SCIP *scip)
 
Index variable expression

This expression handler handles a variable that is given by a variable index. It cannot have children.

This expression handler is used for expressions that are passed to a NLP solver via the NLPI.

SCIP_RETCODE SCIPcreateExprVaridx (SCIP *scip, SCIP_EXPR **expr, int varidx, SCIP_DECL_EXPR_OWNERCREATE((*ownercreate)), void *ownercreatedata)
 
SCIP_Bool SCIPisExprVaridx (SCIP *scip, SCIP_EXPR *expr)
 
int SCIPgetIndexExprVaridx (SCIP_EXPR *expr)
 
void SCIPsetIndexExprVaridx (SCIP_EXPR *expr, int newindex)