-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathintpnthotstart_enum.go
35 lines (28 loc) · 1.32 KB
/
intpnthotstart_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
// Automatically generated by github.com/fardream/gen-gmsk
// enum for MSKintpnthotstart_enum/IntpntHotstart
package gmsk
// #include <mosek.h>
import "C"
import "strconv"
// IntpntHotstart is MSKintpnthotstart_enum.
//
// Hot-start type employed by the interior-point optimizers.
type IntpntHotstart uint32
const (
INTPNT_HOTSTART_NONE IntpntHotstart = C.MSK_INTPNT_HOTSTART_NONE // The interior-point optimizer performs a coldstart.
INTPNT_HOTSTART_PRIMAL IntpntHotstart = C.MSK_INTPNT_HOTSTART_PRIMAL // The interior-point optimizer exploits the primal solution only.
INTPNT_HOTSTART_DUAL IntpntHotstart = C.MSK_INTPNT_HOTSTART_DUAL // The interior-point optimizer exploits the dual solution only.
INTPNT_HOTSTART_PRIMAL_DUAL IntpntHotstart = C.MSK_INTPNT_HOTSTART_PRIMAL_DUAL // The interior-point optimizer exploits both the primal and dual solution.
)
var _IntpntHotstart_map = map[IntpntHotstart]string{
INTPNT_HOTSTART_NONE: "INTPNT_HOTSTART_NONE",
INTPNT_HOTSTART_PRIMAL: "INTPNT_HOTSTART_PRIMAL",
INTPNT_HOTSTART_DUAL: "INTPNT_HOTSTART_DUAL",
INTPNT_HOTSTART_PRIMAL_DUAL: "INTPNT_HOTSTART_PRIMAL_DUAL",
}
func (e IntpntHotstart) String() string {
if v, ok := _IntpntHotstart_map[e]; ok {
return v
}
return "IntpntHotstart(" + strconv.FormatInt(int64(e), 10) + ")"
}