Veda2.0 Released!


Optimizing solver-opt files for stochastic runs
#1
Dear forum members,

I am currently running a few stochastic models, and I was wondering if there is any optimal/good solver configuration for stochastic models in Veda? I have so far been using the CPLEX solver with solver-option BA121-7. 

I am using a laptop with an AMD Ryzen 7 5800U processor with 8-core/16 thread, and I can see in my SolverOptFiles that I have the thread count set to 7. I assume setting it to -1, leaving only one core free, would make the program run faster.

Does anyone have any input on this or any suggestions for other things I could change?
If I need to give more information let me know. Thank you!
Reply
#2
This is a very nice presentation about cplex options in TIMES https://iea-etsap.org/webinar/CPLEX%20op...models.pdf

Multithreading lowers cpu clocks speed, so using more threads doesn't necessarily improve solution time. In my personal experience, one should never exceed the number of physical cores.
[+] 3 users Like MakRacz's post
Reply
#3
(07-01-2025, 04:02 PM)MakRacz Wrote: This is a very nice presentation about cplex options in TIMES https://iea-etsap.org/webinar/CPLEX%20op...models.pdf

Just popping in here again to say thank you, this presentation was super helpful, and helped in reducing my runtimes Smile
Reply
#4
(09-01-2025, 06:02 PM)LucasRM Wrote:
(07-01-2025, 04:02 PM)MakRacz Wrote: This is a very nice presentation about cplex options in TIMES https://iea-etsap.org/webinar/CPLEX%20op...models.pdf

Just popping in here again to say thank you, this presentation was super helpful, and helped in reducing my runtimes Smile

Could you please briefly explain which specific actions reduced computation time ?
Reply
#5
(13-01-2025, 07:39 PM)VictorG Wrote: Could you please briefly explain which specific actions reduced computation time ?

For me setting predual = -1, in the cplex.opt file cut my runtime down. In one of my model cases it went from 2 hours to 45 min. This is likely due to the fact that my model contains a lot of variables compared to constraints. 
Apart from that my relevant settings are: 
barorder 0 (also recommended)
baralg 1 (The fastest would likely be 3, but I have kept 1 for the solution quality)

I have not used barcolnz yet, and haven't had time to go into depth with the other options either.
[+] 2 users Like LucasRM's post
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  How to adjust the VTRUN.cmd in Parametric Runs philip 4 293 10-04-2026, 11:59 PM
Last Post: AKanudia
  Runs status from run manager lbtermansen 1 251 23-03-2026, 06:49 PM
Last Post: Ravinder
  Subject: How to prevent VEDA from generating vd-files during model runs? KristofferEML 4 794 22-08-2025, 11:48 AM
Last Post: KristofferEML
  Q about parametric runs Antti-L 16 2,795 01-03-2025, 08:30 AM
Last Post: AKanudia
  Stochastic properties group and interpolation LucasRM 4 1,476 18-12-2024, 07:16 PM
Last Post: LucasRM
  Run Manager - Base files Dmytror 5 2,715 31-01-2024, 03:58 PM
Last Post: Ravinder
  Capacity units in gdx/dd files vs veda iris 14 8,476 03-01-2024, 08:04 PM
Last Post: Antti-L
Question VBA code in Veda input files AKanudia 11 5,486 29-12-2023, 09:50 AM
Last Post: AKanudia
  Reducing files Ceas19 14 8,657 10-05-2023, 12:59 PM
Last Post: Ceas19
  Selected files do not contain any Tag(s) which can be read with veda vangelis 5 3,944 10-03-2023, 12:10 PM
Last Post: AKanudia

Forum Jump:


Users browsing this thread: 1 Guest(s)