Skip to content

Commit 5ec57dd

Browse files
committed
New CRAN version 1.1.2-4 Revert back initialization in lp_presolve
1 parent 3a79275 commit 5ec57dd

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

R-proj/DESCRIPTION

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ Description: Provides an R interface for 'volesti' C++ package. 'volesti' comput
1212
for sampling, rounding and rotating polytopes. Moreover, 'volesti' provides algorithms for
1313
estimating copulas useful in computational finance. Methods implemented in 'volesti' are described
1414
in A. Chalkis and V. Fisikopoulos (2022) <doi:10.32614/RJ-2021-077> and references therein.
15-
Version: 1.1.2-3
16-
Date: 2022-10-12
15+
Version: 1.1.2-4
16+
Date: 2022-04-03
1717
Maintainer: Vissarion Fisikopoulos <[email protected]>
1818
Depends: Rcpp (>= 0.12.17)
1919
Imports: methods, stats

R-proj/src/Rproj_externals/lp_solve/lp_presolve.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -170,13 +170,13 @@ STATIC MYBOOL presolve_rebuildUndo(lprec *lp, MYBOOL isprimal)
170170
if(isprimal) {
171171
if(psdata->primalundo != NULL)
172172
mat = psdata->primalundo->tracker;
173-
//solution = lp->full_solution + lp->presolve_undo->orig_rows; // Comment out by Apostolos Chalkis
173+
solution = lp->full_solution + lp->presolve_undo->orig_rows; // Comment out by Apostolos Chalkis
174174
slacks = lp->full_solution;
175175
}
176176
else {
177177
if(psdata->dualundo != NULL)
178178
mat = psdata->dualundo->tracker;
179-
//solution = lp->full_duals; // Comment out by Apostolos Chalkis
179+
solution = lp->full_duals; // Comment out by Apostolos Chalkis
180180
slacks = lp->full_duals + lp->presolve_undo->orig_rows;
181181
}
182182
if(mat == NULL)

cran_gen/NEWS.md

+4
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,7 @@
4242
# volesti 1.1.2-3
4343

4444
- Remove unneeded-internal-declaration warning in clang-15
45+
46+
# volesti 1.1.2-4
47+
48+
- Remove uninitialized warning in clang-16 (lp_presolve)

0 commit comments

Comments
 (0)