DSDP
Functions
dsdplp.c File Reference

Set linear inequalities in (D) and implement the DSDPCone operations. More...

Go to the source code of this file.

Functions

int DSDPCreateLPCone (DSDP dsdp, LPCone *dspcone)
 Create a new object for linear programs and scalar inequalities. More...
 
int LPConeCopyS (LPCone lpcone, double s[], int n)
 Copy the variables s into the spedified array. More...
 
int LPConeGetData (LPCone lpcone, int vari, double vv[], int n)
 Get one column (or row) of the LP data. More...
 
int LPConeGetDimension (LPCone lpcone, int *n)
 Get the dimension is the number of variables x, which equals the number of slack variables s. More...
 
int LPConeGetXArray (LPCone lpcone, double *x[], int *n)
 Get the array used to store the x variables. More...
 
int LPConeSetData (LPCone lpcone, int n, const int ik[], const int cols[], const double vals[])
 Set data into the LP cone. More...
 
int LPConeSetData2 (LPCone lpcone, int n, const int ik[], const int cols[], const double vals[])
 Set data A and into the LP cone. More...
 
int LPConeView (LPCone lpcone)
 Print the data in the LP cone to the screen. More...
 
int LPConeView2 (LPCone lpcone)
 Print the data in the LP cone to the screen. More...
 

Detailed Description

Set linear inequalities in (D) and implement the DSDPCone operations.

Definition in file dsdplp.c.

Function Documentation

◆ LPConeGetData()

int LPConeGetData ( LPCone  lpcone,
int  vari,
double  vv[],
int  n 
)

Get one column (or row) of the LP data.

Parameters
lpconeLP cone
varicolumn of data in (D) or row of data in (P).
vvarray of data
nlength of array and conic dimension

Definition at line 783 of file dsdplp.c.