Closed p-smirnov closed 11 months ago
This is likely an issue with not installing CPLEX with the installation of gGnome. 26e9102099990c90304d75c051573609e55c4bf3 adds an informative error message and automatically reinstalls gGnome to fix this error.
Also see this (newly added) section in the readme:
WARNING :
JaBbA
uses some functions from gGnome
package as a wrapper that needsCPLEX
functionality to be added to gGnome
. If the dependency package gGnome
was installed before installing JaBbA
or if CPLEX functionality was not added while installing gGnome
or if you get an error while running JaBbA as shown below:
Error in names(x) <- c("xopt", "obj", "status", "extra", "epgap") :
'names' attribute [5] must be the same length as the vector [1]
Error in .C("Rcplex_free", PACKAGE = "gGnome") :
"Rcplex_free" not available for .C() for package "gGnome"
This means gGnome
was installed without CPLEX
functionality. Currently, JaBbA
checks if gGnome
has CPLEX
functionality added while installing and loading the JaBbA package, if not, it will reinstall gGnome to add the CPLEX functionality, so it should take some time for applying this optimization during installation.
Describe the bug It seems I have successfully installed JaBbA, but I am having trouble running the test example. In particular, when I run the code, I am getting an error back from CPLEX. The R error is:
This occurs because CPLEX is returning a CPXERR_BOUNDS_INFEAS error (CODE 1100) instead of a solution.
Here is the full output of JaBbA:
Could someone who is able to successfully run the test case let me know what the expected output is? It would help with understanding what is going wrong.
To Reproduce I am following the instructions to run the test case.
Desktop (please complete the following information): Here is my R sessionInfo for when the error occurs: