scip_nonlinear.c File Reference
Detailed Description
public methods for nonlinear functions
Definition in file scip_nonlinear.c.
#include <ctype.h>#include <stdarg.h>#include <assert.h>#include <string.h>#include <strings.h>#include "lpi/lpi.h"#include "nlpi/exprinterpret.h"#include "nlpi/nlpi.h"#include "scip/benders.h"#include "scip/benderscut.h"#include "scip/branch.h"#include "scip/branch_nodereopt.h"#include "scip/clock.h"#include "scip/compr.h"#include "scip/concsolver.h"#include "scip/concurrent.h"#include "scip/conflict.h"#include "scip/conflictstore.h"#include "scip/cons.h"#include "scip/cons_linear.h"#include "scip/cutpool.h"#include "scip/cuts.h"#include "scip/debug.h"#include "scip/def.h"#include "scip/dialog.h"#include "scip/dialog_default.h"#include "scip/disp.h"#include "scip/event.h"#include "scip/heur.h"#include "scip/heur_ofins.h"#include "scip/heur_reoptsols.h"#include "scip/heur_trivialnegation.h"#include "scip/heuristics.h"#include "scip/history.h"#include "scip/implics.h"#include "scip/interrupt.h"#include "scip/lp.h"#include "scip/mem.h"#include "scip/message_default.h"#include "scip/misc.h"#include "scip/nlp.h"#include "scip/nodesel.h"#include "scip/paramset.h"#include "scip/presol.h"#include "scip/presolve.h"#include "scip/pricer.h"#include "scip/pricestore.h"#include "scip/primal.h"#include "scip/prob.h"#include "scip/prop.h"#include "scip/reader.h"#include "scip/relax.h"#include "scip/reopt.h"#include "scip/retcode.h"#include "scip/scipbuildflags.h"#include "scip/scipcoreplugins.h"#include "scip/scipgithash.h"#include "scip/sepa.h"#include "scip/sepastore.h"#include "scip/set.h"#include "scip/sol.h"#include "scip/solve.h"#include "scip/stat.h"#include "scip/syncstore.h"#include "scip/table.h"#include "scip/tree.h"#include "scip/var.h"#include "scip/visual.h"#include "xml/xml.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"#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/struct_scip.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 672 of file scip_nonlinear.c.
References NULL, REALABS, SCIPisEQ(), SQR, and SQRT.
Referenced by SCIPcomputeBilinEnvelope2().
