Skip to content

Commit

Permalink
New CRAN version 1.1.2-3 fixing clang-15 warnings in lp-solve.
Browse files Browse the repository at this point in the history
  • Loading branch information
vissarion committed Oct 13, 2022
1 parent 102c414 commit 3a79275
Show file tree
Hide file tree
Showing 7 changed files with 29 additions and 26 deletions.
17 changes: 9 additions & 8 deletions R-proj/DESCRIPTION
Expand Up @@ -6,18 +6,19 @@ Author: Vissarion Fisikopoulos <vissarion.fisikopoulos@gmail.com> [aut, cph, cre
Apostolos Chalkis <tolis.chal@gmail.com> [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) <doi:10.32614/RJ-2021-077> and references therein.
Version: 1.1.2-3
Date: 2022-10-12
Maintainer: Vissarion Fisikopoulos <vissarion.fisikopoulos@gmail.com>
Depends: Rcpp (>= 0.12.17)
Imports: methods, stats
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
2 changes: 1 addition & 1 deletion R-proj/R/RcppExports.R
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion R-proj/man/write_sdpa_format_file.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion R-proj/src/write_sdpa_format_file.cpp
Expand Up @@ -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)
Expand Down
2 changes: 2 additions & 0 deletions cran_gen/NEWS.md
Expand Up @@ -39,4 +39,6 @@

- Remove `loadSdpaFormatFile()` and `readSdpaFormatFile()` functions.

# volesti 1.1.2-3

- Remove unneeded-internal-declaration warning in clang-15
26 changes: 13 additions & 13 deletions 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.

4 changes: 2 additions & 2 deletions external/LPsolve_src/include/lp_rlp.h
Expand Up @@ -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

{
Expand Down

0 comments on commit 3a79275

Please sign in to comment.