MCPcopy Create free account
hub / github.com/cvanaret/Uno / UserModel

Method UserModel

interfaces/UserModel.hpp:33–37  ·  view source on GitHub ↗

problem_type is "LP" for linear, "QP" for quadratic, "NLP" for nonlinear

Source from the content-addressed store, hash-verified

31 public:
32 // problem_type is "LP" for linear, "QP" for quadratic, "NLP" for nonlinear
33 UserModel(const char* problem_type, uno_int number_variables, uno_int base_indexing):
34 problem_type(problem_type_from_string(problem_type)),
35 base_indexing(base_indexing),
36 number_variables(number_variables) {
37 }
38
39 ~UserModel() = default;
40

Callers

nothing calls this directly

Calls 1

problem_type_from_stringFunction · 0.85

Tested by

no test coverage detected