DSDP
|
Create DSDP solver and its data strucutures. More...
Go to the source code of this file.
Functions | |
int | DSDPCallMonitors (DSDP dsdp, DMonitor dmonitor[], int ndmonitors) |
Call the monitor routines. More... | |
int | DSDPCheckConvergence (DSDP dsdp, DSDPTerminationReason *reason) |
Check for convergence and monitor solution. More... | |
int | DSDPComputeDataNorms (DSDP dsdp) |
Compute norms of A,C, and b. More... | |
int | DSDPCreate (int m, DSDP *dsdpnew) |
Create a DSDP solver. FIRST DSDP routine! More... | |
int | DSDPDestroy (DSDP dsdp) |
Free the internal data structures of the solver and the cones associated with it. More... | |
int | DSDPGetConvergenceMonitor (DSDP dsdp, ConvergenceMonitor **ctx) |
Get the structure containing convergence parameters. More... | |
int | DSDPScaleData (DSDP dsdp) |
Scale the matrix C. More... | |
int | DSDPSetDefaultMonitors (DSDP dsdp) |
Set convergence monitor. More... | |
int | DSDPSetDefaultParameters (DSDP dsdp) |
Set default parameters. More... | |
int | DSDPSetDefaultStatistics (DSDP dsdp) |
Set default statistics. More... | |
int | DSDPSetDestroyRoutine (DSDP dsdp, int(*fd)(void *), void *ctx) |
Set a routine that will be called during DSDPDestroy(). More... | |
int | DSDPSetup (DSDP dsdp) |
Set up data structures in the solver and the cones associated with it. More... | |
int | DSDPSolve (DSDP dsdp) |
Apply DSDP to the problem. More... | |
int | DSDPTakeDown (DSDP dsdp) |
Destroy internal data structures. More... | |
Create DSDP solver and its data strucutures.
Definition in file dsdpsetup.c.
int DSDPCallMonitors | ( | DSDP | dsdp, |
DMonitor | dmonitor[], | ||
int | ndmonitors | ||
) |
Call the monitor routines.
dsdp | solver |
dmonitor | array of monitors |
ndmonitors | number of monitors. |
Definition at line 367 of file dsdpsetup.c.
Referenced by DSDPCheckConvergence().
int DSDPCheckConvergence | ( | DSDP | dsdp, |
DSDPTerminationReason * | reason | ||
) |
Check for convergence and monitor solution.
dsdp | solver |
reason | termination reason |
Definition at line 384 of file dsdpsetup.c.
Referenced by DSDPSolveDynamicRho().
int DSDPComputeDataNorms | ( | DSDP | dsdp | ) |
Compute norms of A,C, and b.
dsdp | the solver |
Definition at line 283 of file dsdpsetup.c.
Referenced by DSDPGetDataNorms(), and DSDPSetup().
int DSDPGetConvergenceMonitor | ( | DSDP | dsdp, |
ConvergenceMonitor ** | ctx | ||
) |
Get the structure containing convergence parameters.
dsdp | the solver |
*ctx | will point to the structure. |
Definition at line 268 of file dsdpsetup.c.
Referenced by DSDPGetDualBound(), DSDPGetGapHistory(), DSDPGetGapTolerance(), DSDPGetPNormTolerance(), DSDPGetRHistory(), DSDPGetStepTolerance(), DSDPSetDualBound(), DSDPSetGapTolerance(), DSDPSetPNormTolerance(), and DSDPSetStepTolerance().
int DSDPScaleData | ( | DSDP | dsdp | ) |
Scale the matrix C.
dsdp | the solver |
Definition at line 311 of file dsdpsetup.c.
Referenced by DSDPSetup().
int DSDPSetDefaultMonitors | ( | DSDP | dsdp | ) |
Set convergence monitor.
dsdp | the solver |
Definition at line 165 of file dsdpsetup.c.
Referenced by DSDPCreate().
int DSDPSetDefaultParameters | ( | DSDP | dsdp | ) |
Set default parameters.
dsdp | the solver |
Definition at line 122 of file dsdpsetup.c.
Referenced by DSDPCreate().
int DSDPSetDefaultStatistics | ( | DSDP | dsdp | ) |
Set default statistics.
dsdp | the solver |
Definition at line 84 of file dsdpsetup.c.
Referenced by DSDPCreate().
int DSDPSetDestroyRoutine | ( | DSDP | dsdp, |
int(*)(void *) | fd, | ||
void * | ctx | ||
) |
Set a routine that will be called during DSDPDestroy().
dsdp | the solver |
fd | function pointer |
ctx | pointer to structure. |
Definition at line 469 of file dsdpsetup.c.
int DSDPTakeDown | ( | DSDP | dsdp | ) |
Destroy internal data structures.
dsdp | solver |
Definition at line 428 of file dsdpsetup.c.
Referenced by DSDPDestroy().