From 5ee280b96fc51ea6745fa78363d4abbfdb93b8a8 Mon Sep 17 00:00:00 2001 From: Koen van Greevenbroek Date: Tue, 5 Oct 2021 11:00:30 +0200 Subject: [PATCH] Update default CPLEX options following PyPSA update For more recent versions of CPLEX and PyPSA, using dotted options works while the current default crashes a CPLEX solve with "AttributeError: 'RootParameterGroup' object has no attribute 'barrier_convergetol'". See https://github.com/PyPSA/PyPSA/pull/168. --- config.default.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config.default.yaml b/config.default.yaml index d97f4712..74f03d69 100755 --- a/config.default.yaml +++ b/config.default.yaml @@ -238,8 +238,8 @@ solving: # threads: 4 # lpmethod: 4 # barrier # solutiontype: 2 # non basic solution, ie no crossover - # barrier_convergetol: 1.e-5 - # feasopt_tolerance: 1.e-6 + # barrier.convergetol: 1.e-5 + # feasopt.tolerance: 1.e-6 plotting: map: