Scippy

SCIP

Solving Constraint Integer Programs

Detailed Description

product expression handler

Author
Stefan Vigerske
Benjamin Mueller

Definition in file expr_product.h.

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

Go to the source code of this file.

Functions

SCIP_RETCODE SCIPincludeExprhdlrProduct (SCIP *scip)
 
Product expression

This expression handler provides the product function, that is,

\[ x \mapsto c\,\prod_{i=1}^n x_i \]

for some constant coefficient c.

SCIP_RETCODE SCIPcreateExprProduct (SCIP *scip, SCIP_EXPR **expr, int nchildren, SCIP_EXPR **children, SCIP_Real coefficient, SCIP_DECL_EXPR_OWNERCREATE((*ownercreate)), void *ownercreatedata)