Changelog
Source:NEWS.md
ECOSolveR 0.6.2
- Fix wrong mixed-integer solutions from
ECOS_csolve()with boolean variables on platforms wherecharis unsigned (Linux aarch64). Reported by the r-devel linux-arm64 checks.
ECOSolveR 0.6.1
CRAN release: 2026-02-18
Fix UBSan error (misaligned pointer from
REAL()on zero-length vector) inbuild_result()when no equality constraints are present (p = 0). Reported by CRAN M1 SAN checks.Add multi-step solver lifecycle API:
ECOS_setup(),ECOS_solve(),ECOS_update(), andECOS_cleanup()allow re-solving problems with changed numerical data (same sparsity structure) without repeating symbolic analysis. Workspace held in an external pointer with GC finalizer; user data vectors are duplicated to prevent corruption from ECOS in-place equilibration.Switch R-level error messaging from
stop()tocli::cli_abort()with inline markup ({.arg},{.cls},{.code},{.field}). Theclipackage is now inImports.Add lifecycle tests (10 tests covering setup, solve, update, cleanup, and helper functions).
ECOSolveR 0.5-7
Switch ECOS submodule to fork (bnaras/ecos,
r-patchesbranch); removeecos-2954b2a-changes/overlay and simplify Makevars.Fix copy-paste bug in
Amatrix validation (inherits(G,...)was used instead ofinherits(A,...)).Enable dimension consistency check (
sum(q) + l + 3*e == nrow(G)).Signal an R error instead of returning silent
NULLwhenECOS_setuporECOS_BB_setupfails.Fix
R_initfunction name to match package name (R_init_ECOSolveR).Narrow
import(methods)toimportFrom(methods, as).C solver fixes: wright omega Taylor series bug, NULL dereference and memory leaks in ECOS_BB, integer truncation in pfloat rounding, missing include guards,
printfreplaced withRprintf.Cherry-pick upstream NaN bail-out (PR #181) and
ECOS_updateDataNULL-safety fix (PR #185) from ECOS develop branch.Add unit tests for
ecos.control,make_csc_matrix, dimension validation, and plain-matrixAhandling. Fixtest-bb.Rto namespace-qualifyMatrix::sparseMatrix.
ECOSolveR 0.5-4
- Address the issue caused by Matrix 1.3.x: Force coercion to “dgCMatrix” if not so. Make corresponding change in vignette.
ECOSolveR 0.5-3
- Fix some awful cut-and-paste error in
R/ecos.R - Address edge case for ECOS_BB when
GisNULL.
ECOSolveR 0.5-1
ECOS source fix for header
glblopts.hthat definedECOS_NANusing portable R versionR_NaNandR_PosInf. This caused the convolution example inCVXRpackage to fail on 32-bit platforms.Added a convolution test to be specific.
ECOSolveR 0.5
CRAN release: 2019-03-20
ECOS update: Synced underlying library to version 2.0.7.
Removed import of
Matrixpackage, addedslaminterface, contributions from Florian Schwendinger.Tests: Added a number of unit tests based on base C library.
ECOSolveR 0.4
CRAN release: 2018-02-18
-
ECOS_csolveassumesAandGasNULLif any dimension is 0 - The dims list is now coerced to integer immediately upon entry to
ECOS_csolve - ECOS library sources updated to version 2.0.5.
ECOSolveR 0.3-[1-3]
CRAN release: 2017-05-16
- Updated Readme
- Allowed empty vector
c, per Anqi’s request