#include dsdp5.h
0 | if successful |
Functions | |
int | DSDPComputeAndFactorS (DSDP dsdp, DSDPTruth *psdefinite) |
Compute and factor the dual matrix variables. | |
int | DSDPGetBarrierParameter (DSDP dsdp, double *mu) |
Copy the current barrier parameter. | |
int | DSDPGetDYMakeX (DSDP dsdp, double dy[], int m) |
Copies the variables dy used to construct X into an array. | |
int | DSDPGetMaxTrustRadius (DSDP dsdp, double *rad) |
Copy the current radius of the trust region. | |
int | DSDPGetMuMakeX (DSDP dsdp, double *mu) |
Copies the value of mu used to construct X. | |
int | DSDPGetPenaltyParameter (DSDP dsdp, double *Gamma) |
Copy the penalty parameter Gamma. | |
int | DSDPGetPotentialParameter (DSDP dsdp, double *rho) |
Copy the potential parameter. | |
int | DSDPGetReuseMatrix (DSDP dsdp, int *rm) |
Copy this parameter. | |
int | DSDPGetScale (DSDP dsdp, double *scale) |
Copy the internal scaling factor from the solver. | |
int | DSDPGetYBounds (DSDP dsdp, double *lbound, double *ubound) |
Copy the bounds on the variables y. | |
int | DSDPGetYMakeX (DSDP dsdp, double y[], int m) |
Copies the variables y used to construct X into an array. | |
int | DSDPPrintOptions () |
Print runtime options;. | |
int | DSDPPrintStats (DSDP, void *) |
Print statistics about the current solution to standard output. | |
int | DSDPReadOptions (DSDP dsdp, char filename[]) |
Read DSDP parameters from a file. | |
int | DSDPReuseMatrix (DSDP dsdp, int rm) |
Reuse the Hessian of the barrier function multiple times at each DSDP iteration. | |
int | DSDPSetBarrierParameter (DSDP dsdp, double mu) |
Set the current barrier parameter. | |
int | DSDPSetFixedVariable (DSDP dsdp, int vari, double val) |
Fix variable y to exact value. | |
int | DSDPSetFixedVariables (DSDP dsdp, double vars[], double vals[], double xout[], int nvars) |
Fix variable y to exact values. | |
int | DSDPSetMaxTrustRadius (DSDP dsdp, double rad) |
Set a maximum trust radius on the step direction. | |
int | DSDPSetMonitor (DSDP dsdp, int(*monitor)(DSDP, void *), void *monitorctx) |
Monitor each iteration of the solver. | |
int | DSDPSetPenaltyParameter (DSDP dsdp, double Gamma) |
Set the penalty parameter Gamma. | |
int | DSDPSetPotentialParameter (DSDP dsdp, double rho) |
Set the potential parameter. | |
int | DSDPSetScale (DSDP dsdp, double scale) |
Set the internal scaling factor. | |
int | DSDPSetYBounds (DSDP dsdp, double lbound, double ubound) |
Bound the variables y. | |
int | DSDPSetZBar (DSDP dsdp, double ppobj) |
Set an upper bound on the objective value at the solution. | |
int | DSDPUseDynamicRho (DSDP dsdp, int yesorno) |
Use a dynamic strategy to choose parameter rho. | |
int | DSDPUsePenalty (DSDP dsdp, int yesorno) |
Use penalty parameter to enforce feasibility. |
|
Compute and factor the dual matrix variables. This routine may be necessary after computing the X variables.
|
|
Copy the current barrier parameter.
Definition at line 364 of file dsdpsetdata.c. Referenced by DSDPDefaultConvergence(), DSDPPrintStats(), DSDPView(), and mexFunction(). |
|
Copies the variables dy used to construct X into an array.
Definition at line 483 of file dsdpx.c. Referenced by mexFunction(). |
|
Copy the current radius of the trust region.
Definition at line 265 of file dsdpsetdata.c. Referenced by DSDPView(), and mexFunction(). |
|
Copies the value of mu used to construct X.
Definition at line 511 of file dsdpx.c. Referenced by mexFunction(). |
|
Copy the penalty parameter Gamma.
Definition at line 443 of file dsdpsetdata.c. Referenced by DSDPView(), mexFunction(), and ReadSDPAFile(). |
|
Copy the potential parameter.
Definition at line 784 of file dsdpsetdata.c. Referenced by DSDPView(), mexFunction(), and ReadSDPAFile(). |
|
Copy this parameter.
Definition at line 925 of file dsdpsetdata.c. Referenced by DSDPView(), mexFunction(), and ReadSDPAFile(). |
|
Copy the internal scaling factor from the solver.
Definition at line 128 of file dsdpsetdata.c. Referenced by DSDPComputeX(), DSDPGetBarrierParameter(), DSDPGetDDObjective(), DSDPGetDObjective(), DSDPGetDualityGap(), DSDPGetDYMakeX(), DSDPGetFinalErrors(), DSDPGetMuMakeX(), DSDPGetPObjective(), DSDPGetPPObjective(), DSDPGetR(), DSDPGetY(), DSDPGetYMakeX(), DSDPSetBarrierParameter(), DSDPSetPenaltyParameter(), DSDPSetR0(), DSDPSetScale(), DSDPSetY0(), DSDPSetZBar(), and ReadSDPAFile(). |
|
Copy the bounds on the variables y.
Definition at line 866 of file dsdpsetdata.c. Referenced by DSDPView(), mexFunction(), and ReadSDPAFile(). |
|
Copies the variables y used to construct X into an array.
Definition at line 455 of file dsdpx.c. Referenced by mexFunction(). |
|
Print runtime options;.
Definition at line 279 of file dsdpsetoptions.c. Referenced by DSDPSetOptions(), and ReadSDPAFile(). |
|
Print statistics about the current solution to standard output.
Definition at line 71 of file dsdpprintout.c. Referenced by DSDPSetStandardMonitor(). |
|
Read DSDP parameters from a file.
Definition at line 145 of file dsdpsetoptions.c. Referenced by LovaszTheta(), MinColoring(), and StableSet(). |
|
Reuse the Hessian of the barrier function multiple times at each DSDP iteration.
Definition at line 905 of file dsdpsetdata.c. Referenced by DSDPSetDefaultParameters(), DSDPSetOptions(), LovaszTheta(), MaxCut(), mexFunction(), ReadSDPAFile(), and StableSet(). |
|
Set the current barrier parameter. The barrier parameter is defined as the difference between the objective functions (PP) and (DD) divided by the potential parameter rho.
Definition at line 340 of file dsdpsetdata.c. Referenced by DSDPDefaultConvergence(), DSDPSetOptions(), and mexFunction(). |
|
Fix variable y to exact value.
Definition at line 675 of file dsdpschurmat.c. Referenced by DSDPSetFixedVariables(), and DSDPSetOptions(). |
|
Fix variable y to exact values.
Definition at line 695 of file dsdpschurmat.c. Referenced by mexFunction(), and ReadSDPAFile(). |
|
Set a maximum trust radius on the step direction.
Definition at line 246 of file dsdpsetdata.c. Referenced by DSDPSetDefaultParameters(), DSDPSetOptions(), and mexFunction(). |
|
Monitor each iteration of the solver.
Definition at line 945 of file dsdpsetdata.c. Referenced by DSDPSetDefaultMonitors(), DSDPSetStandardMonitor(), and mexFunction(). |
|
Set the penalty parameter Gamma. DSDP uses a penalty parameter to enforce feasibility in (D). The default value is 1e8, but other values may improve performance. This value must exceed the trace of the solution X.
Definition at line 418 of file dsdpsetdata.c. Referenced by DSDPSetDefaultParameters(), DSDPSetOptions(), and mexFunction(). |
|
Set the potential parameter. The parameter rho in the solver will be set to this multiple of the total dimension of the cones. The default value is 3, but values of 4 or more may significantly improve performance.
Definition at line 765 of file dsdpsetdata.c. Referenced by DSDPSetDefaultParameters(), DSDPSetOptions(), MaxCut(), mexFunction(), and MinColoring(). |
|
Set the internal scaling factor. DSDP scales the data C and solves the scaled problem. DSDP determines a default scaling from a combination of the norms on the data.
Definition at line 153 of file dsdpsetdata.c. Referenced by DSDPScaleData(). |
|
Bound the variables y.
Definition at line 885 of file dsdpsetdata.c. Referenced by DSDPSetDefaultParameters(), DSDPSetOptions(), mexFunction(), and ReadSDPAFile(). |
|
Set an upper bound on the objective value at the solution.
Definition at line 283 of file dsdpsetdata.c. Referenced by DSDPSetOptions(), LovaszTheta(), MaxCut(), mexFunction(), and StableSet(). |
|
Use a dynamic strategy to choose parameter rho.
Definition at line 821 of file dsdpsetdata.c. Referenced by DSDPSetDefaultParameters(), DSDPSetOptions(), and mexFunction(). |
|
Use penalty parameter to enforce feasibility.
Definition at line 383 of file dsdpsetdata.c. Referenced by DSDPSetDefaultParameters(), DSDPSetOptions(), and mexFunction(). |