DSDP
Functions
dsdpconverge.c File Reference

Monitor convergence. More...

Go to the source code of this file.

Functions

int DSDPDefaultConvergence (DSDP dsdp, void *ctx)
 Check for Convergence. More...
 
int DSDPGetConvergenceMonitor (DSDP, ConvergenceMonitor **)
 Get the structure containing convergence parameters. More...
 
int DSDPGetDualBound (DSDP dsdp, double *dbound)
 Get the termination parameter. More...
 
int DSDPGetGapHistory (DSDP dsdp, double hist[], int length)
 Copy a history of the duality gap into an array. More...
 
int DSDPGetGapTolerance (DSDP dsdp, double *gaptol)
 Get the termination tolerance. More...
 
int DSDPGetPNormTolerance (DSDP dsdp, double *ptol)
 Get the termination tolerance. More...
 
int DSDPGetRHistory (DSDP dsdp, double hist[], int length)
 Copy a history of the infeasibility in (D) into an array. More...
 
int DSDPGetStepTolerance (DSDP dsdp, double *steptol)
 Get the current tolerance. More...
 
int DSDPSetDualBound (DSDP dsdp, double dbound)
 Terminate the solver if the objective value in (DD) is greater than this tolerance. More...
 
int DSDPSetGapTolerance (DSDP dsdp, double gaptol)
 Terminate the solver when the relative duality gap is less than this tolerance. More...
 
int DSDPSetPNormTolerance (DSDP dsdp, double ptol)
 Terminate the solver when the relative duality gap is suffiently small and the PNorm is less than this quantity. Smaller values imply the final solution will be nearer to the central path. More...
 
int DSDPSetStepTolerance (DSDP dsdp, double steptol)
 Terminate the solver if the step length in (DD) is below this tolerance. More...
 

Detailed Description

Monitor convergence.

Definition in file dsdpconverge.c.

Function Documentation

int DSDPGetConvergenceMonitor ( DSDP  dsdp,
ConvergenceMonitor **  ctx 
)

Get the structure containing convergence parameters.

Parameters
dsdpthe solver
*ctxwill point to the structure.
Note
This structure part of the DSDP structure.

Definition at line 268 of file dsdpsetup.c.

Referenced by DSDPGetDualBound(), DSDPGetGapHistory(), DSDPGetGapTolerance(), DSDPGetPNormTolerance(), DSDPGetRHistory(), DSDPGetStepTolerance(), DSDPSetDualBound(), DSDPSetGapTolerance(), DSDPSetPNormTolerance(), and DSDPSetStepTolerance().