Scippy

SCIP

Solving Constraint Integer Programs

Detailed Description

functions to work with curvature (convex, concave, etc)

Author
Stefan Vigerske

Declarations are in pub_expr.h

Definition in file exprcurv.c.

#include "scip/pub_expr.h"

Go to the source code of this file.

Functions

SCIP_EXPRCURV SCIPexprcurvAdd (SCIP_EXPRCURV curv1, SCIP_EXPRCURV curv2)
 
SCIP_EXPRCURV SCIPexprcurvNegate (SCIP_EXPRCURV curvature)
 
SCIP_EXPRCURV SCIPexprcurvMultiply (SCIP_Real factor, SCIP_EXPRCURV curvature)
 
SCIP_EXPRCURV SCIPexprcurvPower (SCIP_INTERVAL basebounds, SCIP_EXPRCURV basecurv, SCIP_Real exponent)
 
SCIP_EXPRCURV SCIPexprcurvPowerInv (SCIP_INTERVAL basebounds, SCIP_Real exponent, SCIP_EXPRCURV powercurv)
 
SCIP_EXPRCURV SCIPexprcurvMonomial (int nfactors, SCIP_Real *exponents, int *factoridxs, SCIP_EXPRCURV *factorcurv, SCIP_INTERVAL *factorbounds)
 
SCIP_Bool SCIPexprcurvMonomialInv (SCIP_EXPRCURV monomialcurv, int nfactors, SCIP_Real *exponents, SCIP_INTERVAL *factorbounds, SCIP_EXPRCURV *factorcurv)
 
const char * SCIPexprcurvGetName (SCIP_EXPRCURV curv)
 

Variables

static const char * curvnames [4]
 

Variable Documentation

◆ curvnames

const char* curvnames[4]
static
Initial value:
=
{
"unknown",
"convex",
"concave",
"linear"
}

curvature names as strings

Definition at line 37 of file exprcurv.c.

Referenced by SCIPexprcurvGetName().