Skip to content

Commit

Permalink
MAINT: Localize HighsLinearObjective
Browse files Browse the repository at this point in the history
  • Loading branch information
HaoZeke committed Jan 9, 2025
1 parent d865e6a commit b559b82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/highs_bindings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1408,7 +1408,7 @@ PYBIND11_MODULE(_core, m, py::mod_gil_not_used()) {
.def(py::init<>())
.def_readwrite("simplex_time", &HighsIisInfo::simplex_time)
.def_readwrite("simplex_iterations", &HighsIisInfo::simplex_iterations);
py::class_<HighsLinearObjective>(m, "HighsLinearObjective")
py::class_<HighsLinearObjective>(m, "HighsLinearObjective", py::module_local())
.def(py::init<>())
.def_readwrite("weight", &HighsLinearObjective::weight)
.def_readwrite("offset", &HighsLinearObjective::offset)
Expand Down

0 comments on commit b559b82

Please sign in to comment.