#include dsdp5.h
0 | if successful |
Functions | |
int | DSDPAddObjectiveConstant (DSDP dsdp, double c) |
Add a constant to the objective. | |
int | DSDPCopyB (DSDP dsdp, double bb[], int m) |
Copies the variables b from solver into an array. | |
int | DSDPGetDataNorms (DSDP dsdp, double dnorm[3]) |
Copy the norms of the data C, A, and b into an array. | |
int | DSDPGetDDObjective (DSDP dsdp, double *ddobj) |
Copy the objective value (DD). | |
int | DSDPGetDimension (DSDP dsdp, double *n) |
Copy the dimension of the cones, or the number of constraints in (D). | |
int | DSDPGetDObjective (DSDP dsdp, double *dobj) |
Copy the objective value (D). | |
int | DSDPGetDualityGap (DSDP dsdp, double *dgap) |
Copy the difference between the objective values. | |
int | DSDPGetFinalErrors (DSDP dsdp, double err[6]) |
Copy six different error measurements into an array. | |
int | DSDPGetMaxYElement (DSDP, double *) |
Copy the the infinity norm of the variables y. | |
int | DSDPGetNumberOfVariables (DSDP dsdp, int *m) |
Copy the number of variables y. | |
int | DSDPGetPnorm (DSDP dsdp, double *pnorm) |
Copy the proximity of the solution to the central path. | |
int | DSDPGetPObjective (DSDP dsdp, double *pobj) |
Copy the objective value (P). | |
int | DSDPGetPotential (DSDP dsdp, double *potential) |
Copy the potential of the current solution. | |
int | DSDPGetPPObjective (DSDP dsdp, double *ppobj) |
Copy the objective value (PP). | |
int | DSDPGetR (DSDP dsdp, double *res) |
Copy the infeasibility in (D), or the variable r in (DD). | |
int | DSDPGetStepLengths (DSDP dsdp, double *pstep, double *dstep) |
Copy the step sizes in the current iteration. | |
int | DSDPGetTraceX (DSDP dsdp, double *tracex) |
Copy the trace of the variables X in (P). | |
int | DSDPGetYMaxNorm (DSDP dsdp, double *ynorm) |
Copy the the infinity norm of the variables y. | |
int | DSDPSetR0 (DSDP dsdp, double res) |
Set an initial value for the variable r in (DD). | |
int | DSDPSetY0 (DSDP dsdp, int i, double yi0) |
Set the initial values of variables y in (D). |
|
Add a constant to the objective.
Definition at line 185 of file dsdpsetdata.c. Referenced by DSDPSetOptions(), and mexFunction(). |
|
Copies the variables b from solver into an array.
Definition at line 46 of file dsdpsetdata.c. Referenced by DSDPPrintData(). |
|
Copy the norms of the data C, A, and b into an array.
Definition at line 621 of file dsdpsetdata.c. Referenced by DSDPView(), mexFunction(), and ReadSDPAFile(). |
|
Copy the objective value (DD).
Definition at line 523 of file dsdpsetdata.c. Referenced by DSDPComputeX(), DSDPDefaultConvergence(), and DSDPPrintStats(). |
|
Copy the dimension of the cones, or the number of constraints in (D).
Definition at line 661 of file dsdpsetdata.c. Referenced by DSDPDefaultConvergence(). |
|
Copy the objective value (D).
Definition at line 502 of file dsdpsetdata.c. Referenced by DSDPGetFinalErrors(), mexFunction(), and ReadSDPAFile(). |
|
Copy the difference between the objective values.
Definition at line 545 of file dsdpsetdata.c. Referenced by DSDPDefaultConvergence(). |
|
Copy six different error measurements into an array.
Definition at line 297 of file dsdpx.c. Referenced by DSDPView(), mexFunction(), and ReadSDPAFile(). |
|
Copy the the infinity norm of the variables y.
Definition at line 645 of file dsdpsetdata.c. Referenced by DSDPCGSolve(), DSDPComputeDualStepDirections(), DSDPComputeX(), and DSDPSaveYForX(). |
|
Copy the number of variables y.
Definition at line 707 of file dsdpsetdata.c. Referenced by DSDPCreateBCone(), DSDPCreateLPCone(), DSDPCreateLUBoundsCone(), DSDPCreateSDPCone(), DSDPPrintData(), DSDPPrintSolution(), and DSDPView(). |
|
Copy the proximity of the solution to the central path.
Definition at line 724 of file dsdpsetdata.c. Referenced by DSDPDefaultConvergence(), DSDPPrintStats(), and mexFunction(). |
|
Copy the objective value (P).
Definition at line 232 of file dsdpx.c. Referenced by DSDPGetFinalErrors(), mexFunction(), and ReadSDPAFile(). |
|
Copy the potential of the current solution.
Definition at line 803 of file dsdpsetdata.c. Referenced by DSDPView(). |
|
Copy the objective value (PP).
Definition at line 479 of file dsdpsetdata.c. Referenced by DSDPDefaultConvergence(), DSDPPrintStats(), and mexFunction(). |
|
Copy the infeasibility in (D), or the variable r in (DD).
Definition at line 601 of file dsdpsetdata.c. Referenced by DSDPComputeX(), DSDPDefaultConvergence(), DSDPPrintSolution(), DSDPPrintStats(), and mexFunction(). |
|
Copy the step sizes in the current iteration.
Definition at line 742 of file dsdpsetdata.c. Referenced by DSDPDefaultConvergence(), DSDPPrintStats(), and mexFunction(). |
|
Copy the trace of the variables X in (P). For SDP blocks, this number corresponds to the trace of the blocks, and for LP, it corresponds the the sum of the variables x. If this number is near the penalty paramter, the problem (P) may be unbounded or the penalty parameter may have to be increased.
Definition at line 278 of file dsdpx.c. Referenced by DSDPView(), mexFunction(), and ReadSDPAFile(). |
|
Copy the the infinity norm of the variables y.
Definition at line 678 of file dsdpsetdata.c. Referenced by DSDPGetMaxYElement(), DSDPView(), mexFunction(), and ReadSDPAFile(). |
|
Set an initial value for the variable r in (DD). A negative value asks DSDP to choose this parameter. The default heuristic generally uses very large values. Smaller values may significantly improve performance.
Definition at line 311 of file dsdpsetdata.c. Referenced by DSDPSetDefaultParameters(), DSDPSetOptions(), MaxCut(), mexFunction(), ReadSDPAFile(), and SetThetaData(). |
|
Set the initial values of variables y in (D). To improve performance consider setting the initial values of the variables y in (D).
Definition at line 77 of file dsdpsetdata.c. Referenced by MaxCut(), mexFunction(), ReadSDPAFile(), SetStableSetData(), and SetThetaData(). |