Main Page | Modules | Alphabetical List | Data Structures | Directories | File List | Globals | Related Pages

dsdpsetup.c File Reference


Detailed Description

Create DSDP solver and its data strucutures.

Definition in file dsdpsetup.c.

Go to the source code of this file.

Functions

int DSDPCallMonitors (DSDP dsdp, DMonitor dmonitor[], int ndmonitors)
 Call the monitor routines.
int DSDPCheckConvergence (DSDP dsdp, DSDPTerminationReason *reason)
 Check for convergence and monitor solution.
int DSDPComputeDataNorms (DSDP dsdp)
 Compute norms of A,C, and b.
int DSDPCreate (int m, DSDP *dsdpnew)
 Create a DSDP solver. FIRST DSDP routine!
int DSDPDestroy (DSDP dsdp)
 Free the internal data structures of the solver and the cones associated with it.
int DSDPGetConvergenceMonitor (DSDP dsdp, ConvergenceMonitor **ctx)
 Get the structure containing convergence parameters.
int DSDPScaleData (DSDP dsdp)
 Scale the matrix C.
int DSDPSetDefaultMonitors (DSDP dsdp)
 Set convergence monitor.
int DSDPSetDefaultParameters (DSDP dsdp)
 Set default parameters.
int DSDPSetDefaultStatistics (DSDP dsdp)
 Set default statistics.
int DSDPSetDestroyRoutine (DSDP dsdp, int(*fd)(void *), void *ctx)
 Set a routine that will be called during DSDPDestroy().
int DSDPSetup (DSDP dsdp)
 Set up data structures in the solver and the cones associated with it.
int DSDPSolve (DSDP dsdp)
 Apply DSDP to the problem.
int DSDPTakeDown (DSDP dsdp)
 Destroy internal data structures.


Function Documentation

int DSDPCallMonitors DSDP  dsdp,
DMonitor  dmonitor[],
int  ndmonitors
 

Call the monitor routines.

Parameters:
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.

Parameters:
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.

Parameters:
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.

Parameters:
dsdp the solver
*ctx will point to the structure.
Note:
This structure part of the DSDP structure.

Definition at line 268 of file dsdpsetup.c.

int DSDPScaleData DSDP  dsdp  ) 
 

Scale the matrix C.

Parameters:
dsdp the solver

Definition at line 311 of file dsdpsetup.c.

Referenced by DSDPSetup().

int DSDPSetDefaultMonitors DSDP  dsdp  ) 
 

Set convergence monitor.

Parameters:
dsdp the solver

Definition at line 165 of file dsdpsetup.c.

Referenced by DSDPCreate().

int DSDPSetDefaultParameters DSDP  dsdp  ) 
 

Set default parameters.

Parameters:
dsdp the solver

Definition at line 122 of file dsdpsetup.c.

Referenced by DSDPCreate().

int DSDPSetDefaultStatistics DSDP  dsdp  ) 
 

Set default statistics.

Parameters:
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().

Parameters:
dsdp the solver
fd function pointer
ctx pointer to structure.
See also:
DSDPDestroy()

Definition at line 469 of file dsdpsetup.c.

int DSDPTakeDown DSDP  dsdp  ) 
 

Destroy internal data structures.

Parameters:
dsdp solver

Definition at line 428 of file dsdpsetup.c.

Referenced by DSDPDestroy().


Generated on Fri Oct 21 14:28:40 2005 for DSDP by  doxygen 1.4.2