Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ include(FetchContent)
FetchContent_Declare(
qoco
GIT_REPOSITORY https://github.com/qoco-org/qoco.git
GIT_TAG 6dd96bf4cd231518c781e7c2bf296fa55b464610
GIT_TAG 129e942a566f5cc8c4aea9644d91205f4ef150a6
)

list(POP_BACK CMAKE_MESSAGE_INDENT)
Expand Down
2 changes: 2 additions & 0 deletions src/bindings.cpp.in
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,8 @@ PYBIND11_MODULE(@QOCO_EXT_MODULE_NAME@, m)
.def_property_readonly("z", &PyQOCOSolution::get_z)
.def_property_readonly("iters", [](const PyQOCOSolution &sol)
{ return sol._solution.iters; })
.def_property_readonly("ir_iters", [](const PyQOCOSolution &sol)
{ return sol._solution.ir_iters; })
.def_property_readonly("setup_time_sec", [](const PyQOCOSolution &sol)
{ return sol._solution.setup_time_sec; })
.def_property_readonly("solve_time_sec", [](const PyQOCOSolution &sol)
Expand Down
1 change: 1 addition & 0 deletions src/qoco/interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,7 @@ def solve(self):
y=self._solver.solution.y,
z=self._solver.solution.z,
iters=self._solver.solution.iters,
ir_iters=self._solver.solution.ir_iters,
setup_time_sec=self._solver.solution.setup_time_sec,
solve_time_sec=self._solver.solution.solve_time_sec,
obj=self._solver.solution.obj,
Expand Down
Loading