SCIP-SDP  4.0.0
Functions
solveonevarsdp.h File Reference

Solve SDP with one variable. More...

Go to the source code of this file.

Functions

SCIP_EXPORT SCIP_RETCODE SCIPsolveOneVarSDP (BMS_BUFMEM *bufmem, SCIP_Real obj, SCIP_Real lb, SCIP_Real ub, int blocksize, int sdpconstnnonz, int *sdpconstrow, int *sdpconstcol, SCIP_Real *sdpconstval, int sdpnnonz, int *sdprow, int *sdpcol, SCIP_Real *sdpval, SCIP_Real infinity, SCIP_Real feastol, SCIP_Real *objval, SCIP_Real *optval)
 
SCIP_EXPORT SCIP_RETCODE SCIPsolveOneVarSDPDense (BMS_BUFMEM *bufmem, SCIP_Real obj, SCIP_Real lb, SCIP_Real ub, int blocksize, SCIP_Real *fullconstmatrix, int sdpnnonz, int *sdprow, int *sdpcol, SCIP_Real *sdpval, SCIP_Real infinity, SCIP_Real feastol, SCIP_Real *objval, SCIP_Real *optval)
 

Detailed Description

Solve SDP with one variable.

Author
Marc Pfetsch

Definition in file solveonevarsdp.h.

Function Documentation

SCIP_EXPORT SCIP_RETCODE SCIPsolveOneVarSDP ( BMS_BUFMEM *  bufmem,
SCIP_Real  obj,
SCIP_Real  lb,
SCIP_Real  ub,
int  blocksize,
int  sdpconstnnonz,
int *  sdpconstrow,
int *  sdpconstcol,
SCIP_Real *  sdpconstval,
int  sdpnnonz,
int *  sdprow,
int *  sdpcol,
SCIP_Real *  sdpval,
SCIP_Real  infinity,
SCIP_Real  feastol,
SCIP_Real *  objval,
SCIP_Real *  optval 
)

solves SDP with one variable and one SDP block

Parameters
bufmembuffer memory
objobjective coefficient of variable
lblower bound of variable
ubupper bound of variable
blocksizesize of the SDP-block
sdpconstnnonznumber of nonzero elements in the constant matrix of the SDP-block
sdpconstrowarray of row-indices of constant matrix
sdpconstcolarray of column-indices of constant matrix
sdpconstvalarray of nonzero values of entries of constant matrix
sdpnnonznumber of nonzero elements in the SDP-constraint-matrix
sdprowarray of row-indices of nonzero matrix entries
sdpcolarray of column-indices of nonzero matrix entries
sdpvalarray of nonzero values
infinityinfinity value
feastolfeasibility tolerance
objvalpointer to store optimal objective value
optvalpointer to store optimal value of variable

Definition at line 120 of file solveonevarsdp.c.

References BMS_CALL, computeSupergradient(), and SCIPoneVarFeasible().

Referenced by SCIPsdpiSolve().

SCIP_EXPORT SCIP_RETCODE SCIPsolveOneVarSDPDense ( BMS_BUFMEM *  bufmem,
SCIP_Real  obj,
SCIP_Real  lb,
SCIP_Real  ub,
int  blocksize,
SCIP_Real *  fullconstmatrix,
int  sdpnnonz,
int *  sdprow,
int *  sdpcol,
SCIP_Real *  sdpval,
SCIP_Real  infinity,
SCIP_Real  feastol,
SCIP_Real *  objval,
SCIP_Real *  optval 
)

solves SDP with one variable and one SDP block - variant for dense constant matrix

Parameters
bufmembuffer memory
objobjective coefficient of variable
lblower bound of variable
ubupper bound of variable
blocksizesize of the SDP-block
fullconstmatrixdense full constant matrix
sdpnnonznumber of nonzero elements in the SDP-constraint-matrix
sdprowarray of row-indices of nonzero matrix entries
sdpcolarray of column-indices of nonzero matrix entries
sdpvalarray of nonzero values
infinityinfinity value
feastolfeasibility tolerance
objvalpointer to store optimal objective value
optvalpointer to store optimal value of variable

Definition at line 305 of file solveonevarsdp.c.

References BMS_CALL, computeSupergradient(), and SCIPoneVarFeasible().

Referenced by tightenBounds(), and tightenMatrices().