DSDP
dsdpbasictypes.h
Go to the documentation of this file.
1 #ifndef __DSDP_BASIC_TYPES
2 #define __DSDP_BASIC_TYPES
13 typedef struct DSDP_C* DSDP;
14 
19 typedef enum { DSDP_FALSE = 0, DSDP_TRUE = 1} DSDPTruth;
20 
25 typedef enum {
27  PRIMAL_FACTOR = 2
29 
30 typedef enum { DSDPAlways=1, DSDPNever=2, DSDPInfeasible=0} DSDPPenalty;
31 
38 typedef enum {/* converged */
42  DSDP_INFEASIBLE = 4
44 
50 typedef enum {
55  DSDP_MAX_IT = -3,
60 
62 
63 #endif
DSDPTerminationReason
There are many reasons to terminate the solver.
@ DSDP_INDEFINITE_SCHUR_MATRIX
@ DSDP_USER_TERMINATION
@ CONTINUE_ITERATING
@ DSDP_MAX_IT
@ DSDP_UPPERBOUND
@ DSDP_INFEASIBLE_START
@ DSDP_CONVERGED
@ DSDP_SMALL_STEPS
@ DSDP_NUMERICAL_ERROR
struct DSDP_C * DSDP
An implementation of the dual-scaling algorithm for semidefinite programming.
DSDPSolutionType
Formulations (P) and (D) can be feasible and bounded, feasible and unbounded, or infeasible.
@ DSDP_UNBOUNDED
@ DSDP_PDFEASIBLE
@ DSDP_PDUNKNOWN
@ DSDP_INFEASIBLE
DSDPDualFactorMatrix
DSDP requires two instances of the data structures S.
@ PRIMAL_FACTOR
@ DUAL_FACTOR
DSDPTruth
Boolean variables.
@ DSDP_FALSE
@ DSDP_TRUE
int DSDPSetConvergenceFlag(DSDP, DSDPTerminationReason)
Monitor each iteration of the solver.
Definition: dsdpsetdata.c:968
Internal structures for the DSDP solver.
Definition: dsdp.h:65