From a5f36ac1e601c339587b4f01491a2f9de29183fb Mon Sep 17 00:00:00 2001 From: govindchari Date: Thu, 11 Jun 2026 09:59:36 -0700 Subject: [PATCH 1/2] Add analysis_time_sec to solution struct --- CMakeLists.txt | 2 +- backend/cuda/pyproject.toml | 2 +- pyproject.toml | 2 +- src/bindings.cpp.in | 2 ++ src/qoco/interface.py | 1 + 5 files changed, 6 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 55dedf4..5601484 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 7782d9e9d7f4196cfc758dfe4a290789977a0844 ) 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, From 19162b31a9012f255889783792df014dd4ad592e Mon Sep 17 00:00:00 2001 From: govindchari Date: Thu, 11 Jun 2026 10:07:28 -0700 Subject: [PATCH 2/2] bump qoco --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 5601484..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 7782d9e9d7f4196cfc758dfe4a290789977a0844 + GIT_TAG 598de4e1aeaa9c522b3bc5bb1a56f3d7287dc14f ) list(POP_BACK CMAKE_MESSAGE_INDENT)