-
Notifications
You must be signed in to change notification settings - Fork 0
/
simhotstart_enum.go
33 lines (26 loc) · 1.04 KB
/
simhotstart_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
// Automatically generated by github.com/fardream/gen-gmsk
// enum for MSKsimhotstart_enum/Simhotstart
package gmsk
// #include <mosek.h>
import "C"
import "strconv"
// Simhotstart is MSKsimhotstart_enum.
//
// Hot-start type employed by the simplex optimizer
type Simhotstart uint32
const (
SIM_HOTSTART_NONE Simhotstart = C.MSK_SIM_HOTSTART_NONE // The simplex optimizer performs a coldstart.
SIM_HOTSTART_FREE Simhotstart = C.MSK_SIM_HOTSTART_FREE // The simplex optimize chooses the hot-start type.
SIM_HOTSTART_STATUS_KEYS Simhotstart = C.MSK_SIM_HOTSTART_STATUS_KEYS // Only the status keys of the constraints and variables are used to choose the type of hot-start.
)
var _Simhotstart_map = map[Simhotstart]string{
SIM_HOTSTART_NONE: "SIM_HOTSTART_NONE",
SIM_HOTSTART_FREE: "SIM_HOTSTART_FREE",
SIM_HOTSTART_STATUS_KEYS: "SIM_HOTSTART_STATUS_KEYS",
}
func (e Simhotstart) String() string {
if v, ok := _Simhotstart_map[e]; ok {
return v
}
return "Simhotstart(" + strconv.FormatInt(int64(e), 10) + ")"
}