volesti icon indicating copy to clipboard operation
volesti copied to clipboard

Error is generated while trying to run Volesti in RStudio of Win11

Open Soumya624 opened this issue 2 years ago • 7 comments
trafficstars

Description Error is generated while trying to run Volesti in RStudio of Win11. Although bug is not appearing in Linux or WSL

Screenshots Screenshot20191555

Soumya624 avatar Mar 24 '23 06:03 Soumya624

Could you try generating the CRAN package and try to install it? What happens if you try to install the CRAN from https://cran.r-project.org/web/packages/volesti/index.html See also https://github.com/GeomScale/volesti/issues/271#issuecomment-1475816023

vissarion avatar Mar 24 '23 07:03 vissarion

Hi @vissarion ,

Thanks for the previous link. After going through it, I found the problem was there due to lp_solve library.

Screenshot 2023-03-28 021708

Even after trying install.packages("lpSolve"), it was storing somewhere else. So, fixed the issue by changing the Makevars.win file.

Basically, added PKG_LIBS = -L"C:/Program Files/lp_solve_5.5/" -llpsolve55, in that file. And replaced the "C:/Program Files/lp_solve_5.5/" with the actual path to the directory where the lp_solve library is installed.

Then installed the volesti package again using the command devtools::install_github(...)

Soumya624 avatar Mar 27 '23 20:03 Soumya624

Should i update this in a PR? Also would like to work on the idea "Move R interface of volesti to a new repository", if it's still vacant. I think issues will be less if we start building a separate repository for volesti_R!

Soumya624 avatar Mar 27 '23 21:03 Soumya624

It is not clear that the issue is general and not an issue of your environment, since the package is building correctly in several windows platforms (see github actions and CRAN tests). Is your Rstudio version and/or windows version different than the ones in CI tests?

Regarding GSoC project, this is off topics here, please follow the relevant instructions on GeomScale wiki for GSoC23.

vissarion avatar Mar 31 '23 08:03 vissarion

Hi @vissarion , Double checked the version. And it seems they are same.

Soumya624 avatar Apr 02 '23 11:04 Soumya624

Thanks, please open a PR.

vissarion avatar Apr 03 '23 07:04 vissarion

@vissarion ,

Please have a look at the PR(#275 )

Thanks!

Soumya624 avatar Apr 03 '23 12:04 Soumya624