diff --git a/include/mp/flat/converter_multiobj.h b/include/mp/flat/converter_multiobj.h index 9e856066f..95c0cb55d 100644 --- a/include/mp/flat/converter_multiobj.h +++ b/include/mp/flat/converter_multiobj.h @@ -111,7 +111,7 @@ class MOManager { // instead of current manual postsolving in ValuePresolver::PostsolveSolution(). const auto& obj_orig = MPD( get_objectives() ); // no linking ///////////////// Read / set default suffixes /////////////////// - std::vector objpr = MPD( ReadDblSuffix( {"objpriority", suf::OBJ} ) ); + std::vector objpr = MPD( ReadIntSuffix( {"objpriority", suf::OBJ} ) ); // int only objpr.resize(obj_orig.size(), 0.0); // blend objectives by default std::vector objwgt = MPD( GetMOWeightsLegacy() ); if (objwgt.empty()) { @@ -122,7 +122,7 @@ class MOManager { objtola.resize(obj_orig.size(), 0.0); std::vector objtolr = MPD( ReadDblSuffix( {"objreltol", suf::OBJ} ) ); objtolr.resize(obj_orig.size(), 0.0); - std::map, std::greater > pr_map; // Decreasing order + std::map, std::greater > pr_map; // Decreasing order for (int i=0; i