diff --git a/CMakeLists.txt b/CMakeLists.txt index 55dedf4..052d837 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -23,7 +23,7 @@ include(FetchContent) FetchContent_Declare( qoco GIT_REPOSITORY https://github.com/qoco-org/qoco.git - GIT_TAG 773bfe4854eb53fe05756ede59ef07258b9e1e6a + GIT_TAG 598de4e1aeaa9c522b3bc5bb1a56f3d7287dc14f ) list(POP_BACK CMAKE_MESSAGE_INDENT) diff --git a/backend/cuda/pyproject.toml b/backend/cuda/pyproject.toml index a92e7db..98f1804 100644 --- a/backend/cuda/pyproject.toml +++ b/backend/cuda/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "scikit_build_core.build" [project] name = "qoco-cuda" -version = "0.2.1" +version = "0.2.2" description = "QOCO: Quadratic Objective Conic Optimizer" requires-python = ">=3.8" authors = [{ name = "Govind M. Chari", email = "govindchari1@gmail.com" }] diff --git a/pyproject.toml b/pyproject.toml index 9997e68..48a54bc 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "scikit_build_core.build" [project] name = "qoco" -version = "0.3.1" +version = "0.3.2" description = "QOCO: Quadratic Objective Conic Optimizer" readme = "README.md" requires-python = ">=3.8" diff --git a/src/bindings.cpp.in b/src/bindings.cpp.in index e9186eb..ee1c3a0 100644 --- a/src/bindings.cpp.in +++ b/src/bindings.cpp.in @@ -368,6 +368,8 @@ PYBIND11_MODULE(@QOCO_EXT_MODULE_NAME@, m) { return sol._solution.setup_time_sec; }) .def_property_readonly("solve_time_sec", [](const PyQOCOSolution &sol) { return sol._solution.solve_time_sec; }) + .def_property_readonly("analysis_time_sec", [](const PyQOCOSolution &sol) + { return sol._solution.analysis_time_sec; }) .def_property_readonly("obj", [](const PyQOCOSolution &sol) { return sol._solution.obj; }) .def_property_readonly("pres", [](const PyQOCOSolution &sol) diff --git a/src/qoco/interface.py b/src/qoco/interface.py index 447375f..95a35b6 100644 --- a/src/qoco/interface.py +++ b/src/qoco/interface.py @@ -270,6 +270,7 @@ def solve(self): 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, + analysis_time_sec=self._solver.solution.analysis_time_sec, obj=self._solver.solution.obj, pres=self._solver.solution.pres, dres=self._solver.solution.dres,