diff --git a/R-proj/DESCRIPTION b/R-proj/DESCRIPTION index a8cd270cf..fd0b3fb18 100644 --- a/R-proj/DESCRIPTION +++ b/R-proj/DESCRIPTION @@ -6,13 +6,14 @@ Author: Vissarion Fisikopoulos [aut, cph, cre Apostolos Chalkis [cph, aut], contributors in file inst/AUTHORS Copyright: file inst/COPYRIGHTS -Description: Provides an R interface for 'volesti' C++ package. 'volesti' computes estimations of volume - of polytopes given by (i) a set of points, (ii) linear inequalities or (iii) Minkowski sum of segments - (a.k.a. zonotopes). There are three algorithms for volume estimation as well as algorithms - for sampling, rounding and rotating polytopes. Moreover, 'volesti' provides algorithms for - estimating copulas useful in computational finance. -Version: 1.1.2-2 -Date: 2021-07-14 +Description: Provides an R interface for 'volesti' C++ package. 'volesti' computes estimations of volume + of polytopes given by (i) a set of points, (ii) linear inequalities or (iii) Minkowski sum of segments + (a.k.a. zonotopes). There are three algorithms for volume estimation as well as algorithms + for sampling, rounding and rotating polytopes. Moreover, 'volesti' provides algorithms for + estimating copulas useful in computational finance. Methods implemented in 'volesti' are described + in A. Chalkis and V. Fisikopoulos (2022) and references therein. +Version: 1.1.2-3 +Date: 2022-10-12 Maintainer: Vissarion Fisikopoulos Depends: Rcpp (>= 0.12.17) Imports: methods, stats @@ -20,4 +21,4 @@ LinkingTo: Rcpp, RcppEigen, BH Suggests: testthat Encoding: UTF-8 RoxygenNote: 7.1.1 -BugReports: https://github.com/GeomScale/volume_approximation/issues +BugReports: https://github.com/GeomScale/volesti/issues diff --git a/R-proj/R/RcppExports.R b/R-proj/R/RcppExports.R index f5e7ce0cc..ba2c1cd6f 100644 --- a/R-proj/R/RcppExports.R +++ b/R-proj/R/RcppExports.R @@ -293,7 +293,7 @@ volume <- function(P, settings = NULL, rounding = FALSE) { #' @param output_file Name of the output file #' #' @examples -#' \dontrun{ +#' \donttest{ #' A0 = matrix(c(-1,0,0,0,-2,1,0,1,-2), nrow=3, ncol=3, byrow = TRUE) #' A1 = matrix(c(-1,0,0,0,0,1,0,1,0), nrow=3, ncol=3, byrow = TRUE) #' A2 = matrix(c(0,0,-1,0,0,0,-1,0,0), nrow=3, ncol=3, byrow = TRUE) diff --git a/R-proj/man/write_sdpa_format_file.Rd b/R-proj/man/write_sdpa_format_file.Rd index 8e6c6b0c0..23ec67147 100644 --- a/R-proj/man/write_sdpa_format_file.Rd +++ b/R-proj/man/write_sdpa_format_file.Rd @@ -18,7 +18,7 @@ Outputs a spectrahedron (the matrices defining a linear matrix inequality) and a to a SDPA format file. } \examples{ -\dontrun{ +\donttest{ A0 = matrix(c(-1,0,0,0,-2,1,0,1,-2), nrow=3, ncol=3, byrow = TRUE) A1 = matrix(c(-1,0,0,0,0,1,0,1,0), nrow=3, ncol=3, byrow = TRUE) A2 = matrix(c(0,0,-1,0,0,0,-1,0,0), nrow=3, ncol=3, byrow = TRUE) diff --git a/R-proj/src/write_sdpa_format_file.cpp b/R-proj/src/write_sdpa_format_file.cpp index 3a607218f..fc6faede1 100644 --- a/R-proj/src/write_sdpa_format_file.cpp +++ b/R-proj/src/write_sdpa_format_file.cpp @@ -29,7 +29,7 @@ //' @param output_file Name of the output file //' //' @examples -//' \dontrun{ +//' \donttest{ //' A0 = matrix(c(-1,0,0,0,-2,1,0,1,-2), nrow=3, ncol=3, byrow = TRUE) //' A1 = matrix(c(-1,0,0,0,0,1,0,1,0), nrow=3, ncol=3, byrow = TRUE) //' A2 = matrix(c(0,0,-1,0,0,0,-1,0,0), nrow=3, ncol=3, byrow = TRUE) diff --git a/cran_gen/NEWS.md b/cran_gen/NEWS.md index 24fb24e05..8e6dcffa3 100644 --- a/cran_gen/NEWS.md +++ b/cran_gen/NEWS.md @@ -39,4 +39,6 @@ - Remove `loadSdpaFormatFile()` and `readSdpaFormatFile()` functions. +# volesti 1.1.2-3 +- Remove unneeded-internal-declaration warning in clang-15 diff --git a/cran_gen/README.md b/cran_gen/README.md index 8a9245ec5..410bce6bd 100644 --- a/cran_gen/README.md +++ b/cran_gen/README.md @@ -1,35 +1,35 @@ # Volume computation and sampling -## About -The `volesti` package provides [R](https://www.r-project.org/) with functions for volume estimation and sampling. In particular, it provides an R interface for the C++ library [**volesti**](https://github.com/GeomScale/volume_approximation). +## About +The `volesti` package provides [R](https://www.r-project.org/) with functions for volume estimation and sampling. In particular, it provides an R interface for the C++ library [**volesti**](https://github.com/GeomScale/volesti). `volesti` computes approximations of volume of polytopes given as a set of points or linear inequalities or as a Minkowski sum of segments (zonotopes). There are algorithms for volume approximation as well as algorithms for sampling, rounding and rotating polytopes. Last but not least, `volesti` provides implementations of geometric algorithms to compute the score of a portfolio given asset returns and to detect financial crises in stock markets. -## Download and install +## Download and install * The latest stable version is available from CRAN. -* The latest development version is available on Github `www.github.com/GeomScale/volume_approximation` +* The latest development version is available on Github `www.github.com/GeomScale/volesti` -* Install `volesti` by running: +* Install `volesti` by running: ``` install.packages("volesti") ``` -* The package-dependencies are: `Rcpp`, `RcppEigen`, `BH`. +* The package-dependencies are: `Rcpp`, `RcppEigen`, `BH`. ## Documentation -* [Using the R Interface](https://github.com/GeomScale/volume_approximation/blob/v1.1.1/doc/r_interface.md) -* [Wikipage with Tutorials and Demos](https://github.com/GeomScale/volume_approximation/wiki) +* [Using the R Interface](https://github.com/GeomScale/volesti/blob/v1.1.1/doc/r_interface.md) +* [Wikipage with Tutorials and Demos](https://github.com/GeomScale/volesti/wiki) * [Tutorial given to PyData meetup](https://vissarion.github.io/tutorials/volesti_tutorial_pydata.html) ## Credits -* [Contributors and Package History](https://github.com/GeomScale/volume_approximation/blob/v1.1.1/doc/credits.md) -* [List of Publications](https://github.com/GeomScale/volume_approximation/blob/v1.1.1/doc/publications.md) +* [Contributors and Package History](https://github.com/GeomScale/volesti/blob/v1.1.1/doc/credits.md) +* [List of Publications](https://github.com/GeomScale/volesti/blob/v1.1.1/doc/publications.md) -Copyright (c) 2012-2020 Vissarion Fisikopoulos -Copyright (c) 2018-2020 Apostolos Chalkis +Copyright (c) 2012-2020 Vissarion Fisikopoulos +Copyright (c) 2018-2020 Apostolos Chalkis -You may redistribute or modify the software under the GNU Lesser General Public License as published by Free Software Foundation, either version 3 of the License, or (at your option) any later version. It is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY. +You may redistribute or modify the software under the GNU Lesser General Public License as published by Free Software Foundation, either version 3 of the License, or (at your option) any later version. It is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY. diff --git a/external/LPsolve_src/include/lp_rlp.h b/external/LPsolve_src/include/lp_rlp.h index 0a6138474..058b45232 100644 --- a/external/LPsolve_src/include/lp_rlp.h +++ b/external/LPsolve_src/include/lp_rlp.h @@ -1655,9 +1655,9 @@ static int lp_yy_get_next_buffer (lp_yyscan_t lp_yyscanner) #ifndef YY_NO_INPUT #ifdef __cplusplus - static int lp_yyinput (lp_yyscan_t lp_yyscanner) + static inline int lp_yyinput (lp_yyscan_t lp_yyscanner) #else - static int input (lp_yyscan_t lp_yyscanner) + static inline int input (lp_yyscan_t lp_yyscanner) #endif {