Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when using CMAES #4

Closed
slehuta opened this issue Nov 19, 2019 · 2 comments
Closed

Error when using CMAES #4

slehuta opened this issue Nov 19, 2019 · 2 comments
Assignees

Comments

@slehuta
Copy link

slehuta commented Nov 19, 2019

while trying to launch calibrar using a different algorithm (CMA-ES), it does not create the ix sub-folders, but just i0 the first one (which is empty).
here is the error message

calib<- calibrate(par=rep(NA,11),fn=objfn, method='cmaes', lower=0,
upper=0.001, control=control)
Error in file(con, "r") : cannot open the connection
Calls: calibrate -> .calibrar -> .cmaes

@slehuta
Copy link
Author

slehuta commented Nov 20, 2019

While running it locally on a dummy model and on ISIS-Fish I get the following error message : Error in arx[, aripop] : indice hors limites (="indices out of bounds"). The command to execute simulation "_i0" is printed 11 times (see below) (population's size is 12) but the simulations do not start.

command printed 11 times before error message appears :
-Xmx1024M -jar F:/ISIS-Fish/calibrISIS/isis-fish-4.4.2.5.jar --simulateWithSimulation testcmaes_i0 F:/ISIS-Fish/calibrISIS/zip_local.zip

@roliveros-ramos
Copy link
Owner

Please, update the calibrar package to the last version. Now you should get the following error:

Error in calibrate(par = rep(5e-05, 11), fn = objfn, method = "cmaes",  : 
  Method 'cmaes' does not support multi-objective optimization, use aggregate=TRUE in 'createObjectiveFunction'.

Re-run your code using aggregate=TRUE when creating the objective function.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants