You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
No I was not aware that they were needed to be installed on my computer.
I have amplr (ampl API for R) installed. and have set ampl_path = path of ampl.exe (C:\Users\azizb\OneDrive - UNSW\2020 - T1\Antares\amplide.mswin64\ampl.exe)
this has returned the following error
Solve master problem ... Error in solve_master(opts, relax_integrality, ampl_path) :
master problem returned the following error: Cannot invoke cbc: no such program.
I have run the benders command on the test case provided with AntaresXpansion as follows
solv <- "C:\Program Files\RTE\Antares\7.0.1\bin\antares-7.0-solver.exe"
SSS <- "C:\Users\Administrator\Documents\R\win-library\3.6\antaresXpansion\testdata\test_case"
setSimulationPath(SSS,simulation = 0)
benders(solv, display = TRUE, report = TRUE, clean = TRUE,
parallel = TRUE, recovery_mode = FALSE, ampl_path = NULL,
opts = antaresRead::simOptions())
I get the following error:
--- ITERATION 1 (complete iteration, 156 simulated weeks) ---
ANTARES simulation running ... [done]
Solve master problem ... [done]
Error in read.table(paste0(tmp_folder, "/out_underestimator.txt"), header = FALSE) :
no lines available in input
In addition: Warning message:
In system(cmd, intern = intern, wait = wait | intern, show.output.on.console = wait, :
running command 'C:\WINDOWS\system32\cmd.exe /c C: & cd "C:/Users/Administrator/Documents/R/win-library/3.6/antaresXpansion/testdata/test_case/user/expansion/temp" & ampl "C:/Users/Administrator/Documents/R/win-library/3.6/antaresXpansion/testdata/test_case/user/expansion/temp/master_run.ampl" ' had status 1
The text was updated successfully, but these errors were encountered: