dsdplp.c File Reference


Detailed Description

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

Definition in file dsdplp.c.

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.
int LPConeCopyS (LPCone lpcone, double s[], int n)
 Copy the variables s into the spedified array.
int LPConeGetData (LPCone lpcone, int vari, double vv[], int n)
 Get one column (or row) of the LP data.
int LPConeGetDimension (LPCone lpcone, int *n)
 Get the dimension is the number of variables x, which equals the number of slack variables s.
int LPConeGetXArray (LPCone lpcone, double *x[], int *n)
 Get the array used to store the x variables.
int LPConeSetData (LPCone lpcone, int n, const int ik[], const int cols[], const double vals[])
 Set data into the LP cone.
int LPConeSetData2 (LPCone lpcone, int n, const int ik[], const int cols[], const double vals[])
 Set data A and into the LP cone.
int LPConeView (LPCone lpcone)
 Print the data in the LP cone to the screen.
int LPConeView2 (LPCone lpcone)
 Print the data in the LP cone to the screen.


Function Documentation

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

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

Parameters:
lpcone LP cone
vari column of data in (D) or row of data in (P).
vv array of data
n length of array and conic dimension

Definition at line 783 of file dsdplp.c.

Referenced by DSDPPrintData().


Generated on Sun Mar 23 07:30:49 2008 for DSDP by  doxygen 1.5.5