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

Method AMPLModel

interfaces/AMPL/AMPLModel.cpp:52–53  ·  view source on GitHub ↗

generate the ASL object and call the private constructor

Source from the content-addressed store, hash-verified

50
51 // generate the ASL object and call the private constructor
52 AMPLModel::AMPLModel(const std::string& file_name) : AMPLModel(file_name, generate_asl(file_name)) {
53 }
54
55 AMPLModel::AMPLModel(const std::string& file_name, ASL* asl) :
56 Model(file_name, static_cast<size_t>(asl->i.n_var_), static_cast<size_t>(asl->i.n_con_),

Callers

nothing calls this directly

Calls 4

generate_aslFunction · 0.85
RangeClass · 0.85

Tested by

no test coverage detected