DSDP
Functions
dsdpsetdata.c File Reference

Set parameters for the solver and retrieve statistics about the current solution. More...

Go to the source code of this file.

Functions

int DSDPAddObjectiveConstant (DSDP dsdp, double c)
 Add a constant to the objective. More...
 
int DSDPCopyB (DSDP dsdp, double bb[], int m)
 Copies the variables b from solver into an array. More...
 
int DSDPGetBarrierParameter (DSDP dsdp, double *mu)
 Copy the current barrier parameter. More...
 
int DSDPGetDataNorms (DSDP dsdp, double dnorm[3])
 Copy the norms of the data C, A, and b into an array. More...
 
int DSDPGetDDObjective (DSDP dsdp, double *ddobj)
 Copy the objective value (DD). More...
 
int DSDPGetDimension (DSDP dsdp, double *n)
 Copy the dimension of the cones, or the number of constraints in (D). More...
 
int DSDPGetDObjective (DSDP dsdp, double *dobj)
 Copy the objective value (D). More...
 
int DSDPGetDualityGap (DSDP dsdp, double *dgap)
 Copy the difference between the objective values. More...
 
int DSDPGetIts (DSDP dsdp, int *its)
 Copy the current iteration number. More...
 
int DSDPGetMaxIts (DSDP dsdp, int *its)
 Copy the maximum number of iterations from the solver. More...
 
int DSDPGetMaxTrustRadius (DSDP dsdp, double *rad)
 Copy the current radius of the trust region. More...
 
int DSDPGetMaxYElement (DSDP dsdp, double *ymax)
 Copy the the infinity norm of the variables y. More...
 
int DSDPGetNumberOfVariables (DSDP dsdp, int *m)
 Copy the number of variables y. More...
 
int DSDPGetPenaltyParameter (DSDP dsdp, double *Gamma)
 Copy the penalty parameter Gamma. More...
 
int DSDPGetPnorm (DSDP dsdp, double *pnorm)
 Copy the proximity of the solution to the central path. More...
 
int DSDPGetPotential (DSDP dsdp, double *potential)
 Copy the potential of the current solution. More...
 
int DSDPGetPotentialParameter (DSDP dsdp, double *rho)
 Copy the potential parameter. More...
 
int DSDPGetPPObjective (DSDP dsdp, double *ppobj)
 Copy the objective value (PP). More...
 
int DSDPGetR (DSDP dsdp, double *res)
 Copy the infeasibility in (D), or the variable r in (DD). More...
 
int DSDPGetReuseMatrix (DSDP dsdp, int *rm)
 Copy this parameter. More...
 
int DSDPGetScale (DSDP dsdp, double *scale)
 Copy the internal scaling factor from the solver. More...
 
int DSDPGetStepLengths (DSDP dsdp, double *pstep, double *dstep)
 Copy the step sizes in the current iteration. More...
 
int DSDPGetY (DSDP dsdp, double y[], int m)
 Copies the variables y into an array. More...
 
int DSDPGetYBounds (DSDP dsdp, double *lbound, double *ubound)
 Copy the bounds on the variables y. More...
 
int DSDPGetYMaxNorm (DSDP dsdp, double *ynorm)
 Copy the the infinity norm of the variables y. More...
 
int DSDPReuseMatrix (DSDP dsdp, int rm)
 Reuse the Hessian of the barrier function multiple times at each DSDP iteration. More...
 
int DSDPSetBarrierParameter (DSDP dsdp, double mu)
 Set the current barrier parameter. More...
 
int DSDPSetConvergenceFlag (DSDP dsdp, DSDPTerminationReason reason)
 Monitor each iteration of the solver. More...
 
int DSDPSetDualObjective (DSDP dsdp, int i, double bi)
 Set the objective vector b in (D). More...
 
int DSDPSetMaxIts (DSDP dsdp, int its)
 Terminate the solver after this number of iterations. More...
 
int DSDPSetMaxTrustRadius (DSDP dsdp, double rad)
 Set a maximum trust radius on the step direction. More...
 
int DSDPSetMonitor (DSDP dsdp, int(*monitor)(DSDP, void *), void *monitorctx)
 Monitor each iteration of the solver. More...
 
int DSDPSetPenaltyParameter (DSDP dsdp, double Gamma)
 Set the penalty parameter Gamma. More...
 
int DSDPSetPotentialParameter (DSDP dsdp, double rho)
 Set the potential parameter. More...
 
int DSDPSetR0 (DSDP dsdp, double res)
 Set an initial value for the variable r in (DD) More...
 
int DSDPSetScale (DSDP dsdp, double scale)
 Set the internal scaling factor. More...
 
int DSDPSetY0 (DSDP dsdp, int i, double yi0)
 Set the initial values of variables y in (D). More...
 
int DSDPSetYBounds (DSDP dsdp, double lbound, double ubound)
 Bound the variables y. More...
 
int DSDPSetZBar (DSDP dsdp, double ppobj)
 Set an upper bound on the objective value at the solution. More...
 
int DSDPStopReason (DSDP dsdp, DSDPTerminationReason *reason)
 Copy the reason why the solver terminated. More...
 
int DSDPUseDynamicRho (DSDP dsdp, int yesorno)
 Use a dynamic strategy to choose parameter rho. More...
 
int DSDPUsePenalty (DSDP dsdp, int yesorno)
 Use penalty parameter to enforce feasibility. More...
 

Detailed Description

Set parameters for the solver and retrieve statistics about the current solution.

Definition in file dsdpsetdata.c.