dsdpbasictypes.h
Go to the documentation of this file.
#ifndef __DSDP_BASIC_TYPES
#define __DSDP_BASIC_TYPES
typedef struct DSDP_C* DSDP;
typedef enum { DSDP_FALSE = 0, DSDP_TRUE = 1} DSDPTruth;
typedef enum {
DUAL_FACTOR = 1,
PRIMAL_FACTOR = 2
} DSDPDualFactorMatrix;
typedef enum { DSDPAlways=1, DSDPNever=2, DSDPInfeasible=0} DSDPPenalty;
typedef enum {/* converged */
DSDP_PDUNKNOWN = 0,
DSDP_PDFEASIBLE = 1,
DSDP_UNBOUNDED = 3,
DSDP_INFEASIBLE = 4
} DSDPSolutionType;
typedef enum {
DSDP_CONVERGED = 1,
DSDP_INFEASIBLE_START = -6,
DSDP_SMALL_STEPS = -2,
DSDP_INDEFINITE_SCHUR_MATRIX = -8,
DSDP_MAX_IT = -3,
DSDP_NUMERICAL_ERROR = -9,
DSDP_UPPERBOUND = 5,
DSDP_USER_TERMINATION = 7,
CONTINUE_ITERATING = 0 } DSDPTerminationReason;
extern int DSDPSetConvergenceFlag(DSDP,DSDPTerminationReason);
#endif
DSDPTerminationReason
DSDPTerminationReason
There are many reasons to terminate the solver.
Definition dsdpbasictypes.h:50
DSDP_INDEFINITE_SCHUR_MATRIX
@ DSDP_INDEFINITE_SCHUR_MATRIX
Definition dsdpbasictypes.h:54
DSDP_USER_TERMINATION
@ DSDP_USER_TERMINATION
Definition dsdpbasictypes.h:58
CONTINUE_ITERATING
@ CONTINUE_ITERATING
Definition dsdpbasictypes.h:59
DSDP_MAX_IT
@ DSDP_MAX_IT
Definition dsdpbasictypes.h:55
DSDP_UPPERBOUND
@ DSDP_UPPERBOUND
Definition dsdpbasictypes.h:57
DSDP_INFEASIBLE_START
@ DSDP_INFEASIBLE_START
Definition dsdpbasictypes.h:52
DSDP_CONVERGED
@ DSDP_CONVERGED
Definition dsdpbasictypes.h:51
DSDP_SMALL_STEPS
@ DSDP_SMALL_STEPS
Definition dsdpbasictypes.h:53
DSDP_NUMERICAL_ERROR
@ DSDP_NUMERICAL_ERROR
Definition dsdpbasictypes.h:56
DSDP
struct DSDP_C * DSDP
An implementation of the dual-scaling algorithm for semidefinite programming.
Definition dsdpbasictypes.h:13
DSDPSolutionType
DSDPSolutionType
Formulations (P) and (D) can be feasible and bounded, feasible and unbounded, or infeasible.
Definition dsdpbasictypes.h:38
DSDP_UNBOUNDED
@ DSDP_UNBOUNDED
Definition dsdpbasictypes.h:41
DSDP_PDFEASIBLE
@ DSDP_PDFEASIBLE
Definition dsdpbasictypes.h:40
DSDP_PDUNKNOWN
@ DSDP_PDUNKNOWN
Definition dsdpbasictypes.h:39
DSDP_INFEASIBLE
@ DSDP_INFEASIBLE
Definition dsdpbasictypes.h:42
DSDPDualFactorMatrix
DSDPDualFactorMatrix
DSDP requires two instances of the data structures S.
Definition dsdpbasictypes.h:25
PRIMAL_FACTOR
@ PRIMAL_FACTOR
Definition dsdpbasictypes.h:27
DUAL_FACTOR
@ DUAL_FACTOR
Definition dsdpbasictypes.h:26
DSDPTruth
DSDPTruth
Boolean variables.
Definition dsdpbasictypes.h:19
DSDP_FALSE
@ DSDP_FALSE
Definition dsdpbasictypes.h:19
DSDP_TRUE
@ DSDP_TRUE
Definition dsdpbasictypes.h:19
DSDP_C
Internal structures for the DSDP solver.
Definition dsdp.h:65