•All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
scip_nonlinear.c File Reference
Detailed Description
public methods for nonlinear functions
Definition in file scip_nonlinear.c.
#include "blockmemshell/memory.h"
#include "nlpi/nlpi.h"
#include "nlpi/pub_expr.h"
#include "nlpi/type_expr.h"
#include "scip/dbldblarith.h"
#include "scip/pub_lp.h"
#include "scip/pub_message.h"
#include "scip/pub_misc.h"
#include "scip/pub_nlp.h"
#include "scip/pub_var.h"
#include "scip/scip_mem.h"
#include "scip/scip_message.h"
#include "scip/scip_nonlinear.h"
#include "scip/scip_numerics.h"
#include "scip/scip_prob.h"
Go to the source code of this file.
Function Documentation
◆ computeBilinEnvelope2()
|
static |
helper function to compute the convex envelope of a bilinear term when two linear inequalities are given; we use the same notation and formulas as in Locatelli 2016
- Parameters
-
scip SCIP data structure x reference point for x y reference point for y mi coefficient of x in the first linear inequality qi constant in the first linear inequality mj coefficient of x in the second linear inequality qj constant in the second linear inequality xi buffer to store x coordinate of the first point yi buffer to store y coordinate of the first point xj buffer to store x coordinate of the second point yj buffer to store y coordinate of the second point xcoef buffer to store the x coefficient of the envelope ycoef buffer to store the y coefficient of the envelope constant buffer to store the constant of the envelope
Definition at line 646 of file scip_nonlinear.c.
References EPSEQ, NULL, QUAD, QUAD_TO_DBL, REALABS, SCIP_Real, SCIPisEQ(), SCIPquadprecDivQD, SCIPquadprecDivQQ, SCIPquadprecProdDD, SCIPquadprecProdQD, SCIPquadprecSqrtQ, SCIPquadprecSquareQ, SCIPquadprecSumDD, SCIPquadprecSumQD, SCIPquadprecSumQQ, SQR, and SQRT.
Referenced by SCIPcomputeBilinEnvelope2().