What’s new in LAGUN (version 25-06-05-I)

BUGS

  • Performances in save/load projects.

    Using optimisation_3B_contraintes_dures.RDS case (provided by Rebecca Mazloum), study save/load operations used to take a very long time, about a minute, with a generated file size of 733 MB. Saving/loading now takes around four seconds, with a generated file size of 33.7 MB.

  • When a simulation generates too many messages in the console output, the simulation launcher indicates it as being in error with a message stderr maxBuffer length exceeded.

  • In the Qualitative Exploration panel, if some outputs are defined as being in the Constant group, Lagun crashes when Launch Inverse Sampling is used.

  • About windows installer:

    • When Lagun is reinstalled in the same directory as before, its contents are deleted. The installer now tries to preserve certain critical files (runningDir, launcherServer.json, simulator-examples, custom optimizaters and surrogatemodels).
    • Before, the R engine used by Lagun was specified through the PATH environment variable, which is risky (for example, other program installer can change the PATH variable). So, we introduce a dedicated environment variable called LAGUN_R_EXE to specify to LAGUN which R to use.

IMPROVEMENTS

  • When a simulator is run, its console outputs are redirected to a SimulationsLauncher_out.txt file, placed in the current run directory (at the same level as other files such as SimulationsLauncherInfo.json).