generate the ASL object and call the private constructor
| 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_), |
nothing calls this directly
no test coverage detected