diff --git a/lib/highs_model.cpp b/lib/highs_model.cpp index cb3e45e..1e67705 100644 --- a/lib/highs_model.cpp +++ b/lib/highs_model.cpp @@ -125,10 +125,6 @@ void POIHighsModel::write(const std::string &filename) VariableIndex POIHighsModel::add_variable(VariableDomain domain, double lb, double ub, const char *name) { - if (name != nullptr && name[0] == '\0') - { - name = nullptr; - } IndexT index = m_variable_index.add_index(); VariableIndex variable(index);