-
Notifications
You must be signed in to change notification settings - Fork 0
/
sparam_enum.go
77 lines (70 loc) · 4.84 KB
/
sparam_enum.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
// Automatically generated by github.com/fardream/gen-gmsk
// enum for MSKsparam_enum/SParam
package gmsk
// #include <mosek.h>
import "C"
import "strconv"
// SParam is MSKsparam_enum.
//
// string parameter.
type SParam uint32
const (
SPAR_BAS_SOL_FILE_NAME SParam = C.MSK_SPAR_BAS_SOL_FILE_NAME // Name of the bas solution file.
SPAR_DATA_FILE_NAME SParam = C.MSK_SPAR_DATA_FILE_NAME // Data are read and written to this file.
SPAR_DEBUG_FILE_NAME SParam = C.MSK_SPAR_DEBUG_FILE_NAME // MOSEK debug file.
SPAR_INT_SOL_FILE_NAME SParam = C.MSK_SPAR_INT_SOL_FILE_NAME // Name of the int solution file.
SPAR_ITR_SOL_FILE_NAME SParam = C.MSK_SPAR_ITR_SOL_FILE_NAME // Name of the itr solution file.
SPAR_MIO_DEBUG_STRING SParam = C.MSK_SPAR_MIO_DEBUG_STRING // For internal debugging purposes.
SPAR_PARAM_COMMENT_SIGN SParam = C.MSK_SPAR_PARAM_COMMENT_SIGN // Solution file comment character.
SPAR_PARAM_READ_FILE_NAME SParam = C.MSK_SPAR_PARAM_READ_FILE_NAME // Modifications to the parameter database is read from this file.
SPAR_PARAM_WRITE_FILE_NAME SParam = C.MSK_SPAR_PARAM_WRITE_FILE_NAME // The parameter database is written to this file.
SPAR_READ_MPS_BOU_NAME SParam = C.MSK_SPAR_READ_MPS_BOU_NAME // Name of the BOUNDS vector used. An empty name means that the first BOUNDS vector is used.
SPAR_READ_MPS_OBJ_NAME SParam = C.MSK_SPAR_READ_MPS_OBJ_NAME // Objective name in the MPS file.
SPAR_READ_MPS_RAN_NAME SParam = C.MSK_SPAR_READ_MPS_RAN_NAME // Name of the RANGE vector used. An empty name means that the first RANGE vector is used.
SPAR_READ_MPS_RHS_NAME SParam = C.MSK_SPAR_READ_MPS_RHS_NAME // Name of the RHS used. An empty name means that the first RHS vector is used.
SPAR_REMOTE_OPTSERVER_HOST SParam = C.MSK_SPAR_REMOTE_OPTSERVER_HOST // URL of the remote optimization server.
SPAR_REMOTE_TLS_CERT SParam = C.MSK_SPAR_REMOTE_TLS_CERT // Known server certificates in PEM format
SPAR_REMOTE_TLS_CERT_PATH SParam = C.MSK_SPAR_REMOTE_TLS_CERT_PATH // Path to known server certificates in PEM format
SPAR_SENSITIVITY_FILE_NAME SParam = C.MSK_SPAR_SENSITIVITY_FILE_NAME // Sensitivity report file name.
SPAR_SENSITIVITY_RES_FILE_NAME SParam = C.MSK_SPAR_SENSITIVITY_RES_FILE_NAME // Name of the sensitivity report output file.
SPAR_SOL_FILTER_XC_LOW SParam = C.MSK_SPAR_SOL_FILTER_XC_LOW // Solution file filter.
SPAR_SOL_FILTER_XC_UPR SParam = C.MSK_SPAR_SOL_FILTER_XC_UPR // Solution file filter.
SPAR_SOL_FILTER_XX_LOW SParam = C.MSK_SPAR_SOL_FILTER_XX_LOW // Solution file filter.
SPAR_SOL_FILTER_XX_UPR SParam = C.MSK_SPAR_SOL_FILTER_XX_UPR // Solution file filter.
SPAR_STAT_KEY SParam = C.MSK_SPAR_STAT_KEY // Key used when writing the summary file.
SPAR_STAT_NAME SParam = C.MSK_SPAR_STAT_NAME // Name used when writing the statistics file.
SPAR_WRITE_LP_GEN_VAR_NAME SParam = C.MSK_SPAR_WRITE_LP_GEN_VAR_NAME // Added variable names in the LP files.
)
var _SParam_map = map[SParam]string{
SPAR_BAS_SOL_FILE_NAME: "SPAR_BAS_SOL_FILE_NAME",
SPAR_DATA_FILE_NAME: "SPAR_DATA_FILE_NAME",
SPAR_DEBUG_FILE_NAME: "SPAR_DEBUG_FILE_NAME",
SPAR_INT_SOL_FILE_NAME: "SPAR_INT_SOL_FILE_NAME",
SPAR_ITR_SOL_FILE_NAME: "SPAR_ITR_SOL_FILE_NAME",
SPAR_MIO_DEBUG_STRING: "SPAR_MIO_DEBUG_STRING",
SPAR_PARAM_COMMENT_SIGN: "SPAR_PARAM_COMMENT_SIGN",
SPAR_PARAM_READ_FILE_NAME: "SPAR_PARAM_READ_FILE_NAME",
SPAR_PARAM_WRITE_FILE_NAME: "SPAR_PARAM_WRITE_FILE_NAME",
SPAR_READ_MPS_BOU_NAME: "SPAR_READ_MPS_BOU_NAME",
SPAR_READ_MPS_OBJ_NAME: "SPAR_READ_MPS_OBJ_NAME",
SPAR_READ_MPS_RAN_NAME: "SPAR_READ_MPS_RAN_NAME",
SPAR_READ_MPS_RHS_NAME: "SPAR_READ_MPS_RHS_NAME",
SPAR_REMOTE_OPTSERVER_HOST: "SPAR_REMOTE_OPTSERVER_HOST",
SPAR_REMOTE_TLS_CERT: "SPAR_REMOTE_TLS_CERT",
SPAR_REMOTE_TLS_CERT_PATH: "SPAR_REMOTE_TLS_CERT_PATH",
SPAR_SENSITIVITY_FILE_NAME: "SPAR_SENSITIVITY_FILE_NAME",
SPAR_SENSITIVITY_RES_FILE_NAME: "SPAR_SENSITIVITY_RES_FILE_NAME",
SPAR_SOL_FILTER_XC_LOW: "SPAR_SOL_FILTER_XC_LOW",
SPAR_SOL_FILTER_XC_UPR: "SPAR_SOL_FILTER_XC_UPR",
SPAR_SOL_FILTER_XX_LOW: "SPAR_SOL_FILTER_XX_LOW",
SPAR_SOL_FILTER_XX_UPR: "SPAR_SOL_FILTER_XX_UPR",
SPAR_STAT_KEY: "SPAR_STAT_KEY",
SPAR_STAT_NAME: "SPAR_STAT_NAME",
SPAR_WRITE_LP_GEN_VAR_NAME: "SPAR_WRITE_LP_GEN_VAR_NAME",
}
func (e SParam) String() string {
if v, ok := _SParam_map[e]; ok {
return v
}
return "SParam(" + strconv.FormatInt(int64(e), 10) + ")"
}