DSDP
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
include
dsdpbasictypes.h
Go to the documentation of this file.
1
#ifndef __DSDP_BASIC_TYPES
2
#define __DSDP_BASIC_TYPES
3
13
typedef
struct
DSDP_C
*
DSDP
;
14
19
typedef
enum
{
DSDP_FALSE
= 0,
DSDP_TRUE
= 1}
DSDPTruth
;
20
25
typedef
enum
{
26
DUAL_FACTOR
= 1,
27
PRIMAL_FACTOR
= 2
28
}
DSDPDualFactorMatrix
;
29
30
typedef
enum
{ DSDPAlways=1, DSDPNever=2, DSDPInfeasible=0} DSDPPenalty;
31
38
typedef
enum
{
/* converged */
39
DSDP_PDUNKNOWN
= 0,
40
DSDP_PDFEASIBLE
= 1,
41
DSDP_UNBOUNDED
= 3,
42
DSDP_INFEASIBLE
= 4
43
}
DSDPSolutionType
;
44
50
typedef
enum
{
51
DSDP_CONVERGED
= 1,
52
DSDP_INFEASIBLE_START
= -6,
53
DSDP_SMALL_STEPS
= -2,
54
DSDP_INDEFINITE_SCHUR_MATRIX
= -8,
55
DSDP_MAX_IT
= -3,
56
DSDP_NUMERICAL_ERROR
= -9,
57
DSDP_UPPERBOUND
= 5,
58
DSDP_USER_TERMINATION
= 7,
59
CONTINUE_ITERATING
= 0 }
DSDPTerminationReason
;
60
61
extern
int
DSDPSetConvergenceFlag
(DSDP,
DSDPTerminationReason
);
62
63
#endif
Generated by
1.8.3.1