Exploring the Near-Optimal Feasible Space¶
Here, we use modelling to generate alternatives (MGA) to explore the near-opimal feasible space of a simple one-node model in the style of model.energy (the same as in the previous MGA example).
While we explored the use of n.optimize.optimize_mga() in the previous example, PyPSA includes a few additional functions making it convenient to work with near-optimal spaces in a geometric way. While the optimize_mga function solves a network with an alternative objective function (given by the weights argument), n.optimize_mga_in_direction is a simple alternative useful for exploring trade-offs between multiple alternative objectives. It takes two key arguments: a dictionary of dimensions, specifying multiple alternative objectives in the same format as the previously mentioned weights, and a direction representing a vector in the coordinate space defined by dimensions.
In this example, we explore the trade-offs between wind and solar expansion in a simple renewables-based system. Therefore, we define our dimensions (or alternative objectives) as total installed wind capacity and total installed solar capacity in MW, respectively. These dimensions can also be seen as defining a projection of near-optimal space of the model down to two dimensions.
:::{note} See also this research article for a background on dimension reduction and approximation of near-optimal spaces. :::
import matplotlib.pyplot as plt
from matplotlib.collections import LineCollection
from scipy.spatial import ConvexHull, convex_hull_plot_2d
import pypsa
Before any near-optimal analysis can start, the model has to be solved to optimality first. This is in order to find the minimum system cost, which is later used to define a system cost bound for near-optimality (i.e. "slack", usually in percentage of minimum system cost).
n = pypsa.examples.model_energy()
n.snapshots = n.snapshots[::3] # Crude reduction of time resolution for speed
n.generators.at["load shedding", "marginal_cost"] = 20000
n.optimize(solver_name="gurobi")
/home/runner/work/PyPSA/PyPSA/pypsa/network/io.py:2085: FutureWarning: pandas infers the `str` dtype for string data since its version 3.0. PyPSA still converts it back to numpy object dtype on import, but will keep it from PyPSA 2.0 on. Set `pypsa.options.api.legacy_string_dtype` explicitly to suppress this warning. new_static = _coerce_string_dtypes(new_static)
INFO:pypsa.network.io:Imported network 'Model-Energy' has buses, carriers, generators, links, loads, storage_units, stores
/tmp/ipykernel_4124/2365194803.py:4: FutureWarning: The default value of `include_objective_constant` will change from True to False in version 2.0. Set `include_objective_constant` explicitly to suppress this warning. Using False improves LP numerical conditioning by not including the objective constant as a variable. n.optimize(solver_name="gurobi")
INFO:linopy.model: Solve problem using Gurobi solver
INFO:linopy.model:Solver options: - log_to_console: False
INFO:linopy.io:Writing objective.
Writing constraints.: 0%| | 0/25 [00:00<?, ?it/s]
Writing constraints.: 100%|██████████| 25/25 [00:00<00:00, 258.89it/s]
Writing continuous variables.: 0%| | 0/12 [00:00<?, ?it/s]
Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 443.34it/s]
INFO:linopy.io: Writing time: 0.14s
Set parameter WLSAccessID
Set parameter WLSSecret
Set parameter LicenseID to value 2537914
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Read LP format model from file /tmp/linopy-problem-t03nu5ng.lp
Reading time = 0.03 seconds
obj: 23382 rows, 10720 columns, 43368 nonzeros
Set parameter LogToConsole to value 0
INFO:linopy.constants: Optimization successful: Status: ok Termination condition: optimal Solution: 10720 primals, 25330 duals Objective: 6.90e+09 Solver: gurobi Runtime: 0.78s Dual bound: 6.90e+09 Solver model: available Solver message: 2
INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Generator-ext-p-lower, Generator-ext-p-upper, Link-ext-p-lower, Link-ext-p-upper, Store-ext-e-lower, Store-ext-e-upper, Store-ext-p-lower, Store-ext-p-upper, Store-ext-p_store-lower, Store-ext-p_store-upper, StorageUnit-ext-p_dispatch-lower, StorageUnit-ext-p_dispatch-upper, StorageUnit-ext-p_store-lower, StorageUnit-ext-p_store-upper, StorageUnit-ext-state_of_charge-lower, StorageUnit-ext-state_of_charge-upper, StorageUnit-energy_balance, Store-energy_balance were not assigned to the network.
('ok', 'optimal')
Individual dimensions are specified just like the weights argument for the n.optimize.optimize_mga function: a nested dictionary of components, variables and finally a series or dictionary giving weights to individual components.
Here, we define two dimensions, and give them the user-defined names "wind" and "solar" (the keys in the outer dictionary). These names are arbitrary and don't have to match names of underlaying components.
dimensions = {
"wind": {"Generator": {"p_nom": {"wind": 1}}},
"solar": {"Generator": {"p_nom": {"solar": 1}}},
}
Suppose we are interested in minimizing wind capacity alone, and also interested in minimizing the total capacity of wind and solar. These correspond to the directions (-1, 0) and (-1, -1) in wind-solar coordinate space, respectively. Let's see what is possible within a 5% total system cost slack.
_, _, min_wind = n.optimize.optimize_mga_in_direction(
dimensions=dimensions,
direction={
"wind": -1,
"solar": 0,
}, # Use coordinate names matching those given in `dimensions`
slack=0.05,
)
_, _, min_wind_solar = n.optimize.optimize_mga_in_direction(
dimensions=dimensions,
direction={"wind": -1, "solar": -1},
slack=0.05,
)
display(min_wind)
display(min_wind_solar)
/opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/contextlib.py:85: FutureWarning: The default value of `include_objective_constant` will change from True to False in version 2.0. Set `include_objective_constant` explicitly to suppress this warning. Using False improves LP numerical conditioning by not including the objective constant as a variable. return func(*args, **kwds)
INFO:linopy.model: Solve problem using Gurobi solver
INFO:linopy.model:Solver options: - log_to_console: False
INFO:linopy.io:Writing objective.
Writing constraints.: 0%| | 0/26 [00:00<?, ?it/s]
Writing constraints.: 100%|██████████| 26/26 [00:00<00:00, 265.69it/s]
Writing continuous variables.: 0%| | 0/12 [00:00<?, ?it/s]
Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 443.89it/s]
INFO:linopy.io: Writing time: 0.14s
Set parameter WLSAccessID
Set parameter WLSSecret
Set parameter LicenseID to value 2537914
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Read LP format model from file /tmp/linopy-problem-5v4yqofv.lp
Reading time = 0.03 seconds
obj: 23383 rows, 10720 columns, 44348 nonzeros
Set parameter LogToConsole to value 0
INFO:linopy.constants: Optimization successful: Status: ok Termination condition: optimal Solution: 10720 primals, 25331 duals Objective: 1.70e+04 Solver: gurobi Runtime: 0.19s Dual bound: 1.70e+04 Solver model: available Solver message: 2
INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Generator-ext-p-lower, Generator-ext-p-upper, Link-ext-p-lower, Link-ext-p-upper, Store-ext-e-lower, Store-ext-e-upper, Store-ext-p-lower, Store-ext-p-upper, Store-ext-p_store-lower, Store-ext-p_store-upper, StorageUnit-ext-p_dispatch-lower, StorageUnit-ext-p_dispatch-upper, StorageUnit-ext-p_store-lower, StorageUnit-ext-p_store-upper, StorageUnit-ext-state_of_charge-lower, StorageUnit-ext-state_of_charge-upper, StorageUnit-energy_balance, Store-energy_balance, budget were not assigned to the network.
/opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/contextlib.py:85: FutureWarning: The default value of `include_objective_constant` will change from True to False in version 2.0. Set `include_objective_constant` explicitly to suppress this warning. Using False improves LP numerical conditioning by not including the objective constant as a variable. return func(*args, **kwds)
INFO:linopy.model: Solve problem using Gurobi solver
INFO:linopy.model:Solver options: - log_to_console: False
INFO:linopy.io:Writing objective.
Writing constraints.: 0%| | 0/26 [00:00<?, ?it/s]
Writing constraints.: 100%|██████████| 26/26 [00:00<00:00, 268.09it/s]
Writing continuous variables.: 0%| | 0/12 [00:00<?, ?it/s]
Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 429.67it/s]
INFO:linopy.io: Writing time: 0.14s
Set parameter WLSAccessID
Set parameter WLSSecret
Set parameter LicenseID to value 2537914
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Read LP format model from file /tmp/linopy-problem-y99354zp.lp
Reading time = 0.03 seconds
obj: 23383 rows, 10720 columns, 44348 nonzeros
Set parameter LogToConsole to value 0
INFO:linopy.constants: Optimization successful: Status: ok Termination condition: optimal Solution: 10720 primals, 25331 duals Objective: 4.75e+04 Solver: gurobi Runtime: 0.25s Dual bound: 4.75e+04 Solver model: available Solver message: 2
INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Generator-ext-p-lower, Generator-ext-p-upper, Link-ext-p-lower, Link-ext-p-upper, Store-ext-e-lower, Store-ext-e-upper, Store-ext-p-lower, Store-ext-p-upper, Store-ext-p_store-lower, Store-ext-p_store-upper, StorageUnit-ext-p_dispatch-lower, StorageUnit-ext-p_dispatch-upper, StorageUnit-ext-p_store-lower, StorageUnit-ext-p_store-upper, StorageUnit-ext-state_of_charge-lower, StorageUnit-ext-state_of_charge-upper, StorageUnit-energy_balance, Store-energy_balance, budget were not assigned to the network.
wind 17006.298742 solar 44921.817858 dtype: float64
wind 29563.944662 solar 17925.539753 dtype: float64
Results are returned as dictionaries represting coordinates in the wind-solar space. The dictionaries use the same user-given coordinate names that we passed in the dimensions argument. We see that minimizing wind alone leads to a large installation of solar, while minimizing both jointly leads to a more balanced solution.
In order to get a full picture of the near-optimal space (projected to the wind and solar dimensions), it is useful to optimize in many directions and consider the convex hull of the resulting points.
Of course, you can use optimize_mga_in_direction manually to do this. For convenience, PyPSA also provides the optimize_mga_in_multiple_directions function. This function takes a list of directions (or a pandas DataFrame with rows for directions), and uses built-in Python multiprocessing functionality to optimize in these directions in parallel. In the event of any individual optimisations failing, only the successful ones are returned.
While the user is free to select directions themselves, PyPSA also includes some simple functions (for instance, pypsa.optimization.mga.generate_directions_randomber of random directions in the format expected by optimize_mga_in_multiple_directions`.
directions = pypsa.optimization.mga.generate_directions_random(
dimensions.keys(), 10, seed=0
)
dirs, pts = n.optimize.optimize_mga_in_multiple_directions(
dimensions=dimensions,
directions=directions,
slack=0.05,
solver_name="gurobi",
# Solve in up to 8 directions in parallel.
max_parallel=8,
)
INFO:pypsa.network.io:Exported network 'Model-Energy' saved to '/tmp/tmpl_p91vae.nc contains: carriers, generators, links, loads, stores, buses, storage_units
/home/runner/work/PyPSA/PyPSA/pypsa/network/io.py:2085: FutureWarning: pandas infers the `str` dtype for string data since its version 3.0. PyPSA still converts it back to numpy object dtype on import, but will keep it from PyPSA 2.0 on. Set `pypsa.options.api.legacy_string_dtype` explicitly to suppress this warning. new_static = _coerce_string_dtypes(new_static) /home/runner/work/PyPSA/PyPSA/pypsa/network/io.py:2085: FutureWarning: pandas infers the `str` dtype for string data since its version 3.0. PyPSA still converts it back to numpy object dtype on import, but will keep it from PyPSA 2.0 on. Set `pypsa.options.api.legacy_string_dtype` explicitly to suppress this warning. new_static = _coerce_string_dtypes(new_static)
/home/runner/work/PyPSA/PyPSA/pypsa/network/io.py:2085: FutureWarning: pandas infers the `str` dtype for string data since its version 3.0. PyPSA still converts it back to numpy object dtype on import, but will keep it from PyPSA 2.0 on. Set `pypsa.options.api.legacy_string_dtype` explicitly to suppress this warning. new_static = _coerce_string_dtypes(new_static)
/home/runner/work/PyPSA/PyPSA/pypsa/network/io.py:2085: FutureWarning: pandas infers the `str` dtype for string data since its version 3.0. PyPSA still converts it back to numpy object dtype on import, but will keep it from PyPSA 2.0 on. Set `pypsa.options.api.legacy_string_dtype` explicitly to suppress this warning. new_static = _coerce_string_dtypes(new_static)
/home/runner/work/PyPSA/PyPSA/pypsa/network/io.py:2085: FutureWarning: pandas infers the `str` dtype for string data since its version 3.0. PyPSA still converts it back to numpy object dtype on import, but will keep it from PyPSA 2.0 on. Set `pypsa.options.api.legacy_string_dtype` explicitly to suppress this warning. new_static = _coerce_string_dtypes(new_static) /home/runner/work/PyPSA/PyPSA/pypsa/network/io.py:2085: FutureWarning: pandas infers the `str` dtype for string data since its version 3.0. PyPSA still converts it back to numpy object dtype on import, but will keep it from PyPSA 2.0 on. Set `pypsa.options.api.legacy_string_dtype` explicitly to suppress this warning. new_static = _coerce_string_dtypes(new_static) /opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/contextlib.py:85: FutureWarning: The default value of `include_objective_constant` will change from True to False in version 2.0. Set `include_objective_constant` explicitly to suppress this warning. Using False improves LP numerical conditioning by not including the objective constant as a variable. return func(*args, **kwds) /opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/contextlib.py:85: FutureWarning: The default value of `include_objective_constant` will change from True to False in version 2.0. Set `include_objective_constant` explicitly to suppress this warning. Using False improves LP numerical conditioning by not including the objective constant as a variable. return func(*args, **kwds)
/home/runner/work/PyPSA/PyPSA/pypsa/network/io.py:2085: FutureWarning: pandas infers the `str` dtype for string data since its version 3.0. PyPSA still converts it back to numpy object dtype on import, but will keep it from PyPSA 2.0 on. Set `pypsa.options.api.legacy_string_dtype` explicitly to suppress this warning. new_static = _coerce_string_dtypes(new_static) /home/runner/work/PyPSA/PyPSA/pypsa/network/io.py:2085: FutureWarning: pandas infers the `str` dtype for string data since its version 3.0. PyPSA still converts it back to numpy object dtype on import, but will keep it from PyPSA 2.0 on. Set `pypsa.options.api.legacy_string_dtype` explicitly to suppress this warning. new_static = _coerce_string_dtypes(new_static) /opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/contextlib.py:85: FutureWarning: The default value of `include_objective_constant` will change from True to False in version 2.0. Set `include_objective_constant` explicitly to suppress this warning. Using False improves LP numerical conditioning by not including the objective constant as a variable. return func(*args, **kwds)
/opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/contextlib.py:85: FutureWarning: The default value of `include_objective_constant` will change from True to False in version 2.0. Set `include_objective_constant` explicitly to suppress this warning. Using False improves LP numerical conditioning by not including the objective constant as a variable. return func(*args, **kwds)
/opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/contextlib.py:85: FutureWarning: The default value of `include_objective_constant` will change from True to False in version 2.0. Set `include_objective_constant` explicitly to suppress this warning. Using False improves LP numerical conditioning by not including the objective constant as a variable. return func(*args, **kwds) /opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/contextlib.py:85: FutureWarning: The default value of `include_objective_constant` will change from True to False in version 2.0. Set `include_objective_constant` explicitly to suppress this warning. Using False improves LP numerical conditioning by not including the objective constant as a variable. return func(*args, **kwds)
/opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/contextlib.py:85: FutureWarning: The default value of `include_objective_constant` will change from True to False in version 2.0. Set `include_objective_constant` explicitly to suppress this warning. Using False improves LP numerical conditioning by not including the objective constant as a variable. return func(*args, **kwds)
/opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/contextlib.py:85: FutureWarning: The default value of `include_objective_constant` will change from True to False in version 2.0. Set `include_objective_constant` explicitly to suppress this warning. Using False improves LP numerical conditioning by not including the objective constant as a variable. return func(*args, **kwds)
Writing constraints.: 0%| | 0/26 [00:00<?, ?it/s] Writing constraints.: 27%|██▋ | 7/26 [00:00<00:00, 57.46it/s] Writing constraints.: 0%| | 0/26 [00:00<?, ?it/s]
Writing constraints.: 65%|██████▌ | 17/26 [00:00<00:00, 74.46it/s] Writing constraints.: 62%|██████▏ | 16/26 [00:00<00:00, 156.46it/s] Writing constraints.: 96%|█████████▌| 25/26 [00:00<00:00, 53.98it/s]
Writing constraints.: 100%|██████████| 26/26 [00:00<00:00, 57.77it/s] Writing continuous variables.: 0%| | 0/12 [00:00<?, ?it/s] Writing constraints.: 100%|██████████| 26/26 [00:00<00:00, 84.69it/s] Writing continuous variables.: 0%| | 0/12 [00:00<?, ?it/s] Writing continuous variables.: 67%|██████▋ | 8/12 [00:00<00:00, 78.44it/s] Writing continuous variables.: 92%|█████████▏| 11/12 [00:00<00:00, 107.98it/s] Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 85.11it/s] Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 108.10it/s] Writing constraints.: 0%| | 0/26 [00:00<?, ?it/s]
Set parameter WLSAccessID
Set parameter WLSSecret
Set parameter LicenseID to value 2537914
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Set parameter WLSAccessID
Set parameter WLSSecret
Set parameter LicenseID to value 2537914
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Read LP format model from file /tmp/linopy-problem-aitzprii.lp
Reading time = 0.11 seconds
obj: 23383 rows, 10720 columns, 44348 nonzeros
Gurobi Optimizer version 13.0.2 build v13.0.2rc1 (linux64 - "Ubuntu 24.04.5 LTS")
CPU model: AMD EPYC 7763 64-Core Processor, instruction set [SSE2|AVX|AVX2]
Thread count: 2 physical cores, 4 logical processors, using up to 4 threads
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Optimize a model with 23383 rows, 10720 columns and 44348 nonzeros (Min)
Read LP format model from file /tmp/linopy-problem-xjtyq2j_.lp
Reading time = 0.11 seconds
obj: 23383 rows, 10720 columns, 44348 nonzeros
Gurobi Optimizer version 13.0.2 build v13.0.2rc1 (linux64 - "Ubuntu 24.04.5 LTS")
CPU model: AMD EPYC 7763 64-Core Processor, instruction set [SSE2|AVX|AVX2]
Thread count: 2 physical cores, 4 logical processors, using up to 4 threads
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Optimize a model with 23383 rows, 10720 columns and 44348 nonzeros (Min)
Model fingerprint: 0x92ecc80d
Model has 2 linear objective coefficients
Coefficient statistics:
Matrix range [1e-03, 2e+05]
Objective range [5e-01, 9e-01]
Bounds range [0e+00, 0e+00]
RHS range [5e+03, 8e+09]
Warning: Model contains large rhs
Consider reformulating model or setting NumericFocus parameter
to avoid numerical issues.
Model fingerprint: 0xcc168b6c
Model has 2 linear objective coefficients
Coefficient statistics:
Matrix range [1e-03, 2e+05]
Objective range [2e-01, 1e+00]
Bounds range [0e+00, 0e+00]
RHS range [5e+03, 8e+09]
Warning: Model contains large rhs
Consider reformulating model or setting NumericFocus parameter
to avoid numerical issues.
Presolve removed 13136 rows and 2416 columns
Presolve time: 0.07s
Presolved: 10247 rows, 8304 columns, 29770 nonzeros
Concurrent LP optimizer: dual simplex and barrier
Showing barrier log only...
Presolve removed 13136 rows and 2416 columns
Presolve time: 0.07s
Presolved: 10247 rows, 8304 columns, 29770 nonzeros
Concurrent LP optimizer: dual simplex and barrier
Showing barrier log only...
Writing constraints.: 31%|███ | 8/26 [00:00<00:00, 75.83it/s] Writing constraints.: 62%|██████▏ | 16/26 [00:00<00:00, 75.40it/s]
Ordering time: 0.01s
Barrier statistics:
Dense cols : 6
AA' NZ : 2.537e+04
Factor NZ : 1.718e+05 (roughly 9 MB of memory)
Factor Ops : 2.974e+06 (less than 1 second per iteration)
Threads : 1
Ordering time: 0.02s
Objective Residual
Iter Primal Dual Primal Dual Compl Time
0 -2.94984273e+04 -1.85858639e+07 7.39e+08 9.73e-02 1.83e+05 0s
Barrier statistics:
Dense cols : 6
AA' NZ : 2.537e+04
Factor NZ : 1.718e+05 (roughly 9 MB of memory)
Factor Ops : 2.974e+06 (less than 1 second per iteration)
Threads : 1
1 -5.73482597e+05 -1.72466694e+07 1.12e+08 1.91e-01 9.39e+04 0s
Objective Residual
Iter Primal Dual Primal Dual Compl Time
0 -4.87789142e+04 -2.03647123e+07 7.39e+08 2.13e-01 4.00e+05 0s
2 -4.64443217e+05 -6.07041553e+06 6.25e+07 3.45e-03 1.55e+04 0s
1 -7.57897577e+05 -1.90348559e+07 1.12e+08 4.26e-01 2.09e+05 0s
3 -3.57144739e+04 -2.66031216e+06 2.40e+06 1.83e-04 8.67e+02 0s
4 -2.59939979e+04 -8.12111708e+05 4.64e+05 2.15e-06 1.54e+02 0s
2 -6.56311510e+05 -6.82787650e+06 6.30e+07 8.00e-03 3.54e+04 0s
5 -2.71093423e+04 -3.97598438e+05 1.37e+05 3.59e-16 5.47e+01 0s
3 -5.78196487e+04 -2.98822222e+06 2.35e+06 3.58e-04 1.92e+03 0s
6 -2.93245813e+04 -1.65281310e+05 9.65e+04 1.45e-16 2.03e+01 0s
7 -3.39216651e+04 -1.20926912e+05 6.72e+04 8.60e-17 1.25e+01 0s
8 -4.07731018e+04 -1.01290258e+05 2.43e+04 3.95e-17 7.94e+00 0s
4 -4.57361688e+04 -1.05504568e+06 5.18e+05 7.11e-07 4.04e+02 0s
9 -4.18577361e+04 -9.77091628e+04 2.20e+04 6.80e-17 7.30e+00 0s
5 -4.56036841e+04 -5.14081188e+05 1.79e+05 6.82e-16 1.44e+02 0s
Writing constraints.: 92%|█████████▏| 24/26 [00:00<00:00, 67.65it/s] Writing constraints.: 100%|██████████| 26/26 [00:00<00:00, 69.81it/s] Writing continuous variables.: 0%| | 0/12 [00:00<?, ?it/s] Writing constraints.: 0%| | 0/26 [00:00<?, ?it/s] Writing continuous variables.: 92%|█████████▏| 11/12 [00:00<00:00, 106.08it/s] Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 104.89it/s] Writing constraints.: 15%|█▌ | 4/26 [00:00<00:00, 36.00it/s]
10 -4.50614303e+04 -8.71416982e+04 1.73e+04 6.77e-17 5.49e+00 0s 11 -4.66949654e+04 -8.24800609e+04 1.53e+04 4.62e-17 4.67e+00 0s 6 -4.78778263e+04 -1.96373732e+05 1.06e+05 6.33e-16 4.42e+01 0s 12 -4.78450469e+04 -8.09551082e+04 1.33e+04 6.22e-17 4.30e+00 0s 7 -5.22136298e+04 -1.50916290e+05 6.86e+04 3.52e-16 2.79e+01 0s 13 -5.00396400e+04 -6.88512330e+04 9.67e+03 6.95e-17 2.48e+00 0s 8 -5.73920847e+04 -1.19414543e+05 2.43e+04 2.78e-16 1.61e+01 0s 14 -5.24707389e+04 -6.32159332e+04 4.34e+03 5.85e-17 1.39e+00 0s 9 -6.08814006e+04 -1.06249412e+05 1.94e+04 2.25e-16 1.18e+01 0s 15 -5.36191364e+04 -6.06078904e+04 2.20e+03 6.43e-09 8.93e-01 0s 10 -6.29629212e+04 -1.04664423e+05 1.61e+04 2.51e-16 1.08e+01 0s 16 -5.42779257e+04 -5.83093445e+04 1.20e+03 5.51e-08 5.17e-01 0s 11 -6.57727061e+04 -9.80544693e+04 1.21e+04 1.40e-16 8.31e+00 0s 17 -5.46078337e+04 -5.56419050e+04 7.06e+02 1.01e-07 1.46e-01 0s 12 -6.77330880e+04 -8.67887607e+04 8.32e+03 1.18e-16 4.95e+00 0s Set parameter WLSAccessID Set parameter WLSSecret Set parameter LicenseID to value 2537914 Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de 18 -5.49244162e+04 -5.53534638e+04 1.99e+02 6.13e-08 6.00e-02 0s 13 -6.91768021e+04 -8.16871485e+04 5.82e+03 1.21e-16 3.26e+00 0s 19 -5.49900086e+04 -5.50925431e+04 1.06e+02 2.18e-08 1.61e-02 0s 14 -7.11465344e+04 -7.40056997e+04 1.77e+03 1.69e-16 7.60e-01 0s 20 -5.50607985e+04 -5.50689325e+04 4.83e+00 5.17e-09 6.96e-04 0s 21 -5.50644023e+04 -5.50650394e+04 3.07e-03 9.98e-10 5.07e-06 1s 15 -7.19554958e+04 -7.36299634e+04 5.47e+02 1.71e-16 4.25e-01 1s
22 -5.50644091e+04 -5.50644100e+04 8.21e-08 1.55e-12 5.07e-09 1s
Barrier solved model in 22 iterations and 0.52 seconds (0.14 work units)
Optimal objective -5.50644091e+04
16 -7.21304332e+04 -7.26442313e+04 2.63e+02 5.40e-09 1.34e-01 1s
Crossover log...
17 -7.22381031e+04 -7.24379893e+04 8.81e+01 5.72e-09 5.13e-02 1s
Read LP format model from file /tmp/linopy-problem-uq0w10vb.lp
Reading time = 0.11 seconds
obj: 23383 rows, 10720 columns, 44348 nonzeros
Gurobi Optimizer version 13.0.2 build v13.0.2rc1 (linux64 - "Ubuntu 24.04.5 LTS")
CPU model: AMD EPYC 7763 64-Core Processor, instruction set [SSE2|AVX|AVX2]
Thread count: 2 physical cores, 4 logical processors, using up to 4 threads
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Optimize a model with 23383 rows, 10720 columns and 44348 nonzeros (Min)
Model fingerprint: 0xd39a8ea3
Model has 2 linear objective coefficients
Coefficient statistics:
Matrix range [1e-03, 2e+05]
Objective range [4e-01, 9e-01]
Bounds range [0e+00, 0e+00]
RHS range [5e+03, 8e+09]
Warning: Model contains large rhs
Consider reformulating model or setting NumericFocus parameter
to avoid numerical issues.
18 -7.22932074e+04 -7.22990170e+04 8.80e-08 3.78e-09 1.22e-03 1s
5 DPushes remaining with DInf 0.0000000e+00 1s
0 DPushes remaining with DInf 0.0000000e+00 1s
2102 PPushes remaining with PInf 0.0000000e+00 1s
19 -7.22950964e+04 -7.22951014e+04 1.16e-09 7.69e-12 1.22e-06 1s
20 -7.22950983e+04 -7.22950983e+04 5.59e-08 1.08e-13 1.22e-09 1s
Barrier solved model in 20 iterations and 0.60 seconds (0.13 work units)
Optimal objective -7.22950983e+04
Crossover log...
70 DPushes remaining with DInf 0.0000000e+00 1s
Presolve removed 13136 rows and 2416 columns
Presolve time: 0.11s
Presolved: 10247 rows, 8304 columns, 29770 nonzeros
Concurrent LP optimizer: dual simplex and barrier
Showing barrier log only...
0 DPushes remaining with DInf 0.0000000e+00 1s
2088 PPushes remaining with PInf 0.0000000e+00 1s
0 PPushes remaining with PInf 0.0000000e+00 1s
Push phase complete: Pinf 0.0000000e+00, Dinf 1.5230872e-15 1s
Crossover time: 0.17 seconds (0.08 work units)
Solved with barrier
Ordering time: 0.02s
Barrier statistics:
Dense cols : 6
AA' NZ : 2.537e+04
Factor NZ : 1.718e+05 (roughly 9 MB of memory)
Factor Ops : 2.974e+06 (less than 1 second per iteration)
Threads : 1
Iteration Objective Primal Inf. Dual Inf. Time
2110 -5.5064409e+04 0.000000e+00 0.000000e+00 1s
Solved in 2110 iterations and 0.72 seconds (0.22 work units)
Optimal objective -5.506440906e+04
Writing constraints.: 31%|███ | 8/26 [00:00<00:00, 32.57it/s] Writing constraints.: 46%|████▌ | 12/26 [00:00<00:00, 29.38it/s]
Objective Residual
Iter Primal Dual Primal Dual Compl Time
0 -3.84277753e+04 -1.01893163e+07 7.39e+08 5.34e-02 1.00e+05 0s
0 PPushes remaining with PInf 0.0000000e+00 1s
Push phase complete: Pinf 0.0000000e+00, Dinf 3.1571967e-15 1s
1 -5.88627026e+05 -8.63304171e+06 1.06e+08 1.01e-01 4.70e+04 0s
Crossover time: 0.18 seconds (0.07 work units)
Solved with barrier
Iteration Objective Primal Inf. Dual Inf. Time
2159 -7.2295098e+04 0.000000e+00 0.000000e+00 1s
Solved in 2159 iterations and 0.79 seconds (0.21 work units)
Optimal objective -7.229509830e+04
2 -3.02640008e+05 -2.65460064e+06 5.39e+07 1.00e-03 5.76e+03 0s
3 -3.93470599e+04 -1.21615079e+06 1.69e+06 3.37e-05 3.05e+02 0s
4 -3.67919431e+04 -3.79883814e+05 4.14e+05 3.39e-16 6.35e+01 0s
5 -3.79544560e+04 -1.90968025e+05 1.60e+05 1.31e-16 2.29e+01 0s
6 -3.92330041e+04 -1.05644029e+05 8.95e+04 9.09e-17 9.31e+00 0s
7 -4.09823772e+04 -9.14206769e+04 6.65e+04 5.87e-17 6.90e+00 0s
Writing constraints.: 69%|██████▉ | 18/26 [00:00<00:00, 36.70it/s] Writing constraints.: 88%|████████▊ | 23/26 [00:00<00:00, 38.17it/s] Writing constraints.: 100%|██████████| 26/26 [00:00<00:00, 37.35it/s] Writing continuous variables.: 0%| | 0/12 [00:00<?, ?it/s]
8 -4.21117876e+04 -8.43978774e+04 5.47e+04 4.83e-17 5.71e+00 0s 9 -4.45134950e+04 -7.97152874e+04 3.84e+04 3.96e-17 4.65e+00 0s 10 -4.55308380e+04 -7.73766316e+04 3.41e+04 3.30e-17 4.19e+00 0s 11 -4.61409130e+04 -7.13614930e+04 2.73e+04 2.13e-17 3.30e+00 1s 12 -4.80059206e+04 -6.62457463e+04 1.97e+04 1.90e-17 2.38e+00 1s 13 -4.91132693e+04 -6.11491298e+04 1.12e+04 2.15e-17 1.55e+00 1s 14 -5.01191061e+04 -5.74747919e+04 7.52e+03 2.11e-17 9.50e-01 1s 15 -5.08748252e+04 -5.55699360e+04 4.79e+03 3.62e-17 6.06e-01 1s
Writing continuous variables.: 75%|███████▌ | 9/12 [00:00<00:00, 88.81it/s] Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 87.67it/s] Writing constraints.: 0%| | 0/26 [00:00<?, ?it/s] Writing constraints.: 19%|█▉ | 5/26 [00:00<00:00, 49.02it/s]
Set parameter WLSAccessID
Set parameter WLSSecret
Set parameter LicenseID to value 2537914
16 -5.09158146e+04 -5.53164000e+04 4.64e+03 2.91e-17 5.69e-01 1s
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
17 -5.11701864e+04 -5.49379715e+04 3.70e+03 3.75e-17 4.85e-01 1s
18 -5.15267813e+04 -5.34065789e+04 2.30e+03 2.63e-17 2.46e-01 1s
19 -5.17187370e+04 -5.32627062e+04 1.43e+03 2.33e-17 1.98e-01 1s
Read LP format model from file /tmp/linopy-problem-bwgxi3hw.lp
Reading time = 0.10 seconds
obj: 23383 rows, 10720 columns, 44348 nonzeros
20 -5.19115893e+04 -5.27778979e+04 5.74e+02 2.80e-17 1.10e-01 1s
Gurobi Optimizer version 13.0.2 build v13.0.2rc1 (linux64 - "Ubuntu 24.04.5 LTS")
CPU model: AMD EPYC 7763 64-Core Processor, instruction set [SSE2|AVX|AVX2]
Thread count: 2 physical cores, 4 logical processors, using up to 4 threads
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Optimize a model with 23383 rows, 10720 columns and 44348 nonzeros (Min)
Model fingerprint: 0x62df6c84
Model has 2 linear objective coefficients
Coefficient statistics:
Matrix range [1e-03, 2e+05]
Objective range [2e-01, 1e+00]
Bounds range [0e+00, 0e+00]
RHS range [5e+03, 8e+09]
Warning: Model contains large rhs
Consider reformulating model or setting NumericFocus parameter
to avoid numerical issues.
21 -5.20218342e+04 -5.22009258e+04 1.47e+02 1.46e-09 2.30e-02 1s
22 -5.20513366e+04 -5.21046918e+04 5.00e+01 2.55e-09 6.93e-03 1s
Presolve removed 13136 rows and 2416 columns
Presolve time: 0.07s
Presolved: 10247 rows, 8304 columns, 29770 nonzeros
Concurrent LP optimizer: dual simplex and barrier
Showing barrier log only...
23 -5.20641552e+04 -5.20702975e+04 6.53e+00 1.85e-09 8.25e-04 1s
24 -5.20665695e+04 -5.20676433e+04 2.45e-02 4.62e-10 1.37e-04 1s
Ordering time: 0.02s
Barrier statistics:
Dense cols : 6
AA' NZ : 2.537e+04
Factor NZ : 1.718e+05 (roughly 9 MB of memory)
Factor Ops : 2.974e+06 (less than 1 second per iteration)
Threads : 1
25 -5.20665944e+04 -5.20666161e+04 5.94e-08 1.14e-10 1.29e-06 1s
Objective Residual
Iter Primal Dual Primal Dual Compl Time
26 -5.20665961e+04 -5.20665967e+04 6.78e-08 5.80e-12 1.29e-09 1s
Barrier solved model in 26 iterations and 0.90 seconds (0.16 work units)
Optimal objective -5.20665961e+04
0 -4.79166792e+04 -2.06285536e+07 7.39e+08 2.16e-01 4.05e+05 0s
Crossover log...
1 -7.53813806e+05 -1.92701132e+07 1.12e+08 4.31e-01 2.11e+05 0s
608 DPushes remaining with DInf 0.0000000e+00 1s
2 -6.51340768e+05 -6.89668689e+06 6.29e+07 8.07e-03 3.57e+04 0s
3 -5.73276150e+04 -3.02034185e+06 2.40e+06 3.64e-04 1.97e+03 0s
4 -4.48505834e+04 -1.07502187e+06 5.23e+05 1.16e-06 4.13e+02 0s
5 -4.47191059e+04 -5.18911584e+05 1.77e+05 9.65e-16 1.46e+02 0s
0 DPushes remaining with DInf 0.0000000e+00 1s
Writing constraints.: 38%|███▊ | 10/26 [00:00<00:00, 38.73it/s] Writing constraints.: 58%|█████▊ | 15/26 [00:00<00:00, 41.33it/s]
2262 PPushes remaining with PInf 0.0000000e+00 1s
6 -4.70401487e+04 -1.98157582e+05 1.08e+05 4.97e-16 4.51e+01 0s
7 -5.15559669e+04 -1.51095578e+05 6.98e+04 4.06e-16 2.82e+01 0s
8 -5.71044661e+04 -1.20042612e+05 2.39e+04 3.27e-16 1.64e+01 0s
9 -6.05254026e+04 -1.07502798e+05 1.91e+04 2.17e-16 1.22e+01 0s
10 -6.26899693e+04 -1.05793804e+05 1.59e+04 1.94e-16 1.11e+01 0s
11 -6.60632456e+04 -9.87213920e+04 1.13e+04 1.29e-16 8.38e+00 0s
12 -6.71884347e+04 -9.11707308e+04 8.91e+03 1.68e-16 6.17e+00 0s
0 PPushes remaining with PInf 0.0000000e+00 1s
Push phase complete: Pinf 0.0000000e+00, Dinf 6.3924560e-16 1s
Crossover time: 0.34 seconds (0.12 work units)
Solved with barrier
13 -6.96388227e+04 -8.61335392e+04 4.19e+03 9.07e-17 4.16e+00 0s
Writing constraints.: 77%|███████▋ | 20/26 [00:00<00:00, 38.97it/s] Writing constraints.: 92%|█████████▏| 24/26 [00:00<00:00, 34.72it/s] Writing constraints.: 100%|██████████| 26/26 [00:00<00:00, 37.30it/s] Writing continuous variables.: 0%| | 0/12 [00:00<?, ?it/s]
Iteration Objective Primal Inf. Dual Inf. Time
2871 -5.2066596e+04 0.000000e+00 0.000000e+00 1s
Solved in 2871 iterations and 1.28 seconds (0.29 work units)
Optimal objective -5.206659614e+04
14 -7.08992414e+04 -7.60687922e+04 1.64e+03 1.88e-16 1.31e+00 1s
15 -7.16372468e+04 -7.50180089e+04 5.69e+02 1.51e-16 8.38e-01 1s
16 -7.17831957e+04 -7.34965046e+04 3.81e+02 1.19e-16 4.28e-01 1s
17 -7.20070778e+04 -7.23634418e+04 7.92e+01 2.94e-09 8.89e-02 1s
18 -7.20713109e+04 -7.20878372e+04 3.56e+00 2.43e-09 4.34e-03 1s
19 -7.20770917e+04 -7.20771089e+04 1.84e-07 2.35e-10 1.37e-05 1s
20 -7.20771072e+04 -7.20771072e+04 1.05e-08 3.53e-13 3.79e-09 1s
Barrier solved model in 20 iterations and 0.66 seconds (0.13 work units)
Optimal objective -7.20771072e+04
Crossover log...
71 DPushes remaining with DInf 0.0000000e+00 1s
Writing continuous variables.: 50%|█████ | 6/12 [00:00<00:00, 58.02it/s] Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 62.06it/s] Writing constraints.: 0%| | 0/26 [00:00<?, ?it/s]
0 DPushes remaining with DInf 0.0000000e+00 1s
2070 PPushes remaining with PInf 0.0000000e+00 1s
Set parameter WLSAccessID
Set parameter WLSSecret
Set parameter LicenseID to value 2537914
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
0 PPushes remaining with PInf 0.0000000e+00 1s
Push phase complete: Pinf 0.0000000e+00, Dinf 5.2943760e-15 1s
Crossover time: 0.18 seconds (0.07 work units)
Solved with barrier
Read LP format model from file /tmp/linopy-problem-huj3kym2.lp
Reading time = 0.05 seconds
obj: 23383 rows, 10720 columns, 44348 nonzeros
Gurobi Optimizer version 13.0.2 build v13.0.2rc1 (linux64 - "Ubuntu 24.04.5 LTS")
CPU model: AMD EPYC 7763 64-Core Processor, instruction set [SSE2|AVX|AVX2]
Thread count: 2 physical cores, 4 logical processors, using up to 4 threads
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Optimize a model with 23383 rows, 10720 columns and 44348 nonzeros (Min)
Model fingerprint: 0x08fa6695
Model has 2 linear objective coefficients
Coefficient statistics:
Matrix range [1e-03, 2e+05]
Objective range [7e-01, 7e-01]
Bounds range [0e+00, 0e+00]
RHS range [5e+03, 8e+09]
Warning: Model contains large rhs
Consider reformulating model or setting NumericFocus parameter
to avoid numerical issues.
Iteration Objective Primal Inf. Dual Inf. Time
2144 -7.2077107e+04 0.000000e+00 0.000000e+00 1s
Solved in 2144 iterations and 0.87 seconds (0.21 work units)
Optimal objective -7.207710721e+04
Warning: environment still referenced so free is deferred (Continue to use WLS)
Presolve removed 13136 rows and 2416 columns
Presolve time: 0.05s
Presolved: 10247 rows, 8304 columns, 29770 nonzeros
Concurrent LP optimizer: dual simplex and barrier
Showing barrier log only...
Ordering time: 0.01s
Warning: environment still referenced so free is deferred (Continue to use WLS)
Writing constraints.: 23%|██▎ | 6/26 [00:00<00:00, 55.66it/s]
Barrier statistics:
Dense cols : 6
AA' NZ : 2.537e+04
Factor NZ : 1.718e+05 (roughly 9 MB of memory)
Factor Ops : 2.974e+06 (less than 1 second per iteration)
Threads : 1
Objective Residual
Iter Primal Dual Primal Dual Compl Time
0 4.69065011e+04 -8.49418387e+06 7.35e+08 0.00e+00 8.29e+04 0s
1 3.29840876e+05 -7.93588465e+06 1.13e+08 6.88e-02 4.26e+04 0s
2 3.87527978e+05 -2.40940129e+06 5.53e+07 1.52e-03 5.78e+03 0s
3 5.54148654e+04 -1.09406327e+06 3.10e+06 9.48e-05 4.32e+02 0s
4 4.26860316e+04 -3.62650034e+05 4.12e+05 8.84e-07 7.40e+01 0s
5 4.17235226e+04 -1.44984326e+05 1.86e+05 1.49e-16 2.88e+01 0s
6 4.10793369e+04 -1.50376505e+04 1.19e+05 1.06e-16 8.54e+00 0s
7 3.73198556e+04 1.73924198e+04 2.37e+04 3.67e-17 2.59e+00 0s
8 3.56027411e+04 2.51349211e+04 1.27e+04 1.46e-08 1.33e+00 0s
9 3.41927793e+04 2.91404635e+04 4.64e+03 7.64e-08 6.29e-01 0s
10 3.36608204e+04 3.10859505e+04 2.09e+03 8.44e-08 3.19e-01 0s
11 3.32984815e+04 3.24968742e+04 6.32e+02 6.02e-08 1.01e-01 0s
12 3.31601527e+04 3.27504773e+04 2.71e+02 5.83e-08 5.17e-02 0s
13 3.31130880e+04 3.28765837e+04 1.52e+02 4.69e-08 3.01e-02 0s
14 3.30660410e+04 3.30361018e+04 3.48e+01 2.42e-08 4.24e-03 0s
15 3.30523241e+04 3.30499211e+04 5.44e+00 6.02e-09 4.84e-04 0s
16 3.30495796e+04 3.30495493e+04 2.63e-01 9.71e-10 2.34e-05 0s
17 3.30494304e+04 3.30494375e+04 1.09e-08 4.81e-11 3.30e-08 0s
18 3.30494303e+04 3.30494303e+04 5.36e-09 4.86e-14 3.30e-11 0s
Barrier solved model in 18 iterations and 0.42 seconds (0.12 work units)
Optimal objective 3.30494303e+04
Crossover log...
13 DPushes remaining with DInf 0.0000000e+00 0s
0 DPushes remaining with DInf 0.0000000e+00 0s
745 PPushes remaining with PInf 0.0000000e+00 0s
Writing constraints.: 46%|████▌ | 12/26 [00:00<00:00, 31.51it/s] Writing constraints.: 65%|██████▌ | 17/26 [00:00<00:00, 34.93it/s] Writing constraints.: 0%| | 0/26 [00:00<?, ?it/s]
0 PPushes remaining with PInf 0.0000000e+00 1s
Push phase complete: Pinf 0.0000000e+00, Dinf 2.4459601e-16 1s
Crossover time: 0.12 seconds (0.02 work units)
Solved with barrier
Iteration Objective Primal Inf. Dual Inf. Time
761 3.3049430e+04 0.000000e+00 0.000000e+00 1s
Solved in 761 iterations and 0.55 seconds (0.15 work units)
Optimal objective 3.304943025e+04
Writing constraints.: 81%|████████ | 21/26 [00:00<00:00, 35.81it/s] Writing constraints.: 15%|█▌ | 4/26 [00:00<00:00, 34.78it/s] Writing constraints.: 96%|█████████▌| 25/26 [00:00<00:00, 34.40it/s] Writing constraints.: 31%|███ | 8/26 [00:00<00:00, 36.22it/s] Writing constraints.: 100%|██████████| 26/26 [00:00<00:00, 35.13it/s] Writing continuous variables.: 0%| | 0/12 [00:00<?, ?it/s]
Writing continuous variables.: 67%|██████▋ | 8/12 [00:00<00:00, 75.72it/s] Writing constraints.: 58%|█████▊ | 15/26 [00:00<00:00, 45.16it/s] Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 84.50it/s] Writing constraints.: 0%| | 0/26 [00:00<?, ?it/s] Writing constraints.: 15%|█▌ | 4/26 [00:00<00:00, 34.94it/s] Writing constraints.: 77%|███████▋ | 20/26 [00:00<00:00, 36.87it/s]
Set parameter WLSAccessID
Set parameter WLSSecret
Set parameter LicenseID to value 2537914
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Warning: environment still referenced so free is deferred (Continue to use WLS)
Read LP format model from file /tmp/linopy-problem-lo6e6pfn.lp
Reading time = 0.10 seconds
obj: 23383 rows, 10720 columns, 44348 nonzeros
Gurobi Optimizer version 13.0.2 build v13.0.2rc1 (linux64 - "Ubuntu 24.04.5 LTS")
CPU model: AMD EPYC 7763 64-Core Processor, instruction set [SSE2|AVX|AVX2]
Thread count: 2 physical cores, 4 logical processors, using up to 4 threads
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Optimize a model with 23383 rows, 10720 columns and 44348 nonzeros (Min)
Model fingerprint: 0x910aba5d
Model has 2 linear objective coefficients
Coefficient statistics:
Matrix range [1e-03, 2e+05]
Objective range [2e-01, 1e+00]
Bounds range [0e+00, 0e+00]
RHS range [5e+03, 8e+09]
Warning: Model contains large rhs
Consider reformulating model or setting NumericFocus parameter
to avoid numerical issues.
Presolve removed 13136 rows and 2416 columns
Presolve time: 0.10s
Presolved: 10247 rows, 8304 columns, 29770 nonzeros
Concurrent LP optimizer: dual simplex and barrier
Showing barrier log only...
Ordering time: 0.02s Barrier statistics: Dense cols : 6 AA' NZ : 2.537e+04 Factor NZ : 1.718e+05 (roughly 9 MB of memory) Factor Ops : 2.974e+06 (less than 1 second per iteration) Threads : 1
Writing constraints.: 31%|███ | 8/26 [00:00<00:00, 30.34it/s] Writing constraints.: 92%|█████████▏| 24/26 [00:00<00:00, 32.36it/s]
Objective Residual
Iter Primal Dual Primal Dual Compl Time
0 -4.08929095e+04 -2.06701892e+07 7.39e+08 2.16e-01 4.06e+05 0s
1 -6.95393047e+05 -1.92514725e+07 1.12e+08 4.29e-01 2.11e+05 0s
2 -5.88490385e+05 -6.82792694e+06 6.27e+07 7.91e-03 3.51e+04 0s
3 -4.92217599e+04 -2.99085056e+06 2.41e+06 3.86e-04 1.95e+03 0s
4 -3.71122643e+04 -9.91338770e+05 4.60e+05 4.35e-06 3.68e+02 0s
5 -3.75502088e+04 -4.46147848e+05 1.53e+05 7.14e-16 1.23e+02 0s
6 -4.01556739e+04 -1.85053371e+05 9.37e+04 5.48e-16 4.31e+01 0s
Writing constraints.: 100%|██████████| 26/26 [00:00<00:00, 35.37it/s] Writing continuous variables.: 0%| | 0/12 [00:00<?, ?it/s] Writing constraints.: 62%|██████▏ | 16/26 [00:00<00:00, 49.11it/s] Writing constraints.: 100%|██████████| 26/26 [00:00<00:00, 60.34it/s] Writing continuous variables.: 0%| | 0/12 [00:00<?, ?it/s] Writing continuous variables.: 58%|█████▊ | 7/12 [00:00<00:00, 65.32it/s]
7 -4.48182192e+04 -1.38011865e+05 6.43e+04 4.79e-16 2.65e+01 0s
8 -5.06217845e+04 -1.16879383e+05 2.94e+04 3.39e-16 1.76e+01 0s
Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 63.18it/s] Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 130.80it/s]
9 -5.40998696e+04 -1.02565883e+05 2.11e+04 2.78e-16 1.28e+01 0s
10 -5.69987939e+04 -9.44257225e+04 1.79e+04 2.25e-16 9.89e+00 0s
Set parameter WLSAccessID
Set parameter WLSSecret
Set parameter LicenseID to value 2537914
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
11 -6.01569011e+04 -8.92711769e+04 1.30e+04 2.40e-16 7.63e+00 0s
Set parameter WLSAccessID
Set parameter WLSSecret
Set parameter LicenseID to value 2537914
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
12 -6.22553163e+04 -8.26725583e+04 8.98e+03 2.15e-16 5.33e+00 0s
13 -6.46073689e+04 -7.76147199e+04 3.99e+03 1.45e-16 3.31e+00 1s
Read LP format model from file /tmp/linopy-problem-xup38sjw.lp
Reading time = 0.08 seconds
obj: 23383 rows, 10720 columns, 44348 nonzeros
Gurobi Optimizer version 13.0.2 build v13.0.2rc1 (linux64 - "Ubuntu 24.04.5 LTS")
CPU model: AMD EPYC 7763 64-Core Processor, instruction set [SSE2|AVX|AVX2]
Thread count: 2 physical cores, 4 logical processors, using up to 4 threads
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Optimize a model with 23383 rows, 10720 columns and 44348 nonzeros (Min)
Model fingerprint: 0x89b90907
Model has 2 linear objective coefficients
Coefficient statistics:
Matrix range [1e-03, 2e+05]
Objective range [1e-01, 1e+00]
Bounds range [0e+00, 0e+00]
RHS range [5e+03, 8e+09]
Warning: Model contains large rhs
Consider reformulating model or setting NumericFocus parameter
to avoid numerical issues.
Warning: environment still referenced so free is deferred (Continue to use WLS)
14 -6.56519721e+04 -7.06663804e+04 2.13e+03 1.65e-16 1.30e+00 1s
Presolve removed 13136 rows and 2416 columns Presolve time: 0.03s Presolved: 10247 rows, 8304 columns, 29770 nonzeros Concurrent LP optimizer: dual simplex and barrier Showing barrier log only...
15 -6.64781939e+04 -6.84302847e+04 7.18e+02 1.34e-08 5.05e-01 1s 16 -6.65429055e+04 -6.73886554e+04 6.12e+02 3.21e-09 2.30e-01 1s Ordering time: 0.02s
Barrier statistics:
Dense cols : 6
AA' NZ : 2.537e+04
Factor NZ : 1.718e+05 (roughly 9 MB of memory)
Factor Ops : 2.974e+06 (less than 1 second per iteration)
Threads : 1
17 -6.65787566e+04 -6.70935741e+04 5.27e+02 6.97e-09 1.46e-01 1s
Read LP format model from file /tmp/linopy-problem-0md5veq0.lp
Reading time = 0.14 seconds
obj: 23383 rows, 10720 columns, 44348 nonzeros
Gurobi Optimizer version 13.0.2 build v13.0.2rc1 (linux64 - "Ubuntu 24.04.5 LTS")
CPU model: AMD EPYC 7763 64-Core Processor, instruction set [SSE2|AVX|AVX2]
Thread count: 2 physical cores, 4 logical processors, using up to 4 threads
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Optimize a model with 23383 rows, 10720 columns and 44348 nonzeros (Min)
Model fingerprint: 0xe23520a4
Model has 2 linear objective coefficients
Coefficient statistics:
Matrix range [1e-03, 2e+05]
Objective range [2e-01, 1e+00]
Bounds range [0e+00, 0e+00]
RHS range [5e+03, 8e+09]
Warning: Model contains large rhs
Consider reformulating model or setting NumericFocus parameter
to avoid numerical issues.
Warning: environment still referenced so free is deferred (Continue to use WLS)
Objective Residual
Iter Primal Dual Primal Dual Compl Time
0 -2.66190241e+04 -1.11494357e+07 7.39e+08 1.17e-01 2.19e+05 0s
1 -4.07942254e+05 -9.70306174e+06 1.06e+08 2.26e-01 1.06e+05 0s
18 -6.69147925e+04 -6.70141162e+04 8.34e+00 2.15e-08 2.30e-02 1s
2 -2.68948268e+05 -3.67300319e+06 5.63e+07 2.56e-03 1.74e+04 0s
3 -3.13701785e+04 -1.67655683e+06 1.33e+06 3.81e-05 7.67e+02 0s
19 -6.69232379e+04 -6.69284665e+04 1.18e-05 7.50e-10 1.22e-03 1s
20 -6.69268141e+04 -6.69268507e+04 8.28e-07 1.25e-10 1.09e-05 1s
4 -3.03950885e+04 -4.36005216e+05 4.32e+05 1.09e-15 1.55e+02 0s
Presolve removed 13136 rows and 2416 columns
Presolve time: 0.14s
Presolved: 10247 rows, 8304 columns, 29770 nonzeros
Concurrent LP optimizer: dual simplex and barrier
Showing barrier log only...
5 -3.19837191e+04 -2.05153636e+05 1.82e+05 4.50e-16 5.36e+01 0s
21 -6.69268159e+04 -6.69268160e+04 6.94e-08 8.45e-14 1.09e-08 1s
6 -3.38294243e+04 -1.30454309e+05 1.01e+05 2.55e-16 2.75e+01 0s 22 -6.69268159e+04 -6.69268159e+04 6.45e-08 5.37e-15 1.09e-11 1s Barrier solved model in 22 iterations and 0.79 seconds (0.14 work units) Optimal objective -6.69268159e+04
7 -3.58692087e+04 -1.05990781e+05 6.66e+04 2.12e-16 1.92e+01 0s
Crossover log...
Ordering time: 0.02s
Barrier statistics:
Dense cols : 6
AA' NZ : 2.537e+04
Factor NZ : 1.718e+05 (roughly 9 MB of memory)
Factor Ops : 2.974e+06 (less than 1 second per iteration)
Threads : 1
8 -3.77012781e+04 -9.94185538e+04 5.26e+04 1.68e-16 1.66e+01 0s
9 -4.17721893e+04 -8.99740319e+04 3.72e+04 1.97e-16 1.27e+01 0s
Objective Residual
Iter Primal Dual Primal Dual Compl Time
0 -1.06617948e+04 -1.09516645e+07 7.39e+08 1.15e-01 2.15e+05 0s
4 DPushes remaining with DInf 0.0000000e+00 1s
10 -4.22110796e+04 -8.54495125e+04 3.57e+04 1.64e-16 1.14e+01 0s
0 DPushes remaining with DInf 0.0000000e+00 1s
2041 PPushes remaining with PInf 0.0000000e+00 1s
1 -2.72024693e+05 -9.61473801e+06 1.06e+08 2.24e-01 1.05e+05 0s
11 -4.14730889e+04 -8.10883081e+04 2.83e+04 9.65e-17 1.03e+01 0s
12 -4.55034311e+04 -7.45845000e+04 1.69e+04 1.08e-16 7.43e+00 0s
2 -1.83792027e+05 -3.47979761e+06 5.68e+07 2.45e-03 1.68e+04 0s
13 -4.70047754e+04 -7.13077835e+04 1.38e+04 1.35e-16 6.19e+00 0s
14 -4.89308913e+04 -5.92862749e+04 8.26e+03 6.65e-17 2.69e+00 0s
3 -2.23559804e+04 -1.60105872e+06 1.52e+06 4.68e-05 7.85e+02 0s 15 -4.87034591e+04 -5.86310623e+04 7.68e+03 8.58e-17 2.57e+00 0s 16 -5.04930230e+04 -5.67795718e+04 3.78e+03 7.92e-17 1.60e+00 0s
17 -5.05050487e+04 -5.66322820e+04 3.72e+03 6.51e-17 1.56e+00 0s
4 -2.10620254e+04 -4.30028790e+05 4.45e+05 1.29e-15 1.58e+02 0s
18 -5.07430533e+04 -5.64186001e+04 2.97e+03 1.11e-16 1.44e+00 0s
0 PPushes remaining with PInf 0.0000000e+00 1s
Push phase complete: Pinf 0.0000000e+00, Dinf 5.8737737e-15 1s
5 -2.33074192e+04 -1.89684652e+05 1.58e+05 4.92e-16 5.07e+01 0s
19 -5.12457498e+04 -5.39684046e+04 9.32e+02 3.74e-17 6.77e-01 1s
Crossover time: 0.25 seconds (0.06 work units)
Solved with barrier
6 -2.60787802e+04 -1.17764130e+05 1.08e+05 2.39e-16 2.72e+01 0s
20 -5.13891315e+04 -5.27897904e+04 6.82e+02 3.69e-10 3.52e-01 1s
Iteration Objective Primal Inf. Dual Inf. Time
2048 -6.6926816e+04 0.000000e+00 0.000000e+00 1s
Solved in 2048 iterations and 1.08 seconds (0.21 work units)
Optimal objective -6.692681594e+04
7 -2.88965448e+04 -9.96670087e+04 7.72e+04 2.05e-16 2.02e+01 0s
21 -5.14841628e+04 -5.22375575e+04 4.82e+02 6.10e-09 1.91e-01 1s
8 -3.28450297e+04 -8.91689071e+04 5.29e+04 1.33e-16 1.56e+01 0s
22 -5.16267842e+04 -5.19363844e+04 1.99e+02 7.90e-09 7.85e-02 1s
9 -3.63303425e+04 -8.13941800e+04 4.26e+04 1.63e-16 1.24e+01 1s
23 -5.17012398e+04 -5.18008595e+04 5.31e+01 1.62e-09 2.50e-02 1s
24 -5.17117768e+04 -5.17659886e+04 3.38e+01 1.93e-10 1.37e-02 1s
10 -3.66752507e+04 -7.53820149e+04 3.70e+04 1.43e-16 1.05e+01 1s
25 -5.17173692e+04 -5.17562764e+04 2.42e+01 1.61e-10 9.85e-03 1s 11 -4.12711507e+04 -6.61630944e+04 2.05e+04 1.33e-16 6.62e+00 1s 26 -5.17306809e+04 -5.17342516e+04 4.13e-01 2.05e-10 8.69e-04 1s
12 -4.21032539e+04 -5.95628311e+04 1.76e+04 1.20e-16 4.72e+00 1s
27 -5.17309569e+04 -5.17313821e+04 2.10e-01 1.97e-10 1.06e-04 1s 13 -4.36382016e+04 -5.73050120e+04 1.20e+04 9.42e-17 3.64e+00 1s 28 -5.17311698e+04 -5.17312298e+04 4.06e-02 7.15e-11 1.52e-05 1s 14 -4.40999902e+04 -5.64464094e+04 8.52e+03 9.70e-17 3.22e+00 1s 29 -5.17312192e+04 -5.17312202e+04 3.66e-06 6.55e-11 2.42e-07 1s 15 -4.48455051e+04 -5.12350282e+04 5.87e+03 6.51e-17 1.70e+00 1s 30 -5.17312195e+04 -5.17312195e+04 1.91e-08 4.36e-14 2.42e-10 1s Barrier solved model in 30 iterations and 0.78 seconds (0.18 work units) Optimal objective -5.17312195e+04 Crossover log... 16 -4.58314921e+04 -4.73362681e+04 1.18e+03 1.77e-09 3.92e-01 1s
17 -4.63745506e+04 -4.66961684e+04 2.74e+02 1.03e-08 8.41e-02 1s
5 DPushes remaining with DInf 0.0000000e+00 1s
0 DPushes remaining with DInf 0.0000000e+00 1s
18 -4.65169809e+04 -4.66093795e+04 6.08e+01 6.43e-09 2.37e-02 1s
1988 PPushes remaining with PInf 0.0000000e+00 1s
19 -4.65572324e+04 -4.65846976e+04 4.46e+00 4.38e-09 6.71e-03 1s
20 -4.65595223e+04 -4.65625586e+04 1.48e+00 3.16e-10 7.63e-04 1s
21 -4.65612096e+04 -4.65622801e+04 5.43e-02 4.15e-10 2.56e-04 1s
0 PPushes remaining with PInf 0.0000000e+00 1s
Push phase complete: Pinf 0.0000000e+00, Dinf 8.8210689e-16 1s
Crossover time: 0.18 seconds (0.06 work units)
22 -4.65612635e+04 -4.65612637e+04 2.21e-06 2.51e-12 1.95e-08 1s
Solved with barrier
Iteration Objective Primal Inf. Dual Inf. Time
1996 -5.1731219e+04 0.000000e+00 0.000000e+00 1s
Solved in 1996 iterations and 0.98 seconds (0.25 work units)
Optimal objective -5.173121946e+04
23 -4.65612635e+04 -4.65612635e+04 8.85e-09 2.12e-15 1.95e-11 1s
Barrier solved model in 23 iterations and 0.89 seconds (0.15 work units)
Optimal objective -4.65612635e+04
Crossover log...
8 DPushes remaining with DInf 0.0000000e+00 1s
0 DPushes remaining with DInf 0.0000000e+00 1s
1791 PPushes remaining with PInf 0.0000000e+00 1s
0 PPushes remaining with PInf 0.0000000e+00 1s
Push phase complete: Pinf 0.0000000e+00, Dinf 1.1050189e-15 1s
Crossover time: 0.21 seconds (0.06 work units)
Solved with barrier
Iteration Objective Primal Inf. Dual Inf. Time
1802 -4.6561264e+04 0.000000e+00 0.000000e+00 1s
Solved in 1802 iterations and 1.14 seconds (0.21 work units)
Optimal objective -4.656126351e+04
Warning: environment still referenced so free is deferred (Continue to use WLS) Warning: environment still referenced so free is deferred (Continue to use WLS)
Warning: environment still referenced so free is deferred (Continue to use WLS)
/home/runner/work/PyPSA/PyPSA/pypsa/network/io.py:2085: FutureWarning: pandas infers the `str` dtype for string data since its version 3.0. PyPSA still converts it back to numpy object dtype on import, but will keep it from PyPSA 2.0 on. Set `pypsa.options.api.legacy_string_dtype` explicitly to suppress this warning. new_static = _coerce_string_dtypes(new_static)
/home/runner/work/PyPSA/PyPSA/pypsa/network/io.py:2085: FutureWarning: pandas infers the `str` dtype for string data since its version 3.0. PyPSA still converts it back to numpy object dtype on import, but will keep it from PyPSA 2.0 on. Set `pypsa.options.api.legacy_string_dtype` explicitly to suppress this warning. new_static = _coerce_string_dtypes(new_static)
/opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/contextlib.py:85: FutureWarning: The default value of `include_objective_constant` will change from True to False in version 2.0. Set `include_objective_constant` explicitly to suppress this warning. Using False improves LP numerical conditioning by not including the objective constant as a variable. return func(*args, **kwds)
/opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/contextlib.py:85: FutureWarning: The default value of `include_objective_constant` will change from True to False in version 2.0. Set `include_objective_constant` explicitly to suppress this warning. Using False improves LP numerical conditioning by not including the objective constant as a variable. return func(*args, **kwds)
Writing constraints.: 0%| | 0/26 [00:00<?, ?it/s] Writing constraints.: 88%|████████▊ | 23/26 [00:00<00:00, 226.31it/s] Writing constraints.: 100%|██████████| 26/26 [00:00<00:00, 224.14it/s] Writing continuous variables.: 0%| | 0/12 [00:00<?, ?it/s] Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 391.66it/s]
Set parameter WLSAccessID
Set parameter WLSSecret
Set parameter LicenseID to value 2537914
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Read LP format model from file /tmp/linopy-problem-jqn0mui5.lp
Reading time = 0.03 seconds
obj: 23383 rows, 10720 columns, 44348 nonzeros
Gurobi Optimizer version 13.0.2 build v13.0.2rc1 (linux64 - "Ubuntu 24.04.5 LTS")
CPU model: AMD EPYC 7763 64-Core Processor, instruction set [SSE2|AVX|AVX2]
Thread count: 2 physical cores, 4 logical processors, using up to 4 threads
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Optimize a model with 23383 rows, 10720 columns and 44348 nonzeros (Min)
Model fingerprint: 0x41c97c21
Model has 2 linear objective coefficients
Coefficient statistics:
Matrix range [1e-03, 2e+05]
Objective range [6e-01, 8e-01]
Bounds range [0e+00, 0e+00]
RHS range [5e+03, 8e+09]
Warning: Model contains large rhs
Consider reformulating model or setting NumericFocus parameter
to avoid numerical issues.
Presolve removed 13136 rows and 2416 columns
Presolve time: 0.02s
Presolved: 10247 rows, 8304 columns, 29770 nonzeros
Concurrent LP optimizer: dual simplex and barrier
Showing barrier log only...
Ordering time: 0.01s
Barrier statistics:
Dense cols : 6
AA' NZ : 2.537e+04
Factor NZ : 1.718e+05 (roughly 9 MB of memory)
Factor Ops : 2.974e+06 (less than 1 second per iteration)
Threads : 1
Objective Residual
Iter Primal Dual Primal Dual Compl Time
0 -7.29276877e+03 -1.20175765e+07 7.39e+08 6.29e-02 1.18e+05 0s
1 -2.91410237e+05 -1.11217312e+07 1.13e+08 1.16e-01 6.03e+04 0s
2 -1.96361237e+05 -3.88059236e+06 6.20e+07 2.12e-03 9.81e+03 0s
3 -9.18913467e+03 -1.72960210e+06 2.30e+06 1.21e-04 5.45e+02 0s
4 -5.19325530e+03 -5.48209605e+05 4.44e+05 3.25e-06 1.03e+02 0s
5 -6.75936569e+03 -2.38195542e+05 1.37e+05 4.18e-07 3.42e+01 0s
6 -9.66920106e+03 -9.83707589e+04 9.00e+04 1.89e-16 1.31e+01 0s
7 -1.23579889e+04 -7.14829930e+04 6.85e+04 1.23e-16 8.56e+00 0s
8 -1.68031956e+04 -6.50817232e+04 3.65e+04 8.94e-17 6.56e+00 0s
9 -1.94673890e+04 -4.98586928e+04 2.57e+04 6.50e-17 4.12e+00 0s
10 -2.06479658e+04 -4.88511996e+04 2.21e+04 3.99e-09 3.79e+00 0s
11 -2.27493398e+04 -4.41141485e+04 1.56e+04 2.66e-08 2.85e+00 0s
12 -2.39616544e+04 -4.29204289e+04 1.33e+04 4.09e-08 2.52e+00 0s
13 -2.46473299e+04 -3.65277901e+04 1.12e+04 1.45e-07 1.62e+00 0s
14 -2.52178770e+04 -3.56687065e+04 8.13e+03 1.56e-07 1.40e+00 0s
15 -2.59723969e+04 -3.47063564e+04 6.02e+03 1.44e-07 1.16e+00 0s
16 -2.62273322e+04 -3.37344803e+04 5.31e+03 1.23e-07 9.98e-01 0s
17 -2.65605567e+04 -3.31495334e+04 4.17e+03 1.30e-07 8.70e-01 0s
18 -2.74641251e+04 -3.03135591e+04 7.49e+02 1.44e-07 3.67e-01 0s
19 -2.76086596e+04 -2.78922794e+04 3.29e+02 8.62e-08 4.66e-02 0s
20 -2.76979157e+04 -2.78217830e+04 8.72e+01 6.37e-08 2.18e-02 0s
21 -2.77300294e+04 -2.77389235e+04 5.34e-01 2.32e-08 3.16e-03 0s
22 -2.77318213e+04 -2.77117797e+04 5.14e-08 2.89e-08 2.15e-04 0s
23 -2.77319304e+04 -2.77223773e+04 3.85e-08 1.38e-08 1.05e-04 0s
24 -2.77323392e+04 -2.77286759e+04 4.53e-08 5.76e-09 3.47e-05 0s
25 -2.77323657e+04 -2.77323280e+04 2.28e-08 7.62e-11 3.44e-07 0s
26 -2.77323659e+04 -2.77323659e+04 6.43e-08 2.79e-13 3.44e-10 0s
Barrier solved model in 26 iterations and 0.28 seconds (0.18 work units)
Optimal objective -2.77323659e+04
Crossover log...
4 DPushes remaining with DInf 0.0000000e+00 0s
0 DPushes remaining with DInf 0.0000000e+00 0s
1859 PPushes remaining with PInf 0.0000000e+00 0s
0 PPushes remaining with PInf 0.0000000e+00 0s
Push phase complete: Pinf 0.0000000e+00, Dinf 1.6549262e-15 0s
Crossover time: 0.07 seconds (0.07 work units)
Solved with barrier
Iteration Objective Primal Inf. Dual Inf. Time
1866 -2.7732366e+04 0.000000e+00 0.000000e+00 0s
Solved in 1866 iterations and 0.36 seconds (0.25 work units)
Optimal objective -2.773236587e+04
Writing constraints.: 0%| | 0/26 [00:00<?, ?it/s] Writing constraints.: 88%|████████▊ | 23/26 [00:00<00:00, 218.40it/s] Writing constraints.: 100%|██████████| 26/26 [00:00<00:00, 218.91it/s] Writing continuous variables.: 0%| | 0/12 [00:00<?, ?it/s] Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 410.69it/s]
Set parameter WLSAccessID
Set parameter WLSSecret
Set parameter LicenseID to value 2537914
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Read LP format model from file /tmp/linopy-problem-u455hvfq.lp
Reading time = 0.03 seconds
obj: 23383 rows, 10720 columns, 44348 nonzeros
Gurobi Optimizer version 13.0.2 build v13.0.2rc1 (linux64 - "Ubuntu 24.04.5 LTS")
CPU model: AMD EPYC 7763 64-Core Processor, instruction set [SSE2|AVX|AVX2]
Thread count: 2 physical cores, 4 logical processors, using up to 4 threads
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Optimize a model with 23383 rows, 10720 columns and 44348 nonzeros (Min)
Model fingerprint: 0x55e9028b
Model has 2 linear objective coefficients
Coefficient statistics:
Matrix range [1e-03, 2e+05]
Objective range [6e-01, 8e-01]
Bounds range [0e+00, 0e+00]
RHS range [5e+03, 8e+09]
Warning: Model contains large rhs
Consider reformulating model or setting NumericFocus parameter
to avoid numerical issues.
Presolve removed 13136 rows and 2416 columns
Presolve time: 0.02s
Presolved: 10247 rows, 8304 columns, 29770 nonzeros
Concurrent LP optimizer: dual simplex and barrier
Showing barrier log only...
Ordering time: 0.01s
Barrier statistics:
Dense cols : 6
AA' NZ : 2.537e+04
Factor NZ : 1.718e+05 (roughly 9 MB of memory)
Factor Ops : 2.974e+06 (less than 1 second per iteration)
Threads : 1
Objective Residual
Iter Primal Dual Primal Dual Compl Time
0 -4.93358168e+04 -1.66386585e+07 7.39e+08 8.71e-02 1.63e+05 0s
1 -7.24200462e+05 -1.56139824e+07 1.10e+08 1.75e-01 8.62e+04 0s
2 -6.20042449e+05 -5.73148984e+06 6.33e+07 3.27e-03 1.50e+04 0s
3 -5.73147217e+04 -2.51393995e+06 2.23e+06 1.33e-04 7.80e+02 0s
4 -4.72471864e+04 -8.03016118e+05 5.09e+05 1.22e-15 1.53e+02 0s
5 -4.70035638e+04 -4.12226650e+05 1.72e+05 5.85e-16 5.61e+01 0s
6 -4.84370288e+04 -1.62997920e+05 1.01e+05 2.18e-16 1.71e+01 0s
7 -5.17498344e+04 -1.32206045e+05 5.98e+04 1.38e-16 1.12e+01 0s
8 -5.47565051e+04 -1.00071785e+05 3.71e+04 9.80e-17 6.12e+00 0s
9 -5.64071381e+04 -9.35797637e+04 3.01e+04 1.04e-16 4.99e+00 0s
10 -5.74058870e+04 -8.66255438e+04 2.64e+04 8.16e-17 3.95e+00 0s
11 -6.16822270e+04 -7.78901757e+04 1.53e+04 5.59e-17 2.19e+00 0s
12 -6.30769199e+04 -7.42671027e+04 1.15e+04 5.55e-17 1.52e+00 0s
13 -6.44573357e+04 -7.32238967e+04 7.93e+03 5.24e-17 1.18e+00 0s
14 -6.53286671e+04 -6.74529528e+04 5.18e+03 1.71e-08 3.35e-01 0s
15 -6.60673631e+04 -6.70874089e+04 2.12e+03 2.40e-08 1.54e-01 0s
Warning: environment still referenced so free is deferred (Continue to use WLS)
16 -6.63759422e+04 -6.68427120e+04 8.87e+02 2.07e-08 7.05e-02 0s
17 -6.65698843e+04 -6.66209355e+04 1.19e+02 7.19e-09 7.69e-03 0s
18 -6.66009960e+04 -6.66048630e+04 1.27e+00 2.89e-09 3.85e-04 0s
19 -6.66019663e+04 -6.66029704e+04 4.98e-02 2.38e-09 3.68e-05 0s
20 -6.66020281e+04 -6.66023082e+04 4.30e-04 9.17e-10 1.36e-06 0s
21 -6.66020289e+04 -6.66020289e+04 2.93e-08 1.90e-13 1.36e-09 0s
Barrier solved model in 21 iterations and 0.22 seconds (0.14 work units)
Optimal objective -6.66020289e+04
Crossover log...
338 DPushes remaining with DInf 0.0000000e+00 0s
0 DPushes remaining with DInf 0.0000000e+00 0s
2143 PPushes remaining with PInf 0.0000000e+00 0s
0 PPushes remaining with PInf 0.0000000e+00 0s
Push phase complete: Pinf 0.0000000e+00, Dinf 2.2976412e-15 0s
Crossover time: 0.11 seconds (0.11 work units)
Solved with barrier
Iteration Objective Primal Inf. Dual Inf. Time
2484 -6.6602029e+04 0.000000e+00 0.000000e+00 0s
Solved in 2484 iterations and 0.34 seconds (0.25 work units)
Optimal objective -6.660202891e+04
The results are returned in the form of two pandas DataFrames; one for directions and one for resulting points / coordinates. Using scipy, we can compute and plot the convex hull of the points we generated.
display(pts.head() / 1e3)
fig, ax = plt.subplots(figsize=(8, 6))
convex_hull_plot_2d(ConvexHull(pts / 1e3), ax)
ax.axis("equal")
ax.set_xlabel("Wind capacity (GW)")
ax.set_ylabel("Solar capacity (GW)")
ax.set_title("Near-optimal space in wind-solar coordinate space")
plt.show()
| wind | solar | |
|---|---|---|
| 0 | 17.037387 | 70.267029 |
| 1 | 49.546872 | 16.643482 |
| 2 | 15.133119 | 70.067082 |
| 3 | 15.910653 | 70.305473 |
| 4 | 50.504400 | 9.922783 |
While random directions generally work well, they are not always perfectly spaced out. In two dimensions, we can easily generate evenly spaced directions (points on a circle); implemented in PyPSA in pypsa.optimization.mga.generate_directions_evenly_spaced. In higher dimensions, generating evenly spaced directions is not trivial, but Halton sequences (pypsa.optimization.mga.generate_directions_halton) do a better job than randomly generated directions.
n_points = 20
directions_random = pypsa.optimization.mga.generate_directions_random(
dimensions.keys(), n_points, seed=0
)
directions_even = pypsa.optimization.mga.generate_directions_evenly_spaced(
dimensions.keys(), n_points
)
directions_halton = pypsa.optimization.mga.generate_directions_halton(
dimensions.keys(), n_points, seed=0
)
fig, axs = plt.subplots(1, 3, figsize=(12, 3), sharey=True)
directions_random.plot(kind="scatter", x="wind", y="solar", ax=axs[0])
directions_even.plot(kind="scatter", x="wind", y="solar", ax=axs[1])
directions_halton.plot(kind="scatter", x="wind", y="solar", ax=axs[2])
for ax in axs:
ax.set_xlim(-1.1, 1.1)
ax.set_ylim(-1.1, 1.1)
ax.axis("equal")
plt.show()
fig, axs = plt.subplots(1, 3, figsize=(12, 3), sharey=True)
for ax, directions in zip(axs, [directions_random, directions_even, directions_halton]):
_, pts = n.optimize.optimize_mga_in_multiple_directions(
dimensions=dimensions,
directions=directions,
slack=0.05,
solver_name="gurobi",
max_parallel=8,
)
convex_hull_plot_2d(ConvexHull(pts / 1e3), ax)
ax.axis("equal")
ax.set_xlabel("Wind capacity (GW)")
ax.set_ylabel("Solar capacity (GW)")
plt.show()
INFO:pypsa.network.io:Exported network 'Model-Energy' saved to '/tmp/tmpf3b1rf2s.nc contains: carriers, generators, links, loads, stores, buses, storage_units
/home/runner/work/PyPSA/PyPSA/pypsa/network/io.py:2085: FutureWarning: pandas infers the `str` dtype for string data since its version 3.0. PyPSA still converts it back to numpy object dtype on import, but will keep it from PyPSA 2.0 on. Set `pypsa.options.api.legacy_string_dtype` explicitly to suppress this warning. new_static = _coerce_string_dtypes(new_static)
/home/runner/work/PyPSA/PyPSA/pypsa/network/io.py:2085: FutureWarning: pandas infers the `str` dtype for string data since its version 3.0. PyPSA still converts it back to numpy object dtype on import, but will keep it from PyPSA 2.0 on. Set `pypsa.options.api.legacy_string_dtype` explicitly to suppress this warning. new_static = _coerce_string_dtypes(new_static) /home/runner/work/PyPSA/PyPSA/pypsa/network/io.py:2085: FutureWarning: pandas infers the `str` dtype for string data since its version 3.0. PyPSA still converts it back to numpy object dtype on import, but will keep it from PyPSA 2.0 on. Set `pypsa.options.api.legacy_string_dtype` explicitly to suppress this warning. new_static = _coerce_string_dtypes(new_static) /home/runner/work/PyPSA/PyPSA/pypsa/network/io.py:2085: FutureWarning: pandas infers the `str` dtype for string data since its version 3.0. PyPSA still converts it back to numpy object dtype on import, but will keep it from PyPSA 2.0 on. Set `pypsa.options.api.legacy_string_dtype` explicitly to suppress this warning. new_static = _coerce_string_dtypes(new_static)
/home/runner/work/PyPSA/PyPSA/pypsa/network/io.py:2085: FutureWarning: pandas infers the `str` dtype for string data since its version 3.0. PyPSA still converts it back to numpy object dtype on import, but will keep it from PyPSA 2.0 on. Set `pypsa.options.api.legacy_string_dtype` explicitly to suppress this warning. new_static = _coerce_string_dtypes(new_static)
/home/runner/work/PyPSA/PyPSA/pypsa/network/io.py:2085: FutureWarning: pandas infers the `str` dtype for string data since its version 3.0. PyPSA still converts it back to numpy object dtype on import, but will keep it from PyPSA 2.0 on. Set `pypsa.options.api.legacy_string_dtype` explicitly to suppress this warning. new_static = _coerce_string_dtypes(new_static) /home/runner/work/PyPSA/PyPSA/pypsa/network/io.py:2085: FutureWarning: pandas infers the `str` dtype for string data since its version 3.0. PyPSA still converts it back to numpy object dtype on import, but will keep it from PyPSA 2.0 on. Set `pypsa.options.api.legacy_string_dtype` explicitly to suppress this warning. new_static = _coerce_string_dtypes(new_static) /home/runner/work/PyPSA/PyPSA/pypsa/network/io.py:2085: FutureWarning: pandas infers the `str` dtype for string data since its version 3.0. PyPSA still converts it back to numpy object dtype on import, but will keep it from PyPSA 2.0 on. Set `pypsa.options.api.legacy_string_dtype` explicitly to suppress this warning. new_static = _coerce_string_dtypes(new_static)
/opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/contextlib.py:85: FutureWarning: The default value of `include_objective_constant` will change from True to False in version 2.0. Set `include_objective_constant` explicitly to suppress this warning. Using False improves LP numerical conditioning by not including the objective constant as a variable. return func(*args, **kwds) /opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/contextlib.py:85: FutureWarning: The default value of `include_objective_constant` will change from True to False in version 2.0. Set `include_objective_constant` explicitly to suppress this warning. Using False improves LP numerical conditioning by not including the objective constant as a variable. return func(*args, **kwds)
/opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/contextlib.py:85: FutureWarning: The default value of `include_objective_constant` will change from True to False in version 2.0. Set `include_objective_constant` explicitly to suppress this warning. Using False improves LP numerical conditioning by not including the objective constant as a variable. return func(*args, **kwds) /opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/contextlib.py:85: FutureWarning: The default value of `include_objective_constant` will change from True to False in version 2.0. Set `include_objective_constant` explicitly to suppress this warning. Using False improves LP numerical conditioning by not including the objective constant as a variable. return func(*args, **kwds) /opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/contextlib.py:85: FutureWarning: The default value of `include_objective_constant` will change from True to False in version 2.0. Set `include_objective_constant` explicitly to suppress this warning. Using False improves LP numerical conditioning by not including the objective constant as a variable. return func(*args, **kwds) /opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/contextlib.py:85: FutureWarning: The default value of `include_objective_constant` will change from True to False in version 2.0. Set `include_objective_constant` explicitly to suppress this warning. Using False improves LP numerical conditioning by not including the objective constant as a variable. return func(*args, **kwds)
/opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/contextlib.py:85: FutureWarning: The default value of `include_objective_constant` will change from True to False in version 2.0. Set `include_objective_constant` explicitly to suppress this warning. Using False improves LP numerical conditioning by not including the objective constant as a variable. return func(*args, **kwds) /opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/contextlib.py:85: FutureWarning: The default value of `include_objective_constant` will change from True to False in version 2.0. Set `include_objective_constant` explicitly to suppress this warning. Using False improves LP numerical conditioning by not including the objective constant as a variable. return func(*args, **kwds)
Writing constraints.: 0%| | 0/26 [00:00<?, ?it/s] Writing constraints.: 12%|█▏ | 3/26 [00:00<00:00, 23.27it/s]
Writing constraints.: 31%|███ | 8/26 [00:00<00:00, 35.45it/s] Writing constraints.: 62%|██████▏ | 16/26 [00:00<00:00, 51.63it/s] Writing constraints.: 0%| | 0/26 [00:00<?, ?it/s]
Writing constraints.: 0%| | 0/26 [00:00<?, ?it/s] Writing constraints.: 85%|████████▍ | 22/26 [00:00<00:00, 51.88it/s] Writing constraints.: 42%|████▏ | 11/26 [00:00<00:00, 94.18it/s] Writing constraints.: 100%|██████████| 26/26 [00:00<00:00, 45.53it/s] Writing continuous variables.: 0%| | 0/12 [00:00<?, ?it/s] Writing constraints.: 31%|███ | 8/26 [00:00<00:00, 69.76it/s] Writing constraints.: 81%|████████ | 21/26 [00:00<00:00, 81.84it/s]
Writing continuous variables.: 75%|███████▌ | 9/12 [00:00<00:00, 88.74it/s] Writing constraints.: 62%|██████▏ | 16/26 [00:00<00:00, 71.67it/s] Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 90.22it/s] Writing constraints.: 0%| | 0/26 [00:00<?, ?it/s] Writing constraints.: 100%|██████████| 26/26 [00:00<00:00, 72.12it/s] Writing continuous variables.: 0%| | 0/12 [00:00<?, ?it/s] Writing constraints.: 100%|██████████| 26/26 [00:00<00:00, 81.06it/s] Writing continuous variables.: 0%| | 0/12 [00:00<?, ?it/s] Writing constraints.: 23%|██▎ | 6/26 [00:00<00:00, 54.55it/s] Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 205.98it/s] Writing continuous variables.: 75%|███████▌ | 9/12 [00:00<00:00, 83.52it/s]
Set parameter WLSAccessID
Set parameter WLSSecret
Set parameter LicenseID to value 2537914
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Set parameter WLSAccessID
Set parameter WLSSecret
Set parameter LicenseID to value 2537914
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Read LP format model from file /tmp/linopy-problem-5yuuzeuj.lp
Reading time = 0.13 seconds
obj: 23383 rows, 10720 columns, 44348 nonzeros
Gurobi Optimizer version 13.0.2 build v13.0.2rc1 (linux64 - "Ubuntu 24.04.5 LTS")
CPU model: AMD EPYC 7763 64-Core Processor, instruction set [SSE2|AVX|AVX2]
Thread count: 2 physical cores, 4 logical processors, using up to 4 threads
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Optimize a model with 23383 rows, 10720 columns and 44348 nonzeros (Min)
Model fingerprint: 0xcc168b6c
Model has 2 linear objective coefficients
Coefficient statistics:
Matrix range [1e-03, 2e+05]
Objective range [2e-01, 1e+00]
Bounds range [0e+00, 0e+00]
RHS range [5e+03, 8e+09]
Warning: Model contains large rhs
Consider reformulating model or setting NumericFocus parameter
to avoid numerical issues.
Set parameter WLSAccessID
Set parameter WLSSecret
Set parameter LicenseID to value 2537914
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 82.54it/s] Writing constraints.: 0%| | 0/26 [00:00<?, ?it/s] Writing constraints.: 46%|████▌ | 12/26 [00:00<00:00, 42.16it/s] Writing constraints.: 0%| | 0/26 [00:00<?, ?it/s] Writing constraints.: 12%|█▏ | 3/26 [00:00<00:00, 29.76it/s]
Presolve removed 13136 rows and 2416 columns
Presolve time: 0.07s
Presolved: 10247 rows, 8304 columns, 29770 nonzeros
Concurrent LP optimizer: dual simplex and barrier
Showing barrier log only...
Read LP format model from file /tmp/linopy-problem-ojh211p8.lp
Reading time = 0.08 seconds
obj: 23383 rows, 10720 columns, 44348 nonzeros
Gurobi Optimizer version 13.0.2 build v13.0.2rc1 (linux64 - "Ubuntu 24.04.5 LTS")
CPU model: AMD EPYC 7763 64-Core Processor, instruction set [SSE2|AVX|AVX2]
Thread count: 2 physical cores, 4 logical processors, using up to 4 threads
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Optimize a model with 23383 rows, 10720 columns and 44348 nonzeros (Min)
Model fingerprint: 0x92ecc80d
Model has 2 linear objective coefficients
Coefficient statistics:
Matrix range [1e-03, 2e+05]
Objective range [5e-01, 9e-01]
Bounds range [0e+00, 0e+00]
RHS range [5e+03, 8e+09]
Warning: Model contains large rhs
Consider reformulating model or setting NumericFocus parameter
to avoid numerical issues.
Ordering time: 0.01s
Barrier statistics:
Dense cols : 6
AA' NZ : 2.537e+04
Factor NZ : 1.718e+05 (roughly 9 MB of memory)
Factor Ops : 2.974e+06 (less than 1 second per iteration)
Threads : 1
Presolve removed 13136 rows and 2416 columns
Presolve time: 0.04s
Presolved: 10247 rows, 8304 columns, 29770 nonzeros
Concurrent LP optimizer: dual simplex and barrier
Showing barrier log only...
Objective Residual
Iter Primal Dual Primal Dual Compl Time
0 -4.87789142e+04 -2.03647123e+07 7.39e+08 2.13e-01 4.00e+05 0s
Ordering time: 0.01s
Barrier statistics:
Dense cols : 6
AA' NZ : 2.537e+04
Factor NZ : 1.718e+05 (roughly 9 MB of memory)
Factor Ops : 2.974e+06 (less than 1 second per iteration)
Threads : 1
1 -7.57897577e+05 -1.90348559e+07 1.12e+08 4.26e-01 2.09e+05 0s
Read LP format model from file /tmp/linopy-problem-nc_xrrxw.lp
Reading time = 0.11 seconds
obj: 23383 rows, 10720 columns, 44348 nonzeros
Gurobi Optimizer version 13.0.2 build v13.0.2rc1 (linux64 - "Ubuntu 24.04.5 LTS")
CPU model: AMD EPYC 7763 64-Core Processor, instruction set [SSE2|AVX|AVX2]
Thread count: 2 physical cores, 4 logical processors, using up to 4 threads
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Optimize a model with 23383 rows, 10720 columns and 44348 nonzeros (Min)
Objective Residual
Iter Primal Dual Primal Dual Compl Time
Model fingerprint: 0x08fa6695
Model has 2 linear objective coefficients
Coefficient statistics:
Matrix range [1e-03, 2e+05]
Objective range [7e-01, 7e-01]
Bounds range [0e+00, 0e+00]
RHS range [5e+03, 8e+09]
Warning: Model contains large rhs
Consider reformulating model or setting NumericFocus parameter
to avoid numerical issues.
0 -2.94984273e+04 -1.85858639e+07 7.39e+08 9.73e-02 1.83e+05 0s
1 -5.73482597e+05 -1.72466694e+07 1.12e+08 1.91e-01 9.39e+04 0s
2 -6.56311510e+05 -6.82787650e+06 6.30e+07 8.00e-03 3.54e+04 0s
2 -4.64443217e+05 -6.07041553e+06 6.25e+07 3.45e-03 1.55e+04 0s
3 -3.57144739e+04 -2.66031216e+06 2.40e+06 1.83e-04 8.67e+02 0s
3 -5.78196487e+04 -2.98822222e+06 2.35e+06 3.58e-04 1.92e+03 0s
4 -2.59939979e+04 -8.12111708e+05 4.64e+05 2.15e-06 1.54e+02 0s
5 -2.71093423e+04 -3.97598438e+05 1.37e+05 3.59e-16 5.47e+01 0s
6 -2.93245813e+04 -1.65281310e+05 9.65e+04 1.45e-16 2.03e+01 0s
4 -4.57361688e+04 -1.05504568e+06 5.18e+05 7.11e-07 4.04e+02 0s
7 -3.39216651e+04 -1.20926912e+05 6.72e+04 8.60e-17 1.25e+01 0s
8 -4.07731018e+04 -1.01290258e+05 2.43e+04 3.95e-17 7.94e+00 0s
Presolve removed 13136 rows and 2416 columns
Presolve time: 0.10s
Presolved: 10247 rows, 8304 columns, 29770 nonzeros
Concurrent LP optimizer: dual simplex and barrier
Showing barrier log only...
Writing constraints.: 65%|██████▌ | 17/26 [00:00<00:00, 36.56it/s] Writing constraints.: 0%| | 0/26 [00:00<?, ?it/s] Writing constraints.: 27%|██▋ | 7/26 [00:00<00:00, 55.91it/s] Writing constraints.: 27%|██▋ | 7/26 [00:00<00:00, 27.37it/s] Writing constraints.: 0%| | 0/26 [00:00<?, ?it/s] Writing constraints.: 15%|█▌ | 4/26 [00:00<00:00, 36.22it/s] Writing constraints.: 50%|█████ | 13/26 [00:00<00:00, 54.46it/s] Writing constraints.: 81%|████████ | 21/26 [00:00<00:00, 29.46it/s]
5 -4.56036841e+04 -5.14081188e+05 1.79e+05 6.82e-16 1.44e+02 0s
9 -4.18577361e+04 -9.77091628e+04 2.20e+04 6.80e-17 7.30e+00 0s
10 -4.50614303e+04 -8.71416982e+04 1.73e+04 6.77e-17 5.49e+00 0s
11 -4.66949654e+04 -8.24800609e+04 1.53e+04 4.62e-17 4.67e+00 0s
Ordering time: 0.03s
6 -4.78778263e+04 -1.96373732e+05 1.06e+05 6.33e-16 4.42e+01 0s
12 -4.78450469e+04 -8.09551082e+04 1.33e+04 6.22e-17 4.30e+00 0s
Barrier statistics:
Dense cols : 6
AA' NZ : 2.537e+04
Factor NZ : 1.718e+05 (roughly 9 MB of memory)
Factor Ops : 2.974e+06 (less than 1 second per iteration)
Threads : 1
13 -5.00396400e+04 -6.88512330e+04 9.67e+03 6.95e-17 2.48e+00 0s
7 -5.22136298e+04 -1.50916290e+05 6.86e+04 3.52e-16 2.79e+01 0s
14 -5.24707389e+04 -6.32159332e+04 4.34e+03 5.85e-17 1.39e+00 0s
Objective Residual
Iter Primal Dual Primal Dual Compl Time
0 4.69065011e+04 -8.49418387e+06 7.35e+08 0.00e+00 8.29e+04 0s
15 -5.36191364e+04 -6.06078904e+04 2.20e+03 6.43e-09 8.93e-01 0s
8 -5.73920847e+04 -1.19414543e+05 2.43e+04 2.78e-16 1.61e+01 0s
16 -5.42779257e+04 -5.83093445e+04 1.20e+03 5.51e-08 5.17e-01 0s
1 3.29840876e+05 -7.93588465e+06 1.13e+08 6.88e-02 4.26e+04 0s
17 -5.46078337e+04 -5.56419050e+04 7.06e+02 1.01e-07 1.46e-01 0s
9 -6.08814006e+04 -1.06249412e+05 1.94e+04 2.25e-16 1.18e+01 0s
2 3.87527978e+05 -2.40940129e+06 5.53e+07 1.52e-03 5.78e+03 0s
18 -5.49244162e+04 -5.53534638e+04 1.99e+02 6.13e-08 6.00e-02 0s
19 -5.49900086e+04 -5.50925431e+04 1.06e+02 2.18e-08 1.61e-02 0s
10 -6.29629212e+04 -1.04664423e+05 1.61e+04 2.51e-16 1.08e+01 0s
20 -5.50607985e+04 -5.50689325e+04 4.83e+00 5.17e-09 6.96e-04 0s
3 5.54148654e+04 -1.09406327e+06 3.10e+06 9.48e-05 4.32e+02 0s
21 -5.50644023e+04 -5.50650394e+04 3.07e-03 9.98e-10 5.07e-06 0s
11 -6.57727061e+04 -9.80544693e+04 1.21e+04 1.40e-16 8.31e+00 0s
22 -5.50644091e+04 -5.50644100e+04 8.21e-08 1.55e-12 5.07e-09 0s
4 4.26860316e+04 -3.62650034e+05 4.12e+05 8.84e-07 7.40e+01 0s
Barrier solved model in 22 iterations and 0.38 seconds (0.14 work units)
Optimal objective -5.50644091e+04
Crossover log...
12 -6.77330880e+04 -8.67887607e+04 8.32e+03 1.18e-16 4.95e+00 0s
Writing constraints.: 38%|███▊ | 10/26 [00:00<00:00, 25.14it/s] Writing constraints.: 23%|██▎ | 6/26 [00:00<00:00, 58.66it/s] Writing constraints.: 31%|███ | 8/26 [00:00<00:00, 36.71it/s] Writing constraints.: 77%|███████▋ | 20/26 [00:00<00:00, 57.16it/s] Writing constraints.: 50%|█████ | 13/26 [00:00<00:00, 25.40it/s] Writing constraints.: 46%|████▌ | 12/26 [00:00<00:00, 50.09it/s] Writing constraints.: 100%|██████████| 26/26 [00:00<00:00, 59.94it/s] Writing continuous variables.: 0%| | 0/12 [00:00<?, ?it/s] Writing constraints.: 46%|████▌ | 12/26 [00:00<00:00, 31.40it/s] Writing constraints.: 96%|█████████▌| 25/26 [00:00<00:00, 25.67it/s] Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 245.62it/s]
5 DPushes remaining with DInf 0.0000000e+00 0s
5 4.17235226e+04 -1.44984326e+05 1.86e+05 1.49e-16 2.88e+01 0s
0 DPushes remaining with DInf 0.0000000e+00 0s
13 -6.91768021e+04 -8.16871485e+04 5.82e+03 1.21e-16 3.26e+00 1s
2102 PPushes remaining with PInf 0.0000000e+00 0s
6 4.10793369e+04 -1.50376505e+04 1.19e+05 1.06e-16 8.54e+00 0s
14 -7.11465344e+04 -7.40056997e+04 1.77e+03 1.69e-16 7.60e-01 1s
7 3.73198556e+04 1.73924198e+04 2.37e+04 3.67e-17 2.59e+00 0s
15 -7.19554958e+04 -7.36299634e+04 5.47e+02 1.71e-16 4.25e-01 1s
8 3.56027411e+04 2.51349211e+04 1.27e+04 1.46e-08 1.33e+00 0s
16 -7.21304332e+04 -7.26442313e+04 2.63e+02 5.40e-09 1.34e-01 1s
9 3.41927793e+04 2.91404635e+04 4.64e+03 7.64e-08 6.29e-01 0s
0 PPushes remaining with PInf 0.0000000e+00 1s
Push phase complete: Pinf 0.0000000e+00, Dinf 1.5230872e-15 1s
10 3.36608204e+04 3.10859505e+04 2.09e+03 8.44e-08 3.19e-01 0s
17 -7.22381031e+04 -7.24379893e+04 8.81e+01 5.72e-09 5.13e-02 1s
Crossover time: 0.17 seconds (0.08 work units)
Solved with barrier
18 -7.22932074e+04 -7.22990170e+04 8.80e-08 3.78e-09 1.22e-03 1s
11 3.32984815e+04 3.24968742e+04 6.32e+02 6.02e-08 1.01e-01 0s
Iteration Objective Primal Inf. Dual Inf. Time
2110 -5.5064409e+04 0.000000e+00 0.000000e+00 1s
Solved in 2110 iterations and 0.58 seconds (0.22 work units)
Optimal objective -5.506440906e+04
Set parameter WLSAccessID
Set parameter WLSSecret
Set parameter LicenseID to value 2537914
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
12 3.31601527e+04 3.27504773e+04 2.71e+02 5.83e-08 5.17e-02 1s
19 -7.22950964e+04 -7.22951014e+04 1.16e-09 7.69e-12 1.22e-06 1s
Writing constraints.: 100%|██████████| 26/26 [00:00<00:00, 30.29it/s] Writing continuous variables.: 0%| | 0/12 [00:00<?, ?it/s] Writing constraints.: 65%|██████▌ | 17/26 [00:00<00:00, 27.99it/s] Writing constraints.: 69%|██████▉ | 18/26 [00:00<00:00, 47.28it/s] Writing constraints.: 62%|██████▏ | 16/26 [00:00<00:00, 33.21it/s] Writing continuous variables.: 50%|█████ | 6/12 [00:00<00:00, 52.60it/s] Writing constraints.: 77%|███████▋ | 20/26 [00:00<00:00, 27.54it/s] Writing constraints.: 77%|███████▋ | 20/26 [00:00<00:00, 33.23it/s]
13 3.31130880e+04 3.28765837e+04 1.52e+02 4.69e-08 3.01e-02 1s
20 -7.22950983e+04 -7.22950983e+04 5.59e-08 1.08e-13 1.22e-09 1s
Barrier solved model in 20 iterations and 0.70 seconds (0.13 work units)
Optimal objective -7.22950983e+04
Crossover log...
Read LP format model from file /tmp/linopy-problem-hkjo559l.lp
Reading time = 0.05 seconds
obj: 23383 rows, 10720 columns, 44348 nonzeros
Gurobi Optimizer version 13.0.2 build v13.0.2rc1 (linux64 - "Ubuntu 24.04.5 LTS")
CPU model: AMD EPYC 7763 64-Core Processor, instruction set [SSE2|AVX|AVX2]
Thread count: 2 physical cores, 4 logical processors, using up to 4 threads
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Optimize a model with 23383 rows, 10720 columns and 44348 nonzeros (Min)
Model fingerprint: 0x89b90907
Model has 2 linear objective coefficients
Coefficient statistics:
Matrix range [1e-03, 2e+05]
Objective range [1e-01, 1e+00]
Bounds range [0e+00, 0e+00]
RHS range [5e+03, 8e+09]
Warning: Model contains large rhs
Consider reformulating model or setting NumericFocus parameter
to avoid numerical issues.
14 3.30660410e+04 3.30361018e+04 3.48e+01 2.42e-08 4.24e-03 1s
15 3.30523241e+04 3.30499211e+04 5.44e+00 6.02e-09 4.84e-04 1s
70 DPushes remaining with DInf 0.0000000e+00 1s
Presolve removed 13136 rows and 2416 columns
Presolve time: 0.05s
Presolved: 10247 rows, 8304 columns, 29770 nonzeros
Concurrent LP optimizer: dual simplex and barrier
Showing barrier log only...
16 3.30495796e+04 3.30495493e+04 2.63e-01 9.71e-10 2.34e-05 1s
Ordering time: 0.02s
17 3.30494304e+04 3.30494375e+04 1.09e-08 4.81e-11 3.30e-08 1s
0 DPushes remaining with DInf 0.0000000e+00 1s
2088 PPushes remaining with PInf 0.0000000e+00 1s
Barrier statistics:
Dense cols : 6
AA' NZ : 2.537e+04
Factor NZ : 1.718e+05 (roughly 9 MB of memory)
Factor Ops : 2.974e+06 (less than 1 second per iteration)
Threads : 1
18 3.30494303e+04 3.30494303e+04 5.36e-09 4.86e-14 3.30e-11 1s
Barrier solved model in 18 iterations and 0.66 seconds (0.12 work units)
Optimal objective 3.30494303e+04
Objective Residual
Iter Primal Dual Primal Dual Compl Time
0 -2.66190241e+04 -1.11494357e+07 7.39e+08 1.17e-01 2.19e+05 0s
Crossover log...
1 -4.07942254e+05 -9.70306174e+06 1.06e+08 2.26e-01 1.06e+05 0s
13 DPushes remaining with DInf 0.0000000e+00 1s
0 DPushes remaining with DInf 0.0000000e+00 1s
745 PPushes remaining with PInf 0.0000000e+00 1s
2 -2.68948268e+05 -3.67300319e+06 5.63e+07 2.56e-03 1.74e+04 0s
0 PPushes remaining with PInf 0.0000000e+00 1s
Push phase complete: Pinf 0.0000000e+00, Dinf 2.4459601e-16 1s
Crossover time: 0.09 seconds (0.02 work units)
Solved with barrier
3 -3.13701785e+04 -1.67655683e+06 1.33e+06 3.81e-05 7.67e+02 0s
Iteration Objective Primal Inf. Dual Inf. Time
761 3.3049430e+04 0.000000e+00 0.000000e+00 1s
Solved in 761 iterations and 0.77 seconds (0.15 work units)
Optimal objective 3.304943025e+04
0 PPushes remaining with PInf 0.0000000e+00 1s
Push phase complete: Pinf 0.0000000e+00, Dinf 3.1571967e-15 1s
Crossover time: 0.24 seconds (0.07 work units)
Solved with barrier
4 -3.03950885e+04 -4.36005216e+05 4.32e+05 1.09e-15 1.55e+02 0s
Iteration Objective Primal Inf. Dual Inf. Time
2159 -7.2295098e+04 0.000000e+00 0.000000e+00 1s
Solved in 2159 iterations and 0.96 seconds (0.21 work units)
Optimal objective -7.229509830e+04
Set parameter WLSAccessID
Set parameter WLSSecret
Set parameter LicenseID to value 2537914
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
5 -3.19837191e+04 -2.05153636e+05 1.82e+05 4.50e-16 5.36e+01 0s
6 -3.38294243e+04 -1.30454309e+05 1.01e+05 2.55e-16 2.75e+01 0s
7 -3.58692087e+04 -1.05990781e+05 6.66e+04 2.12e-16 1.92e+01 0s
8 -3.77012781e+04 -9.94185538e+04 5.26e+04 1.68e-16 1.66e+01 0s
9 -4.17721893e+04 -8.99740319e+04 3.72e+04 1.97e-16 1.27e+01 0s
10 -4.22110796e+04 -8.54495125e+04 3.57e+04 1.64e-16 1.14e+01 0s
Read LP format model from file /tmp/linopy-problem-uk4poni8.lp
Reading time = 0.12 seconds
obj: 23383 rows, 10720 columns, 44348 nonzeros
Gurobi Optimizer version 13.0.2 build v13.0.2rc1 (linux64 - "Ubuntu 24.04.5 LTS")
CPU model: AMD EPYC 7763 64-Core Processor, instruction set [SSE2|AVX|AVX2]
Thread count: 2 physical cores, 4 logical processors, using up to 4 threads
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Optimize a model with 23383 rows, 10720 columns and 44348 nonzeros (Min)
Model fingerprint: 0xd39a8ea3
Model has 2 linear objective coefficients
Coefficient statistics:
Matrix range [1e-03, 2e+05]
Objective range [4e-01, 9e-01]
Bounds range [0e+00, 0e+00]
RHS range [5e+03, 8e+09]
Warning: Model contains large rhs
Consider reformulating model or setting NumericFocus parameter
to avoid numerical issues.
11 -4.14730889e+04 -8.10883081e+04 2.83e+04 9.65e-17 1.03e+01 0s
Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 48.36it/s] Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 48.90it/s] Writing constraints.: 88%|████████▊ | 23/26 [00:00<00:00, 26.36it/s] Writing constraints.: 88%|████████▊ | 23/26 [00:00<00:00, 35.17it/s] Writing constraints.: 100%|██████████| 26/26 [00:00<00:00, 27.38it/s] Writing continuous variables.: 0%| | 0/12 [00:00<?, ?it/s] Writing constraints.: 100%|██████████| 26/26 [00:00<00:00, 36.59it/s] Writing continuous variables.: 0%| | 0/12 [00:00<?, ?it/s] Writing constraints.: 92%|█████████▏| 24/26 [00:00<00:00, 25.71it/s]
12 -4.55034311e+04 -7.45845000e+04 1.69e+04 1.08e-16 7.43e+00 0s
13 -4.70047754e+04 -7.13077835e+04 1.38e+04 1.35e-16 6.19e+00 0s
Presolve removed 13136 rows and 2416 columns
Presolve time: 0.06s
Presolved: 10247 rows, 8304 columns, 29770 nonzeros
Concurrent LP optimizer: dual simplex and barrier
Showing barrier log only...
14 -4.89308913e+04 -5.92862749e+04 8.26e+03 6.65e-17 2.69e+00 0s
Set parameter WLSAccessID
Set parameter WLSSecret
Set parameter LicenseID to value 2537914
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Ordering time: 0.02s
Barrier statistics:
Dense cols : 6
AA' NZ : 2.537e+04
Factor NZ : 1.718e+05 (roughly 9 MB of memory)
Factor Ops : 2.974e+06 (less than 1 second per iteration)
Threads : 1
15 -4.87034591e+04 -5.86310623e+04 7.68e+03 8.58e-17 2.57e+00 0s
Objective Residual
Iter Primal Dual Primal Dual Compl Time
0 -3.84277753e+04 -1.01893163e+07 7.39e+08 5.34e-02 1.00e+05 0s
16 -5.04930230e+04 -5.67795718e+04 3.78e+03 7.92e-17 1.60e+00 0s
1 -5.88627026e+05 -8.63304171e+06 1.06e+08 1.01e-01 4.70e+04 0s
2 -3.02640008e+05 -2.65460064e+06 5.39e+07 1.00e-03 5.76e+03 0s
17 -5.05050487e+04 -5.66322820e+04 3.72e+03 6.51e-17 1.56e+00 1s
3 -3.93470599e+04 -1.21615079e+06 1.69e+06 3.37e-05 3.05e+02 0s
18 -5.07430533e+04 -5.64186001e+04 2.97e+03 1.11e-16 1.44e+00 1s
Read LP format model from file /tmp/linopy-problem-sn_2xxsu.lp
Reading time = 0.10 seconds
obj: 23383 rows, 10720 columns, 44348 nonzeros
Gurobi Optimizer version 13.0.2 build v13.0.2rc1 (linux64 - "Ubuntu 24.04.5 LTS")
CPU model: AMD EPYC 7763 64-Core Processor, instruction set [SSE2|AVX|AVX2]
Thread count: 2 physical cores, 4 logical processors, using up to 4 threads
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Optimize a model with 23383 rows, 10720 columns and 44348 nonzeros (Min)
Model fingerprint: 0x910aba5d
Model has 2 linear objective coefficients
Coefficient statistics:
Matrix range [1e-03, 2e+05]
Objective range [2e-01, 1e+00]
Bounds range [0e+00, 0e+00]
RHS range [5e+03, 8e+09]
Warning: Model contains large rhs
Consider reformulating model or setting NumericFocus parameter
to avoid numerical issues.
4 -3.67919431e+04 -3.79883814e+05 4.14e+05 3.39e-16 6.35e+01 0s
5 -3.79544560e+04 -1.90968025e+05 1.60e+05 1.31e-16 2.29e+01 0s
19 -5.12457498e+04 -5.39684046e+04 9.32e+02 3.74e-17 6.77e-01 1s
Writing continuous variables.: 92%|█████████▏| 11/12 [00:00<00:00, 103.11it/s] Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 103.57it/s] Writing continuous variables.: 50%|█████ | 6/12 [00:00<00:00, 57.30it/s] Writing constraints.: 100%|██████████| 26/26 [00:00<00:00, 27.73it/s] Writing continuous variables.: 0%| | 0/12 [00:00<?, ?it/s] Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 58.91it/s] Writing continuous variables.: 42%|████▏ | 5/12 [00:00<00:00, 48.70it/s]
6 -3.92330041e+04 -1.05644029e+05 8.95e+04 9.09e-17 9.31e+00 0s
20 -5.13891315e+04 -5.27897904e+04 6.82e+02 3.69e-10 3.52e-01 1s
Set parameter WLSAccessID
Set parameter WLSSecret
Set parameter LicenseID to value 2537914
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
7 -4.09823772e+04 -9.14206769e+04 6.65e+04 5.87e-17 6.90e+00 0s
Presolve removed 13136 rows and 2416 columns
Presolve time: 0.07s
Presolved: 10247 rows, 8304 columns, 29770 nonzeros
Concurrent LP optimizer: dual simplex and barrier
Showing barrier log only...
8 -4.21117876e+04 -8.43978774e+04 5.47e+04 4.83e-17 5.71e+00 0s
21 -5.14841628e+04 -5.22375575e+04 4.82e+02 6.10e-09 1.91e-01 1s
9 -4.45134950e+04 -7.97152874e+04 3.84e+04 3.96e-17 4.65e+00 0s
Ordering time: 0.01s
Barrier statistics:
Dense cols : 6
AA' NZ : 2.537e+04
Factor NZ : 1.718e+05 (roughly 9 MB of memory)
Factor Ops : 2.974e+06 (less than 1 second per iteration)
Threads : 1
10 -4.55308380e+04 -7.73766316e+04 3.41e+04 3.30e-17 4.19e+00 0s
22 -5.16267842e+04 -5.19363844e+04 1.99e+02 7.90e-09 7.85e-02 1s
Objective Residual
Iter Primal Dual Primal Dual Compl Time
0 -4.08929095e+04 -2.06701892e+07 7.39e+08 2.16e-01 4.06e+05 0s
23 -5.17012398e+04 -5.18008595e+04 5.31e+01 1.62e-09 2.50e-02 1s
11 -4.61409130e+04 -7.13614930e+04 2.73e+04 2.13e-17 3.30e+00 0s
1 -6.95393047e+05 -1.92514725e+07 1.12e+08 4.29e-01 2.11e+05 0s
24 -5.17117768e+04 -5.17659886e+04 3.38e+01 1.93e-10 1.37e-02 1s
2 -5.88490385e+05 -6.82792694e+06 6.27e+07 7.91e-03 3.51e+04 0s
12 -4.80059206e+04 -6.62457463e+04 1.97e+04 1.90e-17 2.38e+00 0s
13 -4.91132693e+04 -6.11491298e+04 1.12e+04 2.15e-17 1.55e+00 0s
3 -4.92217599e+04 -2.99085056e+06 2.41e+06 3.86e-04 1.95e+03 0s
25 -5.17173692e+04 -5.17562764e+04 2.42e+01 1.61e-10 9.85e-03 1s
14 -5.01191061e+04 -5.74747919e+04 7.52e+03 2.11e-17 9.50e-01 0s
Read LP format model from file /tmp/linopy-problem-7oyys3e3.lp
Reading time = 0.16 seconds
obj: 23383 rows, 10720 columns, 44348 nonzeros
Gurobi Optimizer version 13.0.2 build v13.0.2rc1 (linux64 - "Ubuntu 24.04.5 LTS")
CPU model: AMD EPYC 7763 64-Core Processor, instruction set [SSE2|AVX|AVX2]
Thread count: 2 physical cores, 4 logical processors, using up to 4 threads
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Optimize a model with 23383 rows, 10720 columns and 44348 nonzeros (Min)
15 -5.08748252e+04 -5.55699360e+04 4.79e+03 3.62e-17 6.06e-01 0s
26 -5.17306809e+04 -5.17342516e+04 4.13e-01 2.05e-10 8.69e-04 1s
Model fingerprint: 0xe23520a4
Model has 2 linear objective coefficients
Coefficient statistics:
Matrix range [1e-03, 2e+05]
Objective range [2e-01, 1e+00]
Bounds range [0e+00, 0e+00]
RHS range [5e+03, 8e+09]
Warning: Model contains large rhs
Consider reformulating model or setting NumericFocus parameter
to avoid numerical issues.
4 -3.71122643e+04 -9.91338770e+05 4.60e+05 4.35e-06 3.68e+02 0s
Set parameter WLSAccessID
Set parameter WLSSecret
Set parameter LicenseID to value 2537914
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
16 -5.09158146e+04 -5.53164000e+04 4.64e+03 2.91e-17 5.69e-01 0s
Writing continuous variables.: 83%|████████▎ | 10/12 [00:00<00:00, 48.07it/s] Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 48.52it/s]
27 -5.17309569e+04 -5.17313821e+04 2.10e-01 1.97e-10 1.06e-04 1s
17 -5.11701864e+04 -5.49379715e+04 3.70e+03 3.75e-17 4.85e-01 0s
5 -3.75502088e+04 -4.46147848e+05 1.53e+05 7.14e-16 1.23e+02 0s
18 -5.15267813e+04 -5.34065789e+04 2.30e+03 2.63e-17 2.46e-01 0s
28 -5.17311698e+04 -5.17312298e+04 4.06e-02 7.15e-11 1.52e-05 1s
6 -4.01556739e+04 -1.85053371e+05 9.37e+04 5.48e-16 4.31e+01 0s
19 -5.17187370e+04 -5.32627062e+04 1.43e+03 2.33e-17 1.98e-01 0s
29 -5.17312192e+04 -5.17312202e+04 3.66e-06 6.55e-11 2.42e-07 1s
20 -5.19115893e+04 -5.27778979e+04 5.74e+02 2.80e-17 1.10e-01 0s
7 -4.48182192e+04 -1.38011865e+05 6.43e+04 4.79e-16 2.65e+01 0s
Presolve removed 13136 rows and 2416 columns
Presolve time: 0.11s
Presolved: 10247 rows, 8304 columns, 29770 nonzeros
Concurrent LP optimizer: dual simplex and barrier
Showing barrier log only...
21 -5.20218342e+04 -5.22009258e+04 1.47e+02 1.46e-09 2.30e-02 1s
30 -5.17312195e+04 -5.17312195e+04 1.91e-08 4.36e-14 2.42e-10 1s
Barrier solved model in 30 iterations and 0.90 seconds (0.18 work units)
Optimal objective -5.17312195e+04
8 -5.06217845e+04 -1.16879383e+05 2.94e+04 3.39e-16 1.76e+01 0s
Crossover log...
22 -5.20513366e+04 -5.21046918e+04 5.00e+01 2.55e-09 6.93e-03 1s
23 -5.20641552e+04 -5.20702975e+04 6.53e+00 1.85e-09 8.25e-04 1s
9 -5.40998696e+04 -1.02565883e+05 2.11e+04 2.78e-16 1.28e+01 0s
Ordering time: 0.02s
Read LP format model from file /tmp/linopy-problem-wtlogqx5.lp
24 -5.20665695e+04 -5.20676433e+04 2.45e-02 4.62e-10 1.37e-04 1s
10 -5.69987939e+04 -9.44257225e+04 1.79e+04 2.25e-16 9.89e+00 0s
Reading time = 0.14 seconds
obj: 23383 rows, 10720 columns, 44348 nonzeros
Gurobi Optimizer version 13.0.2 build v13.0.2rc1 (linux64 - "Ubuntu 24.04.5 LTS")
CPU model: AMD EPYC 7763 64-Core Processor, instruction set [SSE2|AVX|AVX2]
Thread count: 2 physical cores, 4 logical processors, using up to 4 threads
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Optimize a model with 23383 rows, 10720 columns and 44348 nonzeros (Min)
Model fingerprint: 0x62df6c84
Model has 2 linear objective coefficients
Coefficient statistics:
Matrix range [1e-03, 2e+05]
Objective range [2e-01, 1e+00]
Bounds range [0e+00, 0e+00]
RHS range [5e+03, 8e+09]
Warning: Model contains large rhs
Consider reformulating model or setting NumericFocus parameter
to avoid numerical issues.
Barrier statistics:
Dense cols : 6
AA' NZ : 2.537e+04
Factor NZ : 1.718e+05 (roughly 9 MB of memory)
Factor Ops : 2.974e+06 (less than 1 second per iteration)
Threads : 1
11 -6.01569011e+04 -8.92711769e+04 1.30e+04 2.40e-16 7.63e+00 0s
25 -5.20665944e+04 -5.20666161e+04 5.94e-08 1.14e-10 1.29e-06 1s
5 DPushes remaining with DInf 0.0000000e+00 1s
12 -6.22553163e+04 -8.26725583e+04 8.98e+03 2.15e-16 5.33e+00 0s
0 DPushes remaining with DInf 0.0000000e+00 1s
26 -5.20665961e+04 -5.20665967e+04 6.78e-08 5.80e-12 1.29e-09 1s
Objective Residual
Iter Primal Dual Primal Dual Compl Time
Barrier solved model in 26 iterations and 0.62 seconds (0.16 work units)
Optimal objective -5.20665961e+04
0 -1.06617948e+04 -1.09516645e+07 7.39e+08 1.15e-01 2.15e+05 0s
1988 PPushes remaining with PInf 0.0000000e+00 1s
Crossover log...
13 -6.46073689e+04 -7.76147199e+04 3.99e+03 1.45e-16 3.31e+00 0s
608 DPushes remaining with DInf 0.0000000e+00 1s
1 -2.72024693e+05 -9.61473801e+06 1.06e+08 2.24e-01 1.05e+05 0s
14 -6.56519721e+04 -7.06663804e+04 2.13e+03 1.65e-16 1.30e+00 0s
2 -1.83792027e+05 -3.47979761e+06 5.68e+07 2.45e-03 1.68e+04 0s
15 -6.64781939e+04 -6.84302847e+04 7.18e+02 1.34e-08 5.05e-01 1s
Presolve removed 13136 rows and 2416 columns
Presolve time: 0.13s
Presolved: 10247 rows, 8304 columns, 29770 nonzeros
Concurrent LP optimizer: dual simplex and barrier
Showing barrier log only...
16 -6.65429055e+04 -6.73886554e+04 6.12e+02 3.21e-09 2.30e-01 1s
3 -2.23559804e+04 -1.60105872e+06 1.52e+06 4.68e-05 7.85e+02 0s
Ordering time: 0.02s
4 -2.10620254e+04 -4.30028790e+05 4.45e+05 1.29e-15 1.58e+02 0s
17 -6.65787566e+04 -6.70935741e+04 5.27e+02 6.97e-09 1.46e-01 1s
Barrier statistics:
Dense cols : 6
AA' NZ : 2.537e+04
Factor NZ : 1.718e+05 (roughly 9 MB of memory)
Factor Ops : 2.974e+06 (less than 1 second per iteration)
Threads : 1
0 DPushes remaining with DInf 0.0000000e+00 1s
2262 PPushes remaining with PInf 0.0000000e+00 1s
0 PPushes remaining with PInf 0.0000000e+00 1s
Push phase complete: Pinf 0.0000000e+00, Dinf 8.8210689e-16 1s
Crossover time: 0.25 seconds (0.06 work units)
5 -2.33074192e+04 -1.89684652e+05 1.58e+05 4.92e-16 5.07e+01 0s
Solved with barrier
18 -6.69147925e+04 -6.70141162e+04 8.34e+00 2.15e-08 2.30e-02 1s
Objective Residual
Iter Primal Dual Primal Dual Compl Time
0 -4.79166792e+04 -2.06285536e+07 7.39e+08 2.16e-01 4.05e+05 0s
6 -2.60787802e+04 -1.17764130e+05 1.08e+05 2.39e-16 2.72e+01 0s
Iteration Objective Primal Inf. Dual Inf. Time
1996 -5.1731219e+04 0.000000e+00 0.000000e+00 1s
Solved in 1996 iterations and 1.18 seconds (0.25 work units)
Optimal objective -5.173121946e+04
1 -7.53813806e+05 -1.92701132e+07 1.12e+08 4.31e-01 2.11e+05 0s
19 -6.69232379e+04 -6.69284665e+04 1.18e-05 7.50e-10 1.22e-03 1s
7 -2.88965448e+04 -9.96670087e+04 7.72e+04 2.05e-16 2.02e+01 0s
2 -6.51340768e+05 -6.89668689e+06 6.29e+07 8.07e-03 3.57e+04 0s
20 -6.69268141e+04 -6.69268507e+04 8.28e-07 1.25e-10 1.09e-05 1s
8 -3.28450297e+04 -8.91689071e+04 5.29e+04 1.33e-16 1.56e+01 0s
21 -6.69268159e+04 -6.69268160e+04 6.94e-08 8.45e-14 1.09e-08 1s
9 -3.63303425e+04 -8.13941800e+04 4.26e+04 1.63e-16 1.24e+01 0s
3 -5.73276150e+04 -3.02034185e+06 2.40e+06 3.64e-04 1.97e+03 0s
22 -6.69268159e+04 -6.69268159e+04 6.45e-08 5.37e-15 1.09e-11 1s
Barrier solved model in 22 iterations and 0.71 seconds (0.14 work units)
Optimal objective -6.69268159e+04
10 -3.66752507e+04 -7.53820149e+04 3.70e+04 1.43e-16 1.05e+01 0s
Crossover log...
4 -4.48505834e+04 -1.07502187e+06 5.23e+05 1.16e-06 4.13e+02 0s
11 -4.12711507e+04 -6.61630944e+04 2.05e+04 1.33e-16 6.62e+00 1s
5 -4.47191059e+04 -5.18911584e+05 1.77e+05 9.65e-16 1.46e+02 0s
4 DPushes remaining with DInf 0.0000000e+00 1s
0 PPushes remaining with PInf 0.0000000e+00 1s
Push phase complete: Pinf 0.0000000e+00, Dinf 6.3924560e-16 1s
0 DPushes remaining with DInf 0.0000000e+00 1s
2041 PPushes remaining with PInf 0.0000000e+00 1s
12 -4.21032539e+04 -5.95628311e+04 1.76e+04 1.20e-16 4.72e+00 1s
Crossover time: 0.34 seconds (0.12 work units)
6 -4.70401487e+04 -1.98157582e+05 1.08e+05 4.97e-16 4.51e+01 0s
Solved with barrier
13 -4.36382016e+04 -5.73050120e+04 1.20e+04 9.42e-17 3.64e+00 1s
Iteration Objective Primal Inf. Dual Inf. Time
2871 -5.2066596e+04 0.000000e+00 0.000000e+00 1s
Solved in 2871 iterations and 1.00 seconds (0.29 work units)
Optimal objective -5.206659614e+04
7 -5.15559669e+04 -1.51095578e+05 6.98e+04 4.06e-16 2.82e+01 0s
14 -4.40999902e+04 -5.64464094e+04 8.52e+03 9.70e-17 3.22e+00 1s
15 -4.48455051e+04 -5.12350282e+04 5.87e+03 6.51e-17 1.70e+00 1s
8 -5.71044661e+04 -1.20042612e+05 2.39e+04 3.27e-16 1.64e+01 0s
16 -4.58314921e+04 -4.73362681e+04 1.18e+03 1.77e-09 3.92e-01 1s
17 -4.63745506e+04 -4.66961684e+04 2.74e+02 1.03e-08 8.41e-02 1s
9 -6.05254026e+04 -1.07502798e+05 1.91e+04 2.17e-16 1.22e+01 0s
18 -4.65169809e+04 -4.66093795e+04 6.08e+01 6.43e-09 2.37e-02 1s
0 PPushes remaining with PInf 0.0000000e+00 1s
Push phase complete: Pinf 0.0000000e+00, Dinf 5.8737737e-15 1s
10 -6.26899693e+04 -1.05793804e+05 1.59e+04 1.94e-16 1.11e+01 1s
Crossover time: 0.20 seconds (0.06 work units)
Solved with barrier
19 -4.65572324e+04 -4.65846976e+04 4.46e+00 4.38e-09 6.71e-03 1s
11 -6.60632456e+04 -9.87213920e+04 1.13e+04 1.29e-16 8.38e+00 1s
Iteration Objective Primal Inf. Dual Inf. Time
2048 -6.6926816e+04 0.000000e+00 0.000000e+00 1s
Solved in 2048 iterations and 0.94 seconds (0.21 work units)
Optimal objective -6.692681594e+04
20 -4.65595223e+04 -4.65625586e+04 1.48e+00 3.16e-10 7.63e-04 1s
12 -6.71884347e+04 -9.11707308e+04 8.91e+03 1.68e-16 6.17e+00 1s
21 -4.65612096e+04 -4.65622801e+04 5.43e-02 4.15e-10 2.56e-04 1s
13 -6.96388227e+04 -8.61335392e+04 4.19e+03 9.07e-17 4.16e+00 1s
14 -7.08992414e+04 -7.60687922e+04 1.64e+03 1.88e-16 1.31e+00 1s
22 -4.65612635e+04 -4.65612637e+04 2.21e-06 2.51e-12 1.95e-08 1s
15 -7.16372468e+04 -7.50180089e+04 5.69e+02 1.51e-16 8.38e-01 1s
23 -4.65612635e+04 -4.65612635e+04 8.85e-09 2.12e-15 1.95e-11 1s
Barrier solved model in 23 iterations and 0.81 seconds (0.15 work units)
Optimal objective -4.65612635e+04
16 -7.17831957e+04 -7.34965046e+04 3.81e+02 1.19e-16 4.28e-01 1s
Crossover log...
17 -7.20070778e+04 -7.23634418e+04 7.92e+01 2.94e-09 8.89e-02 1s
18 -7.20713109e+04 -7.20878372e+04 3.56e+00 2.43e-09 4.34e-03 1s
8 DPushes remaining with DInf 0.0000000e+00 1s
19 -7.20770917e+04 -7.20771089e+04 1.84e-07 2.35e-10 1.37e-05 1s
0 DPushes remaining with DInf 0.0000000e+00 1s
1791 PPushes remaining with PInf 0.0000000e+00 1s
20 -7.20771072e+04 -7.20771072e+04 1.05e-08 3.53e-13 3.79e-09 1s
Barrier solved model in 20 iterations and 0.72 seconds (0.13 work units)
Optimal objective -7.20771072e+04
Crossover log...
Warning: environment still referenced so free is deferred (Continue to use WLS)
71 DPushes remaining with DInf 0.0000000e+00 1s
0 DPushes remaining with DInf 0.0000000e+00 1s
2070 PPushes remaining with PInf 0.0000000e+00 1s
0 PPushes remaining with PInf 0.0000000e+00 1s
Push phase complete: Pinf 0.0000000e+00, Dinf 1.1050189e-15 1s
Crossover time: 0.20 seconds (0.06 work units)
Solved with barrier
Iteration Objective Primal Inf. Dual Inf. Time
1802 -4.6561264e+04 0.000000e+00 0.000000e+00 1s
Solved in 1802 iterations and 1.03 seconds (0.21 work units)
Optimal objective -4.656126351e+04
0 PPushes remaining with PInf 0.0000000e+00 1s
Push phase complete: Pinf 0.0000000e+00, Dinf 5.2943760e-15 1s
Crossover time: 0.16 seconds (0.07 work units)
Solved with barrier
Iteration Objective Primal Inf. Dual Inf. Time
2144 -7.2077107e+04 0.000000e+00 0.000000e+00 1s
Solved in 2144 iterations and 0.91 seconds (0.21 work units)
Optimal objective -7.207710721e+04
Warning: environment still referenced so free is deferred (Continue to use WLS)
Warning: environment still referenced so free is deferred (Continue to use WLS) Warning: environment still referenced so free is deferred (Continue to use WLS)
Warning: environment still referenced so free is deferred (Continue to use WLS) Warning: environment still referenced so free is deferred (Continue to use WLS)
Warning: environment still referenced so free is deferred (Continue to use WLS)
Warning: environment still referenced so free is deferred (Continue to use WLS)
/home/runner/work/PyPSA/PyPSA/pypsa/network/io.py:2085: FutureWarning: pandas infers the `str` dtype for string data since its version 3.0. PyPSA still converts it back to numpy object dtype on import, but will keep it from PyPSA 2.0 on. Set `pypsa.options.api.legacy_string_dtype` explicitly to suppress this warning. new_static = _coerce_string_dtypes(new_static)
/home/runner/work/PyPSA/PyPSA/pypsa/network/io.py:2085: FutureWarning: pandas infers the `str` dtype for string data since its version 3.0. PyPSA still converts it back to numpy object dtype on import, but will keep it from PyPSA 2.0 on. Set `pypsa.options.api.legacy_string_dtype` explicitly to suppress this warning. new_static = _coerce_string_dtypes(new_static)
/home/runner/work/PyPSA/PyPSA/pypsa/network/io.py:2085: FutureWarning: pandas infers the `str` dtype for string data since its version 3.0. PyPSA still converts it back to numpy object dtype on import, but will keep it from PyPSA 2.0 on. Set `pypsa.options.api.legacy_string_dtype` explicitly to suppress this warning. new_static = _coerce_string_dtypes(new_static)
/home/runner/work/PyPSA/PyPSA/pypsa/network/io.py:2085: FutureWarning: pandas infers the `str` dtype for string data since its version 3.0. PyPSA still converts it back to numpy object dtype on import, but will keep it from PyPSA 2.0 on. Set `pypsa.options.api.legacy_string_dtype` explicitly to suppress this warning. new_static = _coerce_string_dtypes(new_static) /home/runner/work/PyPSA/PyPSA/pypsa/network/io.py:2085: FutureWarning: pandas infers the `str` dtype for string data since its version 3.0. PyPSA still converts it back to numpy object dtype on import, but will keep it from PyPSA 2.0 on. Set `pypsa.options.api.legacy_string_dtype` explicitly to suppress this warning. new_static = _coerce_string_dtypes(new_static) /home/runner/work/PyPSA/PyPSA/pypsa/network/io.py:2085: FutureWarning: pandas infers the `str` dtype for string data since its version 3.0. PyPSA still converts it back to numpy object dtype on import, but will keep it from PyPSA 2.0 on. Set `pypsa.options.api.legacy_string_dtype` explicitly to suppress this warning. new_static = _coerce_string_dtypes(new_static)
/opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/contextlib.py:85: FutureWarning: The default value of `include_objective_constant` will change from True to False in version 2.0. Set `include_objective_constant` explicitly to suppress this warning. Using False improves LP numerical conditioning by not including the objective constant as a variable. return func(*args, **kwds)
/home/runner/work/PyPSA/PyPSA/pypsa/network/io.py:2085: FutureWarning: pandas infers the `str` dtype for string data since its version 3.0. PyPSA still converts it back to numpy object dtype on import, but will keep it from PyPSA 2.0 on. Set `pypsa.options.api.legacy_string_dtype` explicitly to suppress this warning. new_static = _coerce_string_dtypes(new_static) /opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/contextlib.py:85: FutureWarning: The default value of `include_objective_constant` will change from True to False in version 2.0. Set `include_objective_constant` explicitly to suppress this warning. Using False improves LP numerical conditioning by not including the objective constant as a variable. return func(*args, **kwds) /home/runner/work/PyPSA/PyPSA/pypsa/network/io.py:2085: FutureWarning: pandas infers the `str` dtype for string data since its version 3.0. PyPSA still converts it back to numpy object dtype on import, but will keep it from PyPSA 2.0 on. Set `pypsa.options.api.legacy_string_dtype` explicitly to suppress this warning. new_static = _coerce_string_dtypes(new_static)
/opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/contextlib.py:85: FutureWarning: The default value of `include_objective_constant` will change from True to False in version 2.0. Set `include_objective_constant` explicitly to suppress this warning. Using False improves LP numerical conditioning by not including the objective constant as a variable. return func(*args, **kwds) /opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/contextlib.py:85: FutureWarning: The default value of `include_objective_constant` will change from True to False in version 2.0. Set `include_objective_constant` explicitly to suppress this warning. Using False improves LP numerical conditioning by not including the objective constant as a variable. return func(*args, **kwds) /opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/contextlib.py:85: FutureWarning: The default value of `include_objective_constant` will change from True to False in version 2.0. Set `include_objective_constant` explicitly to suppress this warning. Using False improves LP numerical conditioning by not including the objective constant as a variable. return func(*args, **kwds)
/opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/contextlib.py:85: FutureWarning: The default value of `include_objective_constant` will change from True to False in version 2.0. Set `include_objective_constant` explicitly to suppress this warning. Using False improves LP numerical conditioning by not including the objective constant as a variable. return func(*args, **kwds)
/opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/contextlib.py:85: FutureWarning: The default value of `include_objective_constant` will change from True to False in version 2.0. Set `include_objective_constant` explicitly to suppress this warning. Using False improves LP numerical conditioning by not including the objective constant as a variable. return func(*args, **kwds)
/opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/contextlib.py:85: FutureWarning: The default value of `include_objective_constant` will change from True to False in version 2.0. Set `include_objective_constant` explicitly to suppress this warning. Using False improves LP numerical conditioning by not including the objective constant as a variable. return func(*args, **kwds)
Writing constraints.: 0%| | 0/26 [00:00<?, ?it/s] Writing constraints.: 12%|█▏ | 3/26 [00:00<00:00, 27.10it/s]
Writing constraints.: 31%|███ | 8/26 [00:00<00:00, 38.47it/s] Writing constraints.: 62%|██████▏ | 16/26 [00:00<00:00, 53.08it/s]
Writing constraints.: 85%|████████▍ | 22/26 [00:00<00:00, 55.48it/s] Writing constraints.: 100%|██████████| 26/26 [00:00<00:00, 50.13it/s] Writing continuous variables.: 0%| | 0/12 [00:00<?, ?it/s] Writing continuous variables.: 83%|████████▎ | 10/12 [00:00<00:00, 97.27it/s]
Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 89.08it/s]
Set parameter WLSAccessID
Set parameter WLSSecret
Set parameter LicenseID to value 2537914
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Read LP format model from file /tmp/linopy-problem-nm_yni3f.lp
Reading time = 0.14 seconds
obj: 23383 rows, 10720 columns, 44348 nonzeros
Gurobi Optimizer version 13.0.2 build v13.0.2rc1 (linux64 - "Ubuntu 24.04.5 LTS")
CPU model: AMD EPYC 7763 64-Core Processor, instruction set [SSE2|AVX|AVX2]
Thread count: 2 physical cores, 4 logical processors, using up to 4 threads
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Optimize a model with 23383 rows, 10720 columns and 44348 nonzeros (Min)
Model fingerprint: 0x41c97c21
Model has 2 linear objective coefficients
Coefficient statistics:
Matrix range [1e-03, 2e+05]
Objective range [6e-01, 8e-01]
Bounds range [0e+00, 0e+00]
RHS range [5e+03, 8e+09]
Warning: Model contains large rhs
Consider reformulating model or setting NumericFocus parameter
to avoid numerical issues.
Presolve removed 13136 rows and 2416 columns
Presolve time: 0.07s
Presolved: 10247 rows, 8304 columns, 29770 nonzeros
Concurrent LP optimizer: dual simplex and barrier
Showing barrier log only...
Ordering time: 0.01s
Barrier statistics:
Dense cols : 6
AA' NZ : 2.537e+04
Factor NZ : 1.718e+05 (roughly 9 MB of memory)
Factor Ops : 2.974e+06 (less than 1 second per iteration)
Threads : 1
Objective Residual
Iter Primal Dual Primal Dual Compl Time
0 -7.29276877e+03 -1.20175765e+07 7.39e+08 6.29e-02 1.18e+05 0s
1 -2.91410237e+05 -1.11217312e+07 1.13e+08 1.16e-01 6.03e+04 0s
2 -1.96361237e+05 -3.88059236e+06 6.20e+07 2.12e-03 9.81e+03 0s
3 -9.18913467e+03 -1.72960210e+06 2.30e+06 1.21e-04 5.45e+02 0s
4 -5.19325530e+03 -5.48209605e+05 4.44e+05 3.25e-06 1.03e+02 0s
5 -6.75936569e+03 -2.38195542e+05 1.37e+05 4.18e-07 3.42e+01 0s
6 -9.66920106e+03 -9.83707589e+04 9.00e+04 1.89e-16 1.31e+01 0s
7 -1.23579889e+04 -7.14829930e+04 6.85e+04 1.23e-16 8.56e+00 0s
8 -1.68031956e+04 -6.50817232e+04 3.65e+04 8.94e-17 6.56e+00 0s 9 -1.94673890e+04 -4.98586928e+04 2.57e+04 6.50e-17 4.12e+00 0s 10 -2.06479658e+04 -4.88511996e+04 2.21e+04 3.99e-09 3.79e+00 0s 11 -2.27493398e+04 -4.41141485e+04 1.56e+04 2.66e-08 2.85e+00 0s 12 -2.39616544e+04 -4.29204289e+04 1.33e+04 4.09e-08 2.52e+00 0s 13 -2.46473299e+04 -3.65277901e+04 1.12e+04 1.45e-07 1.62e+00 0s 14 -2.52178770e+04 -3.56687065e+04 8.13e+03 1.56e-07 1.40e+00 0s 15 -2.59723969e+04 -3.47063564e+04 6.02e+03 1.44e-07 1.16e+00 0s 16 -2.62273322e+04 -3.37344803e+04 5.31e+03 1.23e-07 9.98e-01 0s 17 -2.65605567e+04 -3.31495334e+04 4.17e+03 1.30e-07 8.70e-01 0s
18 -2.74641251e+04 -3.03135591e+04 7.49e+02 1.44e-07 3.67e-01 0s 19 -2.76086596e+04 -2.78922794e+04 3.29e+02 8.62e-08 4.66e-02 1s 20 -2.76979157e+04 -2.78217830e+04 8.72e+01 6.37e-08 2.18e-02 1s 21 -2.77300294e+04 -2.77389235e+04 5.34e-01 2.32e-08 3.16e-03 1s 22 -2.77318213e+04 -2.77117797e+04 5.14e-08 2.89e-08 2.15e-04 1s 23 -2.77319304e+04 -2.77223773e+04 3.85e-08 1.38e-08 1.05e-04 1s 24 -2.77323392e+04 -2.77286759e+04 4.53e-08 5.76e-09 3.47e-05 1s
25 -2.77323657e+04 -2.77323280e+04 2.28e-08 7.62e-11 3.44e-07 1s
26 -2.77323659e+04 -2.77323659e+04 6.43e-08 2.79e-13 3.44e-10 1s
Barrier solved model in 26 iterations and 0.74 seconds (0.18 work units)
Optimal objective -2.77323659e+04
Crossover log...
4 DPushes remaining with DInf 0.0000000e+00 1s
0 DPushes remaining with DInf 0.0000000e+00 1s
1859 PPushes remaining with PInf 0.0000000e+00 1s
0 PPushes remaining with PInf 0.0000000e+00 1s
Push phase complete: Pinf 0.0000000e+00, Dinf 1.6549262e-15 1s
Crossover time: 0.18 seconds (0.07 work units)
Solved with barrier
Iteration Objective Primal Inf. Dual Inf. Time
1866 -2.7732366e+04 0.000000e+00 0.000000e+00 1s
Solved in 1866 iterations and 0.95 seconds (0.25 work units)
Optimal objective -2.773236587e+04
Writing constraints.: 0%| | 0/26 [00:00<?, ?it/s] Writing constraints.: 19%|█▉ | 5/26 [00:00<00:00, 43.73it/s]
Writing constraints.: 38%|███▊ | 10/26 [00:00<00:00, 41.65it/s] Writing constraints.: 65%|██████▌ | 17/26 [00:00<00:00, 51.84it/s] Writing constraints.: 0%| | 0/26 [00:00<?, ?it/s] Writing constraints.: 0%| | 0/26 [00:00<?, ?it/s]
Writing constraints.: 88%|████████▊ | 23/26 [00:00<00:00, 50.91it/s] Writing constraints.: 19%|█▉ | 5/26 [00:00<00:00, 48.71it/s] Writing constraints.: 15%|█▌ | 4/26 [00:00<00:00, 37.01it/s] Writing constraints.: 100%|██████████| 26/26 [00:00<00:00, 49.86it/s] Writing continuous variables.: 0%| | 0/12 [00:00<?, ?it/s] Writing constraints.: 38%|███▊ | 10/26 [00:00<00:00, 46.92it/s] Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 117.35it/s] Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 117.03it/s] Writing constraints.: 35%|███▍ | 9/26 [00:00<00:00, 42.35it/s] Writing constraints.: 0%| | 0/26 [00:00<?, ?it/s]
Set parameter WLSAccessID
Set parameter WLSSecret
Set parameter LicenseID to value 2537914
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Read LP format model from file /tmp/linopy-problem-mg80p2lh.lp
Reading time = 0.13 seconds
obj: 23383 rows, 10720 columns, 44348 nonzeros
Gurobi Optimizer version 13.0.2 build v13.0.2rc1 (linux64 - "Ubuntu 24.04.5 LTS")
CPU model: AMD EPYC 7763 64-Core Processor, instruction set [SSE2|AVX|AVX2]
Thread count: 2 physical cores, 4 logical processors, using up to 4 threads
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Optimize a model with 23383 rows, 10720 columns and 44348 nonzeros (Min)
Model fingerprint: 0xa4bf9921
Model has 2 linear objective coefficients
Coefficient statistics:
Matrix range [1e-03, 2e+05]
Objective range [6e-01, 8e-01]
Bounds range [0e+00, 0e+00]
RHS range [5e+03, 8e+09]
Warning: Model contains large rhs
Consider reformulating model or setting NumericFocus parameter
to avoid numerical issues.
Warning: environment still referenced so free is deferred (Continue to use WLS)
Writing constraints.: 77%|███████▋ | 20/26 [00:00<00:00, 69.20it/s] Writing constraints.: 54%|█████▍ | 14/26 [00:00<00:00, 43.49it/s] Writing constraints.: 23%|██▎ | 6/26 [00:00<00:00, 45.49it/s] Writing constraints.: 100%|██████████| 26/26 [00:00<00:00, 57.55it/s] Writing continuous variables.: 0%| | 0/12 [00:00<?, ?it/s] Writing constraints.: 73%|███████▎ | 19/26 [00:00<00:00, 38.02it/s]
Presolve removed 13136 rows and 2416 columns
Presolve time: 0.08s
Presolved: 10247 rows, 8304 columns, 29770 nonzeros
Concurrent LP optimizer: dual simplex and barrier
Showing barrier log only...
Ordering time: 0.02s
Barrier statistics:
Dense cols : 6
AA' NZ : 2.537e+04
Factor NZ : 1.718e+05 (roughly 9 MB of memory)
Factor Ops : 2.974e+06 (less than 1 second per iteration)
Threads : 1
Objective Residual
Iter Primal Dual Primal Dual Compl Time
0 -2.11232148e+04 -1.63912085e+07 7.39e+08 8.58e-02 1.61e+05 0s
1 -4.73576752e+05 -1.51814937e+07 1.13e+08 1.64e-01 8.25e+04 0s
2 -3.65939306e+05 -5.32414421e+06 6.23e+07 2.98e-03 1.35e+04 0s
3 -2.56624443e+04 -2.33367284e+06 2.38e+06 1.66e-04 7.55e+02 0s
4 -1.79432344e+04 -7.15965027e+05 4.42e+05 2.17e-06 1.34e+02 0s
Writing constraints.: 42%|████▏ | 11/26 [00:00<00:00, 43.48it/s] Writing constraints.: 0%| | 0/26 [00:00<?, ?it/s] Writing continuous variables.: 58%|█████▊ | 7/12 [00:00<00:00, 65.75it/s] Writing constraints.: 92%|█████████▏| 24/26 [00:00<00:00, 38.80it/s] Writing constraints.: 65%|██████▌ | 17/26 [00:00<00:00, 47.24it/s] Writing constraints.: 23%|██▎ | 6/26 [00:00<00:00, 55.86it/s] Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 56.77it/s] Writing constraints.: 100%|██████████| 26/26 [00:00<00:00, 39.63it/s] Writing continuous variables.: 0%| | 0/12 [00:00<?, ?it/s]
5 -1.93737771e+04 -3.23584554e+05 1.34e+05 1.04e-07 4.49e+01 0s
Set parameter WLSAccessID
Set parameter WLSSecret
Set parameter LicenseID to value 2537914
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
6 -2.44933387e+04 -1.39833852e+05 7.02e+04 1.82e-16 1.65e+01 0s
7 -2.73164424e+04 -9.28488157e+04 5.51e+04 1.57e-16 9.31e+00 0s
8 -3.37396584e+04 -8.69313761e+04 2.93e+04 1.31e-16 7.14e+00 0s
9 -3.79036398e+04 -7.29243518e+04 1.81e+04 8.41e-17 4.63e+00 0s
10 -3.91627381e+04 -6.61770826e+04 1.51e+04 6.53e-17 3.58e+00 0s
Set parameter WLSAccessID
Set parameter WLSSecret
Set parameter LicenseID to value 2537914
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
11 -4.07937116e+04 -6.21160924e+04 1.21e+04 6.96e-17 2.82e+00 0s
Read LP format model from file /tmp/linopy-problem-lf1xycd2.lp
Reading time = 0.16 seconds
obj: 23383 rows, 10720 columns, 44348 nonzeros
Gurobi Optimizer version 13.0.2 build v13.0.2rc1 (linux64 - "Ubuntu 24.04.5 LTS")
CPU model: AMD EPYC 7763 64-Core Processor, instruction set [SSE2|AVX|AVX2]
Thread count: 2 physical cores, 4 logical processors, using up to 4 threads
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Optimize a model with 23383 rows, 10720 columns and 44348 nonzeros (Min)
Model fingerprint: 0x63b34966
Model has 2 linear objective coefficients
Coefficient statistics:
Matrix range [1e-03, 2e+05]
Objective range [3e-01, 9e-01]
Bounds range [0e+00, 0e+00]
RHS range [5e+03, 8e+09]
Warning: Model contains large rhs
Consider reformulating model or setting NumericFocus parameter
to avoid numerical issues.
12 -4.10156565e+04 -5.78035031e+04 1.16e+04 4.89e-17 2.26e+00 0s
13 -4.18171083e+04 -5.68980470e+04 1.04e+04 8.97e-17 2.03e+00 0s
14 -4.25983024e+04 -5.33721643e+04 7.77e+03 4.87e-08 1.46e+00 1s
Writing constraints.: 85%|████████▍ | 22/26 [00:00<00:00, 42.40it/s] Writing continuous variables.: 83%|████████▎ | 10/12 [00:00<00:00, 89.05it/s] Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 90.51it/s] Writing constraints.: 46%|████▌ | 12/26 [00:00<00:00, 39.29it/s] Writing constraints.: 100%|██████████| 26/26 [00:00<00:00, 43.54it/s] Writing continuous variables.: 0%| | 0/12 [00:00<?, ?it/s] Writing constraints.: 65%|██████▌ | 17/26 [00:00<00:00, 40.42it/s] Writing continuous variables.: 67%|██████▋ | 8/12 [00:00<00:00, 78.87it/s]
15 -4.33795529e+04 -4.97764062e+04 5.60e+03 1.08e-07 8.88e-01 1s
Read LP format model from file /tmp/linopy-problem-566p145b.lp
16 -4.41740347e+04 -4.76453386e+04 3.25e+03 1.05e-07 4.89e-01 1s
Reading time = 0.10 seconds
obj: 23383 rows, 10720 columns, 44348 nonzeros
Gurobi Optimizer version 13.0.2 build v13.0.2rc1 (linux64 - "Ubuntu 24.04.5 LTS")
CPU model: AMD EPYC 7763 64-Core Processor, instruction set [SSE2|AVX|AVX2]
Thread count: 2 physical cores, 4 logical processors, using up to 4 threads
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Optimize a model with 23383 rows, 10720 columns and 44348 nonzeros (Min)
Model fingerprint: 0x960778c1
Model has 2 linear objective coefficients
Coefficient statistics:
Matrix range [1e-03, 2e+05]
Objective range [1e-01, 1e+00]
Bounds range [0e+00, 0e+00]
RHS range [5e+03, 8e+09]
Warning: Model contains large rhs
Consider reformulating model or setting NumericFocus parameter
to avoid numerical issues.
17 -4.49350586e+04 -4.65399580e+04 7.86e+02 8.88e-08 2.16e-01 1s
Presolve removed 13136 rows and 2416 columns
Presolve time: 0.09s
Presolved: 10247 rows, 8304 columns, 29770 nonzeros
Concurrent LP optimizer: dual simplex and barrier
Showing barrier log only...
18 -4.51982108e+04 -4.52476011e+04 7.35e+01 3.43e-08 9.97e-03 1s
19 -4.52337520e+04 -4.52347586e+04 1.51e-03 3.19e-09 3.64e-04 1s
Ordering time: 0.02s
20 -4.52345471e+04 -4.52297655e+04 1.59e-05 8.57e-09 6.98e-05 1s
Barrier statistics:
Dense cols : 6
AA' NZ : 2.537e+04
Factor NZ : 1.718e+05 (roughly 9 MB of memory)
Factor Ops : 2.974e+06 (less than 1 second per iteration)
Threads : 1
21 -4.52345748e+04 -4.52347171e+04 1.31e-07 2.25e-10 4.21e-07 1s
Presolve removed 13136 rows and 2416 columns
Objective Residual
Iter Primal Dual Primal Dual Compl Time
0 5.46047904e+03 -8.49418387e+06 7.39e+08 4.30e-02 8.34e+04 0s
Presolve time: 0.09s
Presolved: 10247 rows, 8304 columns, 29770 nonzeros
Concurrent LP optimizer: dual simplex and barrier
Showing barrier log only...
22 -4.52345766e+04 -4.52345768e+04 6.94e-09 5.10e-12 1.53e-09 1s
Barrier solved model in 22 iterations and 0.63 seconds (0.14 work units)
Optimal objective -4.52345766e+04
Set parameter WLSAccessID
Set parameter WLSSecret
Set parameter LicenseID to value 2537914
Crossover log...
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
1 -1.06215535e+05 -7.85521063e+06 1.13e+08 8.29e-02 4.25e+04 0s
2 -3.02981026e+04 -2.70116935e+06 6.15e+07 1.44e-03 6.80e+03 0s
Ordering time: 0.02s
5 DPushes remaining with DInf 0.0000000e+00 1s
0 DPushes remaining with DInf 0.0000000e+00 1s
1983 PPushes remaining with PInf 0.0000000e+00 1s
3 6.13645198e+03 -1.22425816e+06 2.20e+06 8.92e-05 3.74e+02 0s
Barrier statistics:
Dense cols : 6
AA' NZ : 2.537e+04
Factor NZ : 1.718e+05 (roughly 9 MB of memory)
Factor Ops : 2.974e+06 (less than 1 second per iteration)
Threads : 1
4 6.64211781e+03 -3.95103249e+05 4.66e+05 3.88e-06 7.67e+01 0s
Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 80.25it/s] Writing constraints.: 85%|████████▍ | 22/26 [00:00<00:00, 35.09it/s]
Objective Residual
Iter Primal Dual Primal Dual Compl Time
0 -4.15094538e+04 -2.07335110e+07 7.39e+08 2.17e-01 4.07e+05 0s
Read LP format model from file /tmp/linopy-problem-h8d8uz_w.lp
Reading time = 0.10 seconds
obj: 23383 rows, 10720 columns, 44348 nonzeros
Gurobi Optimizer version 13.0.2 build v13.0.2rc1 (linux64 - "Ubuntu 24.04.5 LTS")
CPU model: AMD EPYC 7763 64-Core Processor, instruction set [SSE2|AVX|AVX2]
Thread count: 2 physical cores, 4 logical processors, using up to 4 threads
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Optimize a model with 23383 rows, 10720 columns and 44348 nonzeros (Min)
Model fingerprint: 0x925f6539
Model has 2 linear objective coefficients
Coefficient statistics:
Matrix range [1e-03, 2e+05]
Objective range [5e-01, 8e-01]
Bounds range [0e+00, 0e+00]
RHS range [5e+03, 8e+09]
Warning: Model contains large rhs
Consider reformulating model or setting NumericFocus parameter
to avoid numerical issues.
5 4.88396802e+03 -1.50393741e+05 1.42e+05 4.82e-07 2.32e+01 0s
0 PPushes remaining with PInf 0.0000000e+00 1s
Push phase complete: Pinf 0.0000000e+00, Dinf 2.2204460e-15 1s
1 -7.01354608e+05 -1.93145770e+07 1.12e+08 4.30e-01 2.11e+05 0s
Crossover time: 0.14 seconds (0.06 work units)
Solved with barrier
6 3.02883528e+03 -6.82407253e+04 1.07e+05 9.93e-17 1.07e+01 0s
7 3.47634838e+02 -4.65460991e+04 7.16e+04 1.11e-07 6.81e+00 0s
8 -7.59454193e+02 -3.89251779e+04 4.67e+04 1.41e-07 5.33e+00 0s
Iteration Objective Primal Inf. Dual Inf. Time
1991 -4.5234577e+04 0.000000e+00 0.000000e+00 1s
Solved in 1991 iterations and 0.79 seconds (0.21 work units)
Optimal objective -4.523457661e+04
9 -3.68958241e+03 -2.80707699e+04 2.88e+04 2.20e-07 3.34e+00 0s
10 -5.77046833e+03 -2.63115660e+04 2.15e+04 2.53e-07 2.78e+00 0s
2 -5.94705693e+05 -6.85403410e+06 6.27e+07 7.95e-03 3.53e+04 0s
Presolve removed 13136 rows and 2416 columns
Presolve time: 0.08s
Presolved: 10247 rows, 8304 columns, 29770 nonzeros
Concurrent LP optimizer: dual simplex and barrier
Showing barrier log only...
11 -7.27249284e+03 -2.05619975e+04 1.26e+04 2.86e-07 1.78e+00 0s
3 -4.99457681e+04 -3.00222627e+06 2.41e+06 3.86e-04 1.96e+03 0s
12 -8.42605132e+03 -1.99389833e+04 9.21e+03 2.66e-07 1.52e+00 0s
Ordering time: 0.01s
Barrier statistics:
Dense cols : 6
AA' NZ : 2.537e+04
Factor NZ : 1.718e+05 (roughly 9 MB of memory)
Factor Ops : 2.974e+06 (less than 1 second per iteration)
Threads : 1
13 -8.56014766e+03 -1.82548888e+04 8.74e+03 2.38e-07 1.29e+00 0s
Objective Residual
Iter Primal Dual Primal Dual Compl Time
0 -4.27369783e+04 -1.09761842e+07 7.39e+08 5.75e-02 1.08e+05 0s
4 -3.77918567e+04 -9.95429938e+05 4.71e+05 3.67e-06 3.73e+02 0s
14 -8.90400289e+03 -1.66856544e+04 6.58e+03 2.32e-07 1.04e+00 0s
1 -6.59563869e+05 -9.64543907e+06 1.07e+08 1.13e-01 5.34e+04 0s
15 -9.42270692e+03 -1.63184773e+04 3.91e+03 2.24e-07 8.98e-01 0s
2 -4.25385412e+05 -3.87332804e+06 5.80e+07 1.40e-03 9.22e+03 0s
5 -3.81629655e+04 -4.72266810e+05 1.59e+05 1.47e-15 1.31e+02 0s 16 -9.85438266e+03 -1.54083596e+04 2.80e+03 1.96e-07 7.21e-01 0s 3 -4.31653123e+04 -1.63628680e+06 1.41e+06 4.20e-05 3.96e+02 0s 17 -9.85946142e+03 -1.50373729e+04 2.62e+03 1.93e-07 6.73e-01 0s 4 -4.08036065e+04 -5.53259245e+05 5.34e+05 5.80e-16 1.04e+02 0s 6 -4.17203434e+04 -1.88512261e+05 7.72e+04 3.61e-16 4.20e+01 0s 18 -1.01761065e+04 -1.44066658e+04 1.27e+03 1.82e-07 5.43e-01 1s 5 -4.11097570e+04 -2.72421392e+05 1.84e+05 2.92e-16 3.57e+01 0s
Writing constraints.: 100%|██████████| 26/26 [00:00<00:00, 30.62it/s] Writing constraints.: 100%|██████████| 26/26 [00:00<00:00, 34.44it/s] Writing continuous variables.: 0%| | 0/12 [00:00<?, ?it/s] Writing continuous variables.: 50%|█████ | 6/12 [00:00<00:00, 57.10it/s]
Writing constraints.: 0%| | 0/26 [00:00<?, ?it/s]
6 -4.23784805e+04 -1.33699683e+05 9.22e+04 1.41e-16 1.29e+01 0s 7 -4.50459169e+04 -1.37002174e+05 5.83e+04 2.93e-16 2.58e+01 0s 19 -1.05484628e+04 -1.25619523e+04 3.18e+02 1.31e-07 2.59e-01 1s 7 -4.51996756e+04 -9.96295058e+04 4.18e+04 7.57e-17 7.17e+00 0s 8 -5.24432472e+04 -1.14965877e+05 1.34e+04 2.28e-16 1.58e+01 0s 8 -4.68616877e+04 -8.76612595e+04 3.51e+04 6.05e-17 5.34e+00 0s 20 -1.06309499e+04 -1.15992720e+04 1.72e+02 1.46e-07 1.35e-01 1s 9 -5.68389675e+04 -1.03871548e+05 9.74e+03 1.68e-16 1.18e+01 1s 9 -4.69447974e+04 -8.52036120e+04 3.43e+04 5.56e-17 5.01e+00 0s 21 -1.06951206e+04 -1.12246888e+04 7.75e+01 8.12e-08 7.38e-02 1s 10 -5.89427709e+04 -9.79690140e+04 8.17e+03 1.71e-16 9.81e+00 1s 10 -4.91628946e+04 -6.65635332e+04 1.58e+04 2.46e-17 2.24e+00 0s 22 -1.07297834e+04 -1.08971159e+04 3.59e+01 7.14e-08 2.88e-02 1s 11 -6.08043801e+04 -9.19849818e+04 6.59e+03 1.28e-16 7.83e+00 1s 11 -5.12227238e+04 -5.95686829e+04 8.06e+03 3.96e-17 1.07e+00 0s 23 -1.07442131e+04 -1.08340988e+04 1.56e+01 4.83e-08 1.66e-02 1s 12 -6.25840675e+04 -8.29685877e+04 4.98e+03 1.51e-16 5.14e+00 1s 12 -5.25232807e+04 -5.63419742e+04 3.74e+03 3.14e-17 4.90e-01 0s 13 -6.41440889e+04 -7.95956676e+04 3.28e+03 1.24e-16 3.87e+00 1s 24 -1.07513363e+04 -1.07873847e+04 5.93e+00 3.37e-08 8.37e-03 1s
13 -5.29254461e+04 -5.48412618e+04 2.48e+03 3.86e-17 2.51e-01 0s 14 -5.32139946e+04 -5.43969246e+04 1.62e+03 5.52e-09 1.56e-01 0s Set parameter WLSAccessID Set parameter WLSSecret Set parameter LicenseID to value 2537914 14 -6.56773989e+04 -7.22987244e+04 1.67e+03 1.55e-16 1.67e+00 1s 25 -1.07559898e+04 -1.07741715e+04 8.49e-03 2.11e-08 4.68e-03 1s Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de 15 -5.33780166e+04 -5.41851548e+04 1.14e+03 1.82e-08 1.06e-01 0s 15 -6.65242496e+04 -7.16697729e+04 7.93e+02 1.36e-16 1.28e+00 1s 26 -1.07563457e+04 -1.07516341e+04 5.40e-08 5.89e-09 1.20e-04 1s 16 -5.35702002e+04 -5.38281906e+04 5.18e+02 1.94e-08 3.51e-02 0s 16 -6.70188024e+04 -6.98163189e+04 3.86e+02 1.36e-16 6.94e-01 1s
Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 55.79it/s] Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 55.92it/s] Writing constraints.: 12%|█▏ | 3/26 [00:00<00:00, 25.74it/s]
Writing constraints.: 23%|██▎ | 6/26 [00:00<00:00, 27.29it/s]
17 -5.36805254e+04 -5.37590506e+04 1.85e+02 4.22e-09 1.10e-02 0s
27 -1.07566542e+04 -1.07565139e+04 6.22e-08 1.66e-10 2.48e-06 1s
17 -6.73561807e+04 -6.78674580e+04 9.83e+01 3.36e-09 1.28e-01 1s
18 -5.36987126e+04 -5.37461952e+04 1.30e+02 2.21e-09 6.75e-03 0s
18 -6.74834837e+04 -6.75115606e+04 6.28e-08 5.09e-10 6.91e-03 1s
19 -5.37422578e+04 -5.37427892e+04 6.02e-08 3.35e-09 1.67e-05 1s
19 -6.74873490e+04 -6.74878081e+04 1.21e-08 1.49e-10 1.11e-04 1s
28 -1.07566549e+04 -1.07563307e+04 1.24e-07 3.55e-10 2.66e-07 1s
20 -5.37423122e+04 -5.37423124e+04 5.82e-09 1.20e-12 1.67e-08 1s
20 -6.74874413e+04 -6.74874413e+04 9.24e-08 3.19e-13 3.75e-09 1s
21 -5.37423123e+04 -5.37423123e+04 3.96e-09 4.20e-15 1.67e-11 1s
Barrier solved model in 21 iterations and 0.54 seconds (0.14 work units)
Optimal objective -5.37423123e+04
Barrier solved model in 20 iterations and 0.76 seconds (0.13 work units)
Optimal objective -6.74874413e+04
Crossover log...
Read LP format model from file /tmp/linopy-problem-co18vrt6.lp
Reading time = 0.14 seconds
obj: 23383 rows, 10720 columns, 44348 nonzeros
29 -1.07566553e+04 -1.07562855e+04 8.03e-08 4.16e-10 1.50e-08 1s
Crossover log...
Gurobi Optimizer version 13.0.2 build v13.0.2rc1 (linux64 - "Ubuntu 24.04.5 LTS")
CPU model: AMD EPYC 7763 64-Core Processor, instruction set [SSE2|AVX|AVX2]
Thread count: 2 physical cores, 4 logical processors, using up to 4 threads
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Optimize a model with 23383 rows, 10720 columns and 44348 nonzeros (Min)
Model fingerprint: 0x55e9028b
Model has 2 linear objective coefficients
Coefficient statistics:
Matrix range [1e-03, 2e+05]
Objective range [6e-01, 8e-01]
Bounds range [0e+00, 0e+00]
RHS range [5e+03, 8e+09]
Warning: Model contains large rhs
Consider reformulating model or setting NumericFocus parameter
to avoid numerical issues.
932 DPushes remaining with DInf 0.0000000e+00 1s
30 -1.07566554e+04 -1.07563686e+04 3.96e-08 3.50e-10 2.96e-09 1s
Barrier solved model in 30 iterations and 0.88 seconds (0.19 work units)
Optimal objective -1.07566554e+04
4 DPushes remaining with DInf 0.0000000e+00 1s
Crossover log...
0 DPushes remaining with DInf 0.0000000e+00 1s
2041 PPushes remaining with PInf 0.0000000e+00 1s
Writing constraints.: 35%|███▍ | 9/26 [00:00<00:00, 25.68it/s]
4 DPushes remaining with DInf 0.0000000e+00 1s
0 DPushes remaining with DInf 0.0000000e+00 1s
1878 PPushes remaining with PInf 0.0000000e+00 1s
Presolve removed 13136 rows and 2416 columns
Presolve time: 0.13s
Presolved: 10247 rows, 8304 columns, 29770 nonzeros
Concurrent LP optimizer: dual simplex and barrier
Showing barrier log only...
0 PPushes remaining with PInf 0.0000000e+00 1s
Push phase complete: Pinf 0.0000000e+00, Dinf 5.3949900e-15 1s
Crossover time: 0.19 seconds (0.06 work units)
Solved with barrier
Iteration Objective Primal Inf. Dual Inf. Time
2048 -6.7487441e+04 0.000000e+00 0.000000e+00 1s
Solved in 2048 iterations and 0.96 seconds (0.20 work units)
Optimal objective -6.748744132e+04
Ordering time: 0.03s
Barrier statistics:
Dense cols : 6
AA' NZ : 2.537e+04
Factor NZ : 1.718e+05 (roughly 9 MB of memory)
Factor Ops : 2.974e+06 (less than 1 second per iteration)
Threads : 1
Writing constraints.: 46%|████▌ | 12/26 [00:00<00:00, 27.01it/s]
Objective Residual
Iter Primal Dual Primal Dual Compl Time
0 -4.93358168e+04 -1.66386585e+07 7.39e+08 8.71e-02 1.63e+05 0s
1 -7.24200462e+05 -1.56139824e+07 1.10e+08 1.75e-01 8.62e+04 0s
Writing constraints.: 65%|██████▌ | 17/26 [00:00<00:00, 31.11it/s]
2 -6.20042449e+05 -5.73148984e+06 6.33e+07 3.27e-03 1.50e+04 0s
0 DPushes remaining with DInf 0.0000000e+00 1s
2346 PPushes remaining with PInf 0.0000000e+00 1s
0 PPushes remaining with PInf 0.0000000e+00 1s
Push phase complete: Pinf 0.0000000e+00, Dinf 4.9092674e-16 1s
Crossover time: 0.32 seconds (0.08 work units)
Solved with barrier
3 -5.73147217e+04 -2.51393995e+06 2.23e+06 1.33e-04 7.80e+02 0s
Iteration Objective Primal Inf. Dual Inf. Time
1885 -1.0756655e+04 0.000000e+00 0.000000e+00 1s
Solved in 1885 iterations and 1.23 seconds (0.28 work units)
Optimal objective -1.075665538e+04
4 -4.72471864e+04 -8.03016118e+05 5.09e+05 1.22e-15 1.53e+02 0s
0 PPushes remaining with PInf 0.0000000e+00 1s
Push phase complete: Pinf 0.0000000e+00, Dinf 1.0425688e-15 1s
Crossover time: 0.45 seconds (0.27 work units)
5 -4.70035638e+04 -4.12226650e+05 1.72e+05 5.85e-16 5.61e+01 0s
Solved with barrier
Iteration Objective Primal Inf. Dual Inf. Time
3281 -5.3742312e+04 0.000000e+00 0.000000e+00 1s
Solved in 3281 iterations and 1.00 seconds (0.41 work units)
Optimal objective -5.374231227e+04
6 -4.84370288e+04 -1.62997920e+05 1.01e+05 2.18e-16 1.71e+01 0s
Writing constraints.: 81%|████████ | 21/26 [00:00<00:00, 31.53it/s]
7 -5.17498344e+04 -1.32206045e+05 5.98e+04 1.38e-16 1.12e+01 0s 8 -5.47565051e+04 -1.00071785e+05 3.71e+04 9.80e-17 6.12e+00 1s 9 -5.64071381e+04 -9.35797637e+04 3.01e+04 1.04e-16 4.99e+00 1s
Writing constraints.: 96%|█████████▌| 25/26 [00:00<00:00, 32.39it/s] Writing constraints.: 100%|██████████| 26/26 [00:00<00:00, 30.94it/s] Writing continuous variables.: 0%| | 0/12 [00:00<?, ?it/s]
10 -5.74058870e+04 -8.66255438e+04 2.64e+04 8.16e-17 3.95e+00 1s 11 -6.16822270e+04 -7.78901757e+04 1.53e+04 5.59e-17 2.19e+00 1s 12 -6.30769199e+04 -7.42671027e+04 1.15e+04 5.55e-17 1.52e+00 1s 13 -6.44573357e+04 -7.32238967e+04 7.93e+03 5.24e-17 1.18e+00 1s 14 -6.53286671e+04 -6.74529528e+04 5.18e+03 1.71e-08 3.35e-01 1s 15 -6.60673631e+04 -6.70874089e+04 2.12e+03 2.40e-08 1.54e-01 1s 16 -6.63759422e+04 -6.68427120e+04 8.87e+02 2.07e-08 7.05e-02 1s 17 -6.65698843e+04 -6.66209355e+04 1.19e+02 7.19e-09 7.69e-03 1s
Set parameter WLSAccessID 18 -6.66009960e+04 -6.66048630e+04 1.27e+00 2.89e-09 3.85e-04 1s Set parameter WLSSecret Set parameter LicenseID to value 2537914 Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de 19 -6.66019663e+04 -6.66029704e+04 4.98e-02 2.38e-09 3.68e-05 1s 20 -6.66020281e+04 -6.66023082e+04 4.30e-04 9.17e-10 1.36e-06 1s
Writing constraints.: 0%| | 0/26 [00:00<?, ?it/s] Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 132.05it/s] Writing constraints.: 12%|█▏ | 3/26 [00:00<00:00, 29.51it/s]
21 -6.66020289e+04 -6.66020289e+04 2.93e-08 1.90e-13 1.36e-09 1s
Barrier solved model in 21 iterations and 0.75 seconds (0.14 work units)
Optimal objective -6.66020289e+04
Crossover log...
Read LP format model from file /tmp/linopy-problem-60tfv52f.lp
338 DPushes remaining with DInf 0.0000000e+00 1s
Reading time = 0.10 seconds
obj: 23383 rows, 10720 columns, 44348 nonzeros
Gurobi Optimizer version 13.0.2 build v13.0.2rc1 (linux64 - "Ubuntu 24.04.5 LTS")
CPU model: AMD EPYC 7763 64-Core Processor, instruction set [SSE2|AVX|AVX2]
Thread count: 2 physical cores, 4 logical processors, using up to 4 threads
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Optimize a model with 23383 rows, 10720 columns and 44348 nonzeros (Min)
Model fingerprint: 0x9fbae669
Model has 2 linear objective coefficients
Coefficient statistics:
Matrix range [1e-03, 2e+05]
Objective range [2e-01, 1e+00]
Bounds range [0e+00, 0e+00]
RHS range [5e+03, 8e+09]
Warning: Model contains large rhs
Consider reformulating model or setting NumericFocus parameter
to avoid numerical issues.
Presolve removed 13136 rows and 2416 columns
0 DPushes remaining with DInf 0.0000000e+00 1s
Presolve time: 0.09s
Presolved: 10247 rows, 8304 columns, 29770 nonzeros
Concurrent LP optimizer: dual simplex and barrier
Showing barrier log only...
2143 PPushes remaining with PInf 0.0000000e+00 1s
Warning: environment still referenced so free is deferred (Continue to use WLS)
Ordering time: 0.01s
Barrier statistics:
Dense cols : 6
AA' NZ : 2.537e+04
Factor NZ : 1.718e+05 (roughly 9 MB of memory)
Factor Ops : 2.974e+06 (less than 1 second per iteration)
Threads : 1
Objective Residual
Iter Primal Dual Primal Dual Compl Time
0 3.80247408e+04 -5.52066512e+06 7.39e+08 3.10e-02 1.08e+05 0s
Writing constraints.: 27%|██▋ | 7/26 [00:00<00:00, 26.08it/s] Writing constraints.: 38%|███▊ | 10/26 [00:00<00:00, 27.28it/s]
1 1.21509128e+05 -5.31214702e+06 1.10e+08 1.17e-01 5.80e+04 0s
2 1.77618165e+05 -1.90914318e+06 5.84e+07 1.73e-03 8.47e+03 0s
0 PPushes remaining with PInf 0.0000000e+00 1s
Push phase complete: Pinf 0.0000000e+00, Dinf 2.2976412e-15 1s
Crossover time: 0.24 seconds (0.11 work units)
Solved with barrier
3 2.19781830e+04 -8.68227176e+05 2.85e+06 1.12e-04 5.90e+02 0s
Iteration Objective Primal Inf. Dual Inf. Time
2484 -6.6602029e+04 0.000000e+00 0.000000e+00 1s
Solved in 2484 iterations and 1.01 seconds (0.25 work units)
Optimal objective -6.660202891e+04
4 1.53114258e+04 -2.56578598e+05 4.15e+05 2.69e-15 1.01e+02 0s
5 1.20870836e+04 -1.17712024e+05 1.87e+05 2.05e-16 4.08e+01 0s
6 8.80985424e+03 -5.47885840e+04 1.27e+05 8.05e-16 1.99e+01 0s
7 4.93380098e+03 -3.91275844e+04 7.95e+04 1.93e-16 1.32e+01 0s
8 2.51256820e+03 -3.59864824e+04 6.20e+04 1.72e-16 1.12e+01 0s
9 2.63365643e+03 -2.65477005e+04 4.38e+04 3.05e-16 8.27e+00 0s
10 -6.97366014e+02 -1.90443812e+04 2.49e+04 7.77e-16 5.08e+00 0s 11 -8.25518338e+02 -1.88305372e+04 2.15e+04 1.94e-16 4.91e+00 0s 12 -2.17792460e+03 -1.74844765e+04 1.54e+04 8.91e-17 4.09e+00 0s
Writing constraints.: 58%|█████▊ | 15/26 [00:00<00:00, 33.42it/s] Writing constraints.: 77%|███████▋ | 20/26 [00:00<00:00, 37.20it/s]
13 -1.37381375e+03 -1.73173215e+04 1.28e+04 4.44e-16 4.17e+00 0s 14 -2.92756608e+03 -1.33546451e+04 7.54e+03 6.94e-16 2.70e+00 0s 15 -3.15870019e+03 -1.31539233e+04 6.65e+03 2.78e-16 2.57e+00 0s 16 -3.51164668e+03 -1.23569484e+04 5.56e+03 5.55e-16 2.27e+00 0s 17 -4.26751235e+03 -8.47621443e+03 8.89e+02 5.49e-16 1.03e+00 0s 18 -4.51037783e+03 -5.58554520e+03 5.19e+02 1.92e-09 2.71e-01 1s
19 -4.58637096e+03 -5.03090094e+03 4.13e+02 4.54e-16 1.16e-01 1s 20 -4.72834718e+03 -4.92504831e+03 2.11e+02 3.69e-09 5.21e-02 1s
21 -4.84610417e+03 -4.89267400e+03 4.62e+01 4.70e-09 1.21e-02 1s 22 -4.86084419e+03 -4.88404534e+03 2.52e+01 2.98e-09 6.03e-03 1s 23 -4.87758326e+03 -4.88009994e+03 2.34e+00 2.94e-09 5.73e-04 1s 24 -4.87938583e+03 -4.87973575e+03 6.18e-02 1.03e-09 5.67e-05 1s 25 -4.87946850e+03 -4.87951992e+03 2.15e-04 4.32e-10 9.37e-07 1s 26 -4.87946920e+03 -4.87946922e+03 9.41e-09 2.02e-13 9.37e-10 1s Barrier solved model in 26 iterations and 0.72 seconds (0.16 work units) Optimal objective -4.87946920e+03 Crossover log...
Writing constraints.: 92%|█████████▏| 24/26 [00:00<00:00, 31.66it/s] Writing constraints.: 100%|██████████| 26/26 [00:00<00:00, 32.36it/s] Writing continuous variables.: 0%| | 0/12 [00:00<?, ?it/s] Writing continuous variables.: 75%|███████▌ | 9/12 [00:00<00:00, 88.83it/s] Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 84.26it/s]
16 DPushes remaining with DInf 0.0000000e+00 1s
0 DPushes remaining with DInf 0.0000000e+00 1s
1440 PPushes remaining with PInf 4.3163929e-05 1s
Set parameter WLSAccessID
Set parameter WLSSecret
Set parameter LicenseID to value 2537914
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Read LP format model from file /tmp/linopy-problem-j9j_3br7.lp
Reading time = 0.08 seconds
obj: 23383 rows, 10720 columns, 44348 nonzeros
Gurobi Optimizer version 13.0.2 build v13.0.2rc1 (linux64 - "Ubuntu 24.04.5 LTS")
CPU model: AMD EPYC 7763 64-Core Processor, instruction set [SSE2|AVX|AVX2]
Thread count: 2 physical cores, 4 logical processors, using up to 4 threads
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Optimize a model with 23383 rows, 10720 columns and 44348 nonzeros (Min)
Model fingerprint: 0x6e0341a3
Model has 2 linear objective coefficients
Coefficient statistics:
Matrix range [1e-03, 2e+05]
Objective range [7e-01, 8e-01]
Bounds range [0e+00, 0e+00]
RHS range [5e+03, 8e+09]
Warning: Model contains large rhs
Consider reformulating model or setting NumericFocus parameter
to avoid numerical issues.
Warning: environment still referenced so free is deferred (Continue to use WLS)
0 PPushes remaining with PInf 0.0000000e+00 1s
Push phase complete: Pinf 0.0000000e+00, Dinf 1.6202317e-15 1s
Crossover time: 0.21 seconds (0.05 work units)
Solved with barrier
Iteration Objective Primal Inf. Dual Inf. Time
1459 -4.8794692e+03 0.000000e+00 0.000000e+00 1s
Solved in 1459 iterations and 0.97 seconds (0.22 work units)
Optimal objective -4.879469197e+03
Presolve removed 13136 rows and 2416 columns
Presolve time: 0.08s
Presolved: 10247 rows, 8304 columns, 29770 nonzeros
Concurrent LP optimizer: dual simplex and barrier
Showing barrier log only...
Ordering time: 0.02s
Warning: environment still referenced so free is deferred (Continue to use WLS)
Barrier statistics:
Dense cols : 6
AA' NZ : 2.537e+04
Factor NZ : 1.718e+05 (roughly 9 MB of memory)
Factor Ops : 2.974e+06 (less than 1 second per iteration)
Threads : 1
Objective Residual
Iter Primal Dual Primal Dual Compl Time
0 -1.95889567e+04 -1.59477898e+07 7.39e+08 8.35e-02 1.57e+05 0s
1 -4.54084763e+05 -1.47697680e+07 1.13e+08 1.57e-01 8.02e+04 0s
2 -3.47282117e+05 -5.17742303e+06 6.22e+07 2.89e-03 1.31e+04 0s
3 -2.38092501e+04 -2.26922773e+06 2.37e+06 1.62e-04 7.34e+02 0s
4 -1.64818118e+04 -7.01641077e+05 4.38e+05 3.12e-06 1.31e+02 0s
5 -1.79362877e+04 -3.18081509e+05 1.33e+05 2.22e-07 4.43e+01 0s
Warning: environment still referenced so free is deferred (Continue to use WLS)
6 -2.26863901e+04 -1.34347751e+05 7.35e+04 2.36e-16 1.61e+01 0s
7 -2.56912322e+04 -9.08512717e+04 5.75e+04 1.30e-16 9.31e+00 0s
8 -3.21579400e+04 -8.02718696e+04 2.35e+04 1.39e-16 6.35e+00 0s
9 -3.48937756e+04 -7.25457736e+04 1.85e+04 1.27e-16 4.95e+00 0s
10 -3.67582412e+04 -6.57349966e+04 1.46e+04 8.95e-17 3.80e+00 0s
11 -3.89362568e+04 -5.96124203e+04 1.05e+04 7.25e-17 2.71e+00 0s
12 -3.91810988e+04 -5.83632869e+04 9.95e+03 8.44e-17 2.52e+00 0s 13 -3.99681805e+04 -5.66824951e+04 7.25e+03 6.20e-17 2.16e+00 0s 14 -4.13899360e+04 -4.82634704e+04 4.33e+03 1.04e-07 9.19e-01 0s 15 -4.22817690e+04 -4.59784274e+04 2.56e+03 1.04e-07 5.02e-01 0s 16 -4.24686947e+04 -4.53347510e+04 2.12e+03 9.71e-08 3.93e-01 0s 17 -4.28419487e+04 -4.46340208e+04 1.25e+03 7.78e-08 2.45e-01 0s 18 -4.32938944e+04 -4.34342811e+04 9.58e+01 1.90e-08 2.03e-02 0s Warning: environment still referenced so free is deferred (Continue to use WLS) 19 -4.33568647e+04 -4.33602009e+04 3.30e+00 1.37e-08 1.54e-03 0s 20 -4.33595610e+04 -4.33578139e+04 1.53e-01 3.35e-09 4.84e-05 0s 21 -4.33597252e+04 -4.33596958e+04 1.44e-07 4.88e-11 8.22e-08 1s
22 -4.33597254e+04 -4.33597254e+04 2.03e-08 4.48e-14 8.22e-11 1s
Barrier solved model in 22 iterations and 0.53 seconds (0.14 work units)
Optimal objective -4.33597254e+04
Crossover log...
5 DPushes remaining with DInf 0.0000000e+00 1s
0 DPushes remaining with DInf 0.0000000e+00 1s
1941 PPushes remaining with PInf 0.0000000e+00 1s
0 PPushes remaining with PInf 0.0000000e+00 1s
Push phase complete: Pinf 0.0000000e+00, Dinf 3.1068897e-15 1s
Crossover time: 0.19 seconds (0.07 work units)
Solved with barrier
Iteration Objective Primal Inf. Dual Inf. Time
1949 -4.3359725e+04 0.000000e+00 0.000000e+00 1s
Solved in 1949 iterations and 0.76 seconds (0.22 work units)
Optimal objective -4.335972543e+04
Warning: environment still referenced so free is deferred (Continue to use WLS)
Warning: environment still referenced so free is deferred (Continue to use WLS)
/home/runner/work/PyPSA/PyPSA/pypsa/network/io.py:2085: FutureWarning: pandas infers the `str` dtype for string data since its version 3.0. PyPSA still converts it back to numpy object dtype on import, but will keep it from PyPSA 2.0 on. Set `pypsa.options.api.legacy_string_dtype` explicitly to suppress this warning. new_static = _coerce_string_dtypes(new_static)
/home/runner/work/PyPSA/PyPSA/pypsa/network/io.py:2085: FutureWarning: pandas infers the `str` dtype for string data since its version 3.0. PyPSA still converts it back to numpy object dtype on import, but will keep it from PyPSA 2.0 on. Set `pypsa.options.api.legacy_string_dtype` explicitly to suppress this warning. new_static = _coerce_string_dtypes(new_static) /home/runner/work/PyPSA/PyPSA/pypsa/network/io.py:2085: FutureWarning: pandas infers the `str` dtype for string data since its version 3.0. PyPSA still converts it back to numpy object dtype on import, but will keep it from PyPSA 2.0 on. Set `pypsa.options.api.legacy_string_dtype` explicitly to suppress this warning. new_static = _coerce_string_dtypes(new_static)
/home/runner/work/PyPSA/PyPSA/pypsa/network/io.py:2085: FutureWarning: pandas infers the `str` dtype for string data since its version 3.0. PyPSA still converts it back to numpy object dtype on import, but will keep it from PyPSA 2.0 on. Set `pypsa.options.api.legacy_string_dtype` explicitly to suppress this warning. new_static = _coerce_string_dtypes(new_static)
/opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/contextlib.py:85: FutureWarning: The default value of `include_objective_constant` will change from True to False in version 2.0. Set `include_objective_constant` explicitly to suppress this warning. Using False improves LP numerical conditioning by not including the objective constant as a variable. return func(*args, **kwds) /opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/contextlib.py:85: FutureWarning: The default value of `include_objective_constant` will change from True to False in version 2.0. Set `include_objective_constant` explicitly to suppress this warning. Using False improves LP numerical conditioning by not including the objective constant as a variable. return func(*args, **kwds)
/opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/contextlib.py:85: FutureWarning: The default value of `include_objective_constant` will change from True to False in version 2.0. Set `include_objective_constant` explicitly to suppress this warning. Using False improves LP numerical conditioning by not including the objective constant as a variable. return func(*args, **kwds)
/opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/contextlib.py:85: FutureWarning: The default value of `include_objective_constant` will change from True to False in version 2.0. Set `include_objective_constant` explicitly to suppress this warning. Using False improves LP numerical conditioning by not including the objective constant as a variable. return func(*args, **kwds)
Writing constraints.: 0%| | 0/26 [00:00<?, ?it/s] Writing constraints.: 69%|██████▉ | 18/26 [00:00<00:00, 174.41it/s] Writing constraints.: 100%|██████████| 26/26 [00:00<00:00, 163.62it/s] Writing continuous variables.: 0%| | 0/12 [00:00<?, ?it/s]
Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 258.77it/s] Writing constraints.: 0%| | 0/26 [00:00<?, ?it/s]
Set parameter WLSAccessID
Set parameter WLSSecret
Set parameter LicenseID to value 2537914
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Read LP format model from file /tmp/linopy-problem-ukehl__k.lp
Reading time = 0.05 seconds
obj: 23383 rows, 10720 columns, 44348 nonzeros
Gurobi Optimizer version 13.0.2 build v13.0.2rc1 (linux64 - "Ubuntu 24.04.5 LTS")
CPU model: AMD EPYC 7763 64-Core Processor, instruction set [SSE2|AVX|AVX2]
Thread count: 2 physical cores, 4 logical processors, using up to 4 threads
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Optimize a model with 23383 rows, 10720 columns and 44348 nonzeros (Min)
Model fingerprint: 0xde13259d
Model has 2 linear objective coefficients
Coefficient statistics:
Matrix range [1e-03, 2e+05]
Objective range [2e-01, 1e+00]
Bounds range [0e+00, 0e+00]
RHS range [5e+03, 8e+09]
Warning: Model contains large rhs
Consider reformulating model or setting NumericFocus parameter
to avoid numerical issues.
Presolve removed 13136 rows and 2416 columns
Presolve time: 0.04s
Presolved: 10247 rows, 8304 columns, 29770 nonzeros
Concurrent LP optimizer: dual simplex and barrier
Showing barrier log only...
Ordering time: 0.01s
Barrier statistics:
Dense cols : 6
AA' NZ : 2.537e+04
Factor NZ : 1.718e+05 (roughly 9 MB of memory)
Factor Ops : 2.974e+06 (less than 1 second per iteration)
Threads : 1
Objective Residual
Iter Primal Dual Primal Dual Compl Time
0 1.09816256e+04 -5.12365843e+06 7.39e+08 5.32e-02 1.01e+05 0s
1 -3.63788526e+04 -4.72861845e+06 1.13e+08 1.04e-01 5.11e+04 0s
2 2.03836277e+04 -1.61157814e+06 6.08e+07 1.56e-03 8.01e+03 0s
3 1.06970163e+04 -7.18319227e+05 2.22e+06 8.87e-05 4.45e+02 0s
4 9.94448363e+03 -2.37389041e+05 4.86e+05 3.61e-06 9.57e+01 0s
5 8.13487137e+03 -9.65832028e+04 1.70e+05 6.02e-07 3.25e+01 0s
6 6.62100803e+03 -5.43239046e+04 1.22e+05 1.87e-07 1.85e+01 0s
7 4.93835718e+03 -3.76543751e+04 8.89e+04 1.95e-07 1.27e+01 0s
8 2.43545373e+03 -2.80897459e+04 2.61e+04 2.14e-07 8.04e+00 0s 9 7.34806710e+02 -2.01277372e+04 1.75e+04 2.84e-07 5.46e+00 0s 10 -3.79596131e+02 -1.74089697e+04 1.29e+04 3.06e-07 4.43e+00 0s 11 -7.26592532e+02 -1.59470192e+04 1.14e+04 3.20e-07 3.95e+00 0s 12 -1.30646124e+03 -1.36330594e+04 8.77e+03 3.44e-07 3.20e+00 0s 13 -1.62989067e+03 -1.12247178e+04 6.53e+03 3.21e-07 2.48e+00 0s 14 -2.20624301e+03 -7.47081304e+03 4.27e+03 3.06e-07 1.39e+00 0s 15 -2.21777591e+03 -6.91392185e+03 4.05e+03 3.08e-07 1.24e+00 0s 16 -2.57476360e+03 -6.70447656e+03 2.83e+03 3.05e-07 1.08e+00 0s 17 -2.79305912e+03 -6.33068260e+03 1.96e+03 2.94e-07 9.24e-01 0s 18 -2.83535271e+03 -5.64231546e+03 1.78e+03 2.60e-07 7.41e-01 0s 19 -2.96789742e+03 -5.40118750e+03 1.32e+03 2.36e-07 6.40e-01 0s 20 -3.09320527e+03 -4.88982949e+03 7.64e+02 2.05e-07 4.72e-01 0s 21 -3.16226738e+03 -3.66574359e+03 5.05e+02 9.66e-08 1.42e-01 0s 22 -3.26742907e+03 -3.42637739e+03 1.02e+02 6.74e-08 4.85e-02 0s 23 -3.27921080e+03 -3.33845891e+03 6.26e+01 3.71e-08 2.01e-02 0s 24 -3.28220177e+03 -3.32586352e+03 5.16e+01 2.42e-08 1.45e-02 0s 25 -3.29569110e+03 -3.30721798e+03 6.15e+00 1.52e-08 4.82e-03 0s 26 -3.29781572e+03 -3.29141331e+03 6.21e-01 1.50e-08 3.66e-04 0s 27 -3.29806459e+03 -3.29796522e+03 4.55e-06 2.31e-10 4.91e-06 0s 28 -3.29808145e+03 -3.29808720e+03 2.80e-07 7.61e-11 1.36e-07 0s 29 -3.29808149e+03 -3.29808154e+03 4.66e-09 1.14e-13 5.94e-11 0s Barrier solved model in 29 iterations and 0.34 seconds (0.18 work units) Optimal objective -3.29808149e+03 Crossover log...
Writing constraints.: 31%|███ | 8/26 [00:00<00:00, 66.42it/s] Writing constraints.: 0%| | 0/26 [00:00<?, ?it/s] Writing constraints.: 85%|████████▍ | 22/26 [00:00<00:00, 104.54it/s] Writing constraints.: 100%|██████████| 26/26 [00:00<00:00, 103.32it/s] Writing continuous variables.: 0%| | 0/12 [00:00<?, ?it/s] Writing constraints.: 15%|█▌ | 4/26 [00:00<00:00, 35.38it/s] Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 328.33it/s]
3 DPushes remaining with DInf 0.0000000e+00 0s
0 DPushes remaining with DInf 0.0000000e+00 0s
1634 PPushes remaining with PInf 0.0000000e+00 0s
Set parameter WLSAccessID
Set parameter WLSSecret
Set parameter LicenseID to value 2537914
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
0 PPushes remaining with PInf 0.0000000e+00 0s
Push phase complete: Pinf 0.0000000e+00, Dinf 1.4831886e-15 0s
Crossover time: 0.07 seconds (0.06 work units)
Solved with barrier
Iteration Objective Primal Inf. Dual Inf. Time
1640 -3.2980815e+03 0.000000e+00 0.000000e+00 0s
Solved in 1640 iterations and 0.42 seconds (0.24 work units)
Optimal objective -3.298081486e+03
Read LP format model from file /tmp/linopy-problem-buerrzkk.lp
Reading time = 0.05 seconds
obj: 23383 rows, 10720 columns, 44348 nonzeros
Gurobi Optimizer version 13.0.2 build v13.0.2rc1 (linux64 - "Ubuntu 24.04.5 LTS")
CPU model: AMD EPYC 7763 64-Core Processor, instruction set [SSE2|AVX|AVX2]
Thread count: 2 physical cores, 4 logical processors, using up to 4 threads
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Optimize a model with 23383 rows, 10720 columns and 44348 nonzeros (Min)
Model fingerprint: 0xae50646d
Model has 2 linear objective coefficients
Coefficient statistics:
Matrix range [1e-03, 2e+05]
Objective range [5e-01, 8e-01]
Bounds range [0e+00, 0e+00]
RHS range [5e+03, 8e+09]
Warning: Model contains large rhs
Consider reformulating model or setting NumericFocus parameter
to avoid numerical issues.
Presolve removed 13136 rows and 2416 columns
Presolve time: 0.03s
Presolved: 10247 rows, 8304 columns, 29770 nonzeros
Concurrent LP optimizer: dual simplex and barrier
Showing barrier log only...
Ordering time: 0.01s
Barrier statistics:
Dense cols : 6
AA' NZ : 2.537e+04
Factor NZ : 1.718e+05 (roughly 9 MB of memory)
Factor Ops : 2.974e+06 (less than 1 second per iteration)
Threads : 1
Objective Residual
Iter Primal Dual Primal Dual Compl Time
0 -2.58270421e+04 -1.76745576e+07 7.39e+08 9.25e-02 1.74e+05 0s
1 -5.31179057e+05 -1.63807903e+07 1.13e+08 1.81e-01 8.91e+04 0s
2 -4.22175597e+05 -5.75426114e+06 6.24e+07 3.24e-03 1.46e+04 0s
3 -3.13376074e+04 -2.52229890e+06 2.39e+06 1.76e-04 8.20e+02 0s
4 -2.23522189e+04 -7.64037641e+05 4.33e+05 2.81e-06 1.41e+02 0s
5 -2.36908837e+04 -3.38995018e+05 1.39e+05 3.25e-08 4.70e+01 0s
Writing constraints.: 0%| | 0/26 [00:00<?, ?it/s] Writing constraints.: 58%|█████▊ | 15/26 [00:00<00:00, 75.50it/s] Writing constraints.: 100%|██████████| 26/26 [00:00<00:00, 90.94it/s] Writing continuous variables.: 0%| | 0/12 [00:00<?, ?it/s] Writing constraints.: 77%|███████▋ | 20/26 [00:00<00:00, 190.50it/s] Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 306.63it/s]
6 -2.89208017e+04 -1.48002095e+05 7.44e+04 2.67e-16 1.72e+01 0s
7 -3.24927850e+04 -9.90262265e+04 5.85e+04 1.15e-16 9.57e+00 0s
8 -3.69406621e+04 -9.46147422e+04 4.26e+04 8.87e-17 8.06e+00 0s
9 -3.94292069e+04 -8.08357211e+04 3.31e+04 7.81e-17 5.77e+00 0s
10 -4.17686440e+04 -7.77521596e+04 2.82e+04 6.59e-17 4.99e+00 0s
11 -4.28506219e+04 -6.97623759e+04 2.54e+04 5.07e-17 3.80e+00 0s
Set parameter WLSAccessID
Set parameter WLSSecret
Set parameter LicenseID to value 2537914
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
12 -4.42955799e+04 -6.83148192e+04 2.18e+04 7.02e-17 3.37e+00 0s
13 -4.66160483e+04 -6.26131210e+04 1.44e+04 5.15e-17 2.24e+00 0s
14 -4.77256993e+04 -5.89400194e+04 1.08e+04 2.87e-08 1.58e+00 0s
15 -4.92685919e+04 -5.60499641e+04 5.43e+03 8.76e-08 9.37e-01 0s
16 -4.99200976e+04 -5.26341373e+04 3.22e+03 1.27e-07 4.01e-01 0s
17 -5.06241859e+04 -5.16024636e+04 5.75e+02 9.96e-08 1.37e-01 0s
Read LP format model from file /tmp/linopy-problem-qa28zi_t.lp
Reading time = 0.05 seconds
obj: 23383 rows, 10720 columns, 44348 nonzeros
Gurobi Optimizer version 13.0.2 build v13.0.2rc1 (linux64 - "Ubuntu 24.04.5 LTS")
CPU model: AMD EPYC 7763 64-Core Processor, instruction set [SSE2|AVX|AVX2]
Thread count: 2 physical cores, 4 logical processors, using up to 4 threads
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Optimize a model with 23383 rows, 10720 columns and 44348 nonzeros (Min)
Model fingerprint: 0xa4f9155a
Model has 2 linear objective coefficients
Coefficient statistics:
Matrix range [1e-03, 2e+05]
Objective range [7e-01, 7e-01]
Bounds range [0e+00, 0e+00]
RHS range [5e+03, 8e+09]
Warning: Model contains large rhs
Consider reformulating model or setting NumericFocus parameter
to avoid numerical issues.
18 -5.07813834e+04 -5.11558402e+04 1.22e+02 7.22e-08 5.28e-02 0s
19 -5.08268909e+04 -5.09072224e+04 3.45e+01 6.83e-08 1.55e-02 0s
20 -5.08441493e+04 -5.08798899e+04 1.89e-01 3.94e-08 7.28e-03 0s
21 -5.08460978e+04 -5.08294190e+04 5.70e-03 3.49e-08 6.36e-04 0s
Presolve removed 13136 rows and 2416 columns
Presolve time: 0.04s
Presolved: 10247 rows, 8304 columns, 29770 nonzeros
Concurrent LP optimizer: dual simplex and barrier
Showing barrier log only...
22 -5.08463336e+04 -5.08449818e+04 9.75e-07 2.40e-09 1.57e-05 0s
23 -5.08463734e+04 -5.08463741e+04 7.52e-08 4.64e-11 6.21e-08 0s
Ordering time: 0.01s
24 -5.08463734e+04 -5.08463729e+04 7.89e-08 8.17e-13 1.31e-11 0s
Barrier solved model in 24 iterations and 0.27 seconds (0.15 work units)
Optimal objective -5.08463734e+04
Crossover log...
Barrier statistics:
Dense cols : 6
AA' NZ : 2.537e+04
Factor NZ : 1.718e+05 (roughly 9 MB of memory)
Factor Ops : 2.974e+06 (less than 1 second per iteration)
Threads : 1
5 DPushes remaining with DInf 0.0000000e+00 0s
Objective Residual
Iter Primal Dual Primal Dual Compl Time
0 -4.78854873e+04 -1.50077322e+07 7.39e+08 7.86e-02 1.47e+05 0s
0 DPushes remaining with DInf 0.0000000e+00 0s
1975 PPushes remaining with PInf 0.0000000e+00 0s
1 -7.00400949e+05 -1.35670394e+07 1.10e+08 1.59e-01 7.58e+04 0s
Writing constraints.: 100%|██████████| 26/26 [00:00<00:00, 93.25it/s] Writing continuous variables.: 0%| | 0/12 [00:00<?, ?it/s] Writing continuous variables.: 83%|████████▎ | 10/12 [00:00<00:00, 95.24it/s] Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 106.93it/s]
2 -5.75035743e+05 -5.01045231e+06 6.08e+07 2.47e-03 1.26e+04 0s
3 -5.31158988e+04 -2.19424337e+06 1.85e+06 1.15e-04 6.11e+02 0s
4 -4.56703383e+04 -7.00600881e+05 4.83e+05 6.56e-16 1.28e+02 0s
5 -4.56934648e+04 -3.23374743e+05 1.69e+05 5.54e-16 4.26e+01 0s
0 PPushes remaining with PInf 0.0000000e+00 0s
Push phase complete: Pinf 0.0000000e+00, Dinf 1.1917550e-15 0s
Crossover time: 0.10 seconds (0.06 work units)
Solved with barrier
6 -4.74817624e+04 -1.57191973e+05 9.74e+04 3.53e-16 1.58e+01 0s
7 -5.00126470e+04 -1.22120522e+05 6.13e+04 2.14e-16 9.94e+00 0s
8 -5.20866183e+04 -1.00925600e+05 4.78e+04 1.57e-16 6.66e+00 0s
Iteration Objective Primal Inf. Dual Inf. Time
1983 -5.0846373e+04 0.000000e+00 0.000000e+00 0s
Solved in 1983 iterations and 0.39 seconds (0.22 work units)
Optimal objective -5.084637343e+04
9 -5.39904066e+04 -9.33378723e+04 3.61e+04 1.32e-16 5.29e+00 0s
10 -5.80624352e+04 -7.62397534e+04 1.95e+04 8.25e-17 2.47e+00 0s
11 -6.08169107e+04 -6.80538773e+04 7.68e+03 3.95e-17 9.73e-01 0s
Set parameter WLSAccessID
Set parameter WLSSecret
Set parameter LicenseID to value 2537914
12 -6.18066586e+04 -6.52352619e+04 4.28e+03 4.65e-17 4.69e-01 0s
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
13 -6.22033401e+04 -6.49056467e+04 2.95e+03 5.32e-17 3.64e-01 0s
14 -6.27080982e+04 -6.44991273e+04 1.07e+03 4.58e-17 2.30e-01 0s
15 -6.29067146e+04 -6.34627745e+04 3.77e+02 7.85e-17 7.21e-02 0s
16 -6.29989973e+04 -6.30472924e+04 1.58e-07 5.99e-10 5.85e-03 0s
17 -6.30020427e+04 -6.30041109e+04 2.56e-09 4.32e-09 1.21e-04 0s
Read LP format model from file /tmp/linopy-problem-cpkv0o5r.lp
Reading time = 0.05 seconds
obj: 23383 rows, 10720 columns, 44348 nonzeros
Gurobi Optimizer version 13.0.2 build v13.0.2rc1 (linux64 - "Ubuntu 24.04.5 LTS")
CPU model: AMD EPYC 7763 64-Core Processor, instruction set [SSE2|AVX|AVX2]
Thread count: 2 physical cores, 4 logical processors, using up to 4 threads
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Optimize a model with 23383 rows, 10720 columns and 44348 nonzeros (Min)
Model fingerprint: 0x2525618f
Model has 2 linear objective coefficients
Coefficient statistics:
Matrix range [1e-03, 2e+05]
Objective range [4e-01, 9e-01]
Bounds range [0e+00, 0e+00]
RHS range [5e+03, 8e+09]
Warning: Model contains large rhs
Consider reformulating model or setting NumericFocus parameter
to avoid numerical issues.
18 -6.30021357e+04 -6.30031464e+04 5.74e-09 3.51e-09 1.91e-05 0s
19 -6.30021618e+04 -6.30021622e+04 5.01e-08 2.19e-12 3.37e-08 0s
20 -6.30021620e+04 -6.30021742e+04 1.48e-07 5.15e-11 3.35e-11 0s
Barrier solved model in 20 iterations and 0.29 seconds (0.14 work units)
Optimal objective -6.30021620e+04
Crossover log...
Presolve removed 13136 rows and 2416 columns
Presolve time: 0.03s
Presolved: 10247 rows, 8304 columns, 29770 nonzeros
Concurrent LP optimizer: dual simplex and barrier
Showing barrier log only...
525 DPushes remaining with DInf 0.0000000e+00 0s
Ordering time: 0.01s
Barrier statistics:
Dense cols : 6
AA' NZ : 2.537e+04
Factor NZ : 1.718e+05 (roughly 9 MB of memory)
Factor Ops : 2.974e+06 (less than 1 second per iteration)
Threads : 1
Objective Residual
Iter Primal Dual Primal Dual Compl Time
0 -3.76779731e+04 -1.02949356e+07 7.39e+08 5.39e-02 1.01e+05 0s
1 -5.70362551e+05 -8.75425978e+06 1.06e+08 1.03e-01 4.77e+04 0s
2 -3.04366954e+05 -2.66279385e+06 5.43e+07 1.05e-03 5.84e+03 0s
3 -3.96106538e+04 -1.20468065e+06 1.79e+06 3.60e-05 3.15e+02 0s
0 DPushes remaining with DInf 0.0000000e+00 0s
2199 PPushes remaining with PInf 0.0000000e+00 0s
4 -3.64506960e+04 -3.75881094e+05 3.93e+05 4.54e-16 6.21e+01 0s
5 -3.75814044e+04 -1.91889618e+05 1.54e+05 2.14e-16 2.30e+01 0s
6 -3.84920698e+04 -1.05813910e+05 1.05e+05 1.22e-16 9.68e+00 0s
0 PPushes remaining with PInf 0.0000000e+00 0s
Push phase complete: Pinf 0.0000000e+00, Dinf 9.3675068e-16 0s
Crossover time: 0.18 seconds (0.17 work units)
Solved with barrier
7 -4.01565141e+04 -9.12734918e+04 6.64e+04 1.13e-16 6.99e+00 0s
Iteration Objective Primal Inf. Dual Inf. Time
2726 -6.3002162e+04 0.000000e+00 0.000000e+00 0s
Solved in 2726 iterations and 0.48 seconds (0.32 work units)
Optimal objective -6.300216196e+04
8 -4.15229855e+04 -8.48014839e+04 5.21e+04 8.22e-17 5.82e+00 0s
9 -4.39770357e+04 -8.04341398e+04 3.62e+04 6.91e-17 4.78e+00 0s
10 -4.54407485e+04 -7.81499780e+04 3.02e+04 7.78e-17 4.26e+00 0s
11 -4.41607927e+04 -7.54804711e+04 2.76e+04 8.28e-17 4.06e+00 0s 12 -4.66903737e+04 -7.00334016e+04 1.85e+04 5.48e-17 2.99e+00 0s 13 -4.88255513e+04 -6.48922936e+04 7.78e+03 4.57e-17 2.00e+00 0s 14 -5.02094051e+04 -5.87062019e+04 4.81e+03 3.41e-17 1.06e+00 0s 15 -5.10791066e+04 -5.69001257e+04 2.94e+03 3.64e-17 7.26e-01 0s 16 -5.13812194e+04 -5.51559138e+04 2.17e+03 1.93e-10 4.74e-01 0s 17 -5.16213120e+04 -5.39327712e+04 1.46e+03 3.77e-17 2.91e-01 0s 18 -5.19523109e+04 -5.27831231e+04 6.11e+02 4.25e-17 1.06e-01 0s 19 -5.21048152e+04 -5.23079907e+04 1.78e+02 1.98e-09 2.62e-02 0s Warning: environment still referenced so free is deferred (Continue to use WLS) 20 -5.21577929e+04 -5.22395488e+04 3.33e+01 2.84e-09 1.03e-02 0s 21 -5.21648421e+04 -5.21882332e+04 1.74e+01 3.85e-09 3.02e-03 0s
22 -5.21723652e+04 -5.21767788e+04 1.13e-01 2.62e-09 5.58e-04 0s
23 -5.21726006e+04 -5.21726300e+04 1.15e-07 2.06e-10 4.88e-06 0s
24 -5.21726142e+04 -5.21726081e+04 7.57e-08 1.48e-10 7.63e-08 1s
25 -5.21726142e+04 -5.21726142e+04 7.71e-08 1.72e-14 6.44e-13 1s
Barrier solved model in 25 iterations and 0.52 seconds (0.16 work units)
Optimal objective -5.21726142e+04
Crossover log...
490 DPushes remaining with DInf 0.0000000e+00 1s
0 DPushes remaining with DInf 0.0000000e+00 1s
2112 PPushes remaining with PInf 0.0000000e+00 1s
0 PPushes remaining with PInf 0.0000000e+00 1s
Push phase complete: Pinf 0.0000000e+00, Dinf 7.3985956e-16 1s
Crossover time: 0.21 seconds (0.13 work units)
Solved with barrier
Iteration Objective Primal Inf. Dual Inf. Time
2605 -5.2172614e+04 0.000000e+00 0.000000e+00 1s
Solved in 2605 iterations and 0.75 seconds (0.29 work units)
Optimal objective -5.217261417e+04
Warning: environment still referenced so free is deferred (Continue to use WLS)
Warning: environment still referenced so free is deferred (Continue to use WLS)
INFO:pypsa.network.io:Exported network 'Model-Energy' saved to '/tmp/tmpt4j2yus2.nc contains: carriers, generators, links, loads, stores, buses, storage_units
/home/runner/work/PyPSA/PyPSA/pypsa/network/io.py:2085: FutureWarning: pandas infers the `str` dtype for string data since its version 3.0. PyPSA still converts it back to numpy object dtype on import, but will keep it from PyPSA 2.0 on. Set `pypsa.options.api.legacy_string_dtype` explicitly to suppress this warning. new_static = _coerce_string_dtypes(new_static)
/home/runner/work/PyPSA/PyPSA/pypsa/network/io.py:2085: FutureWarning: pandas infers the `str` dtype for string data since its version 3.0. PyPSA still converts it back to numpy object dtype on import, but will keep it from PyPSA 2.0 on. Set `pypsa.options.api.legacy_string_dtype` explicitly to suppress this warning. new_static = _coerce_string_dtypes(new_static)
/home/runner/work/PyPSA/PyPSA/pypsa/network/io.py:2085: FutureWarning: pandas infers the `str` dtype for string data since its version 3.0. PyPSA still converts it back to numpy object dtype on import, but will keep it from PyPSA 2.0 on. Set `pypsa.options.api.legacy_string_dtype` explicitly to suppress this warning. new_static = _coerce_string_dtypes(new_static) /home/runner/work/PyPSA/PyPSA/pypsa/network/io.py:2085: FutureWarning: pandas infers the `str` dtype for string data since its version 3.0. PyPSA still converts it back to numpy object dtype on import, but will keep it from PyPSA 2.0 on. Set `pypsa.options.api.legacy_string_dtype` explicitly to suppress this warning. new_static = _coerce_string_dtypes(new_static)
/home/runner/work/PyPSA/PyPSA/pypsa/network/io.py:2085: FutureWarning: pandas infers the `str` dtype for string data since its version 3.0. PyPSA still converts it back to numpy object dtype on import, but will keep it from PyPSA 2.0 on. Set `pypsa.options.api.legacy_string_dtype` explicitly to suppress this warning. new_static = _coerce_string_dtypes(new_static) /home/runner/work/PyPSA/PyPSA/pypsa/network/io.py:2085: FutureWarning: pandas infers the `str` dtype for string data since its version 3.0. PyPSA still converts it back to numpy object dtype on import, but will keep it from PyPSA 2.0 on. Set `pypsa.options.api.legacy_string_dtype` explicitly to suppress this warning. new_static = _coerce_string_dtypes(new_static)
/home/runner/work/PyPSA/PyPSA/pypsa/network/io.py:2085: FutureWarning: pandas infers the `str` dtype for string data since its version 3.0. PyPSA still converts it back to numpy object dtype on import, but will keep it from PyPSA 2.0 on. Set `pypsa.options.api.legacy_string_dtype` explicitly to suppress this warning. new_static = _coerce_string_dtypes(new_static)
/opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/contextlib.py:85: FutureWarning: The default value of `include_objective_constant` will change from True to False in version 2.0. Set `include_objective_constant` explicitly to suppress this warning. Using False improves LP numerical conditioning by not including the objective constant as a variable. return func(*args, **kwds) /home/runner/work/PyPSA/PyPSA/pypsa/network/io.py:2085: FutureWarning: pandas infers the `str` dtype for string data since its version 3.0. PyPSA still converts it back to numpy object dtype on import, but will keep it from PyPSA 2.0 on. Set `pypsa.options.api.legacy_string_dtype` explicitly to suppress this warning. new_static = _coerce_string_dtypes(new_static)
/opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/contextlib.py:85: FutureWarning: The default value of `include_objective_constant` will change from True to False in version 2.0. Set `include_objective_constant` explicitly to suppress this warning. Using False improves LP numerical conditioning by not including the objective constant as a variable. return func(*args, **kwds)
/opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/contextlib.py:85: FutureWarning: The default value of `include_objective_constant` will change from True to False in version 2.0. Set `include_objective_constant` explicitly to suppress this warning. Using False improves LP numerical conditioning by not including the objective constant as a variable. return func(*args, **kwds) /opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/contextlib.py:85: FutureWarning: The default value of `include_objective_constant` will change from True to False in version 2.0. Set `include_objective_constant` explicitly to suppress this warning. Using False improves LP numerical conditioning by not including the objective constant as a variable. return func(*args, **kwds)
/opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/contextlib.py:85: FutureWarning: The default value of `include_objective_constant` will change from True to False in version 2.0. Set `include_objective_constant` explicitly to suppress this warning. Using False improves LP numerical conditioning by not including the objective constant as a variable. return func(*args, **kwds)
/opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/contextlib.py:85: FutureWarning: The default value of `include_objective_constant` will change from True to False in version 2.0. Set `include_objective_constant` explicitly to suppress this warning. Using False improves LP numerical conditioning by not including the objective constant as a variable. return func(*args, **kwds) /opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/contextlib.py:85: FutureWarning: The default value of `include_objective_constant` will change from True to False in version 2.0. Set `include_objective_constant` explicitly to suppress this warning. Using False improves LP numerical conditioning by not including the objective constant as a variable. return func(*args, **kwds)
/opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/contextlib.py:85: FutureWarning: The default value of `include_objective_constant` will change from True to False in version 2.0. Set `include_objective_constant` explicitly to suppress this warning. Using False improves LP numerical conditioning by not including the objective constant as a variable. return func(*args, **kwds)
Writing constraints.: 0%| | 0/26 [00:00<?, ?it/s] Writing constraints.: 27%|██▋ | 7/26 [00:00<00:00, 58.83it/s]
Writing constraints.: 50%|█████ | 13/26 [00:00<00:00, 59.40it/s] Writing constraints.: 81%|████████ | 21/26 [00:00<00:00, 65.99it/s] Writing constraints.: 100%|██████████| 26/26 [00:00<00:00, 62.12it/s] Writing continuous variables.: 0%| | 0/12 [00:00<?, ?it/s]
Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 123.78it/s] Writing constraints.: 0%| | 0/26 [00:00<?, ?it/s] Writing constraints.: 27%|██▋ | 7/26 [00:00<00:00, 62.10it/s]
Set parameter WLSAccessID
Set parameter WLSSecret
Set parameter LicenseID to value 2537914
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Read LP format model from file /tmp/linopy-problem-1ganeivp.lp
Reading time = 0.06 seconds
obj: 23383 rows, 10720 columns, 44348 nonzeros
Gurobi Optimizer version 13.0.2 build v13.0.2rc1 (linux64 - "Ubuntu 24.04.5 LTS")
CPU model: AMD EPYC 7763 64-Core Processor, instruction set [SSE2|AVX|AVX2]
Thread count: 2 physical cores, 4 logical processors, using up to 4 threads
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Optimize a model with 23383 rows, 10720 columns and 44348 nonzeros (Min)
Model fingerprint: 0x8e094c09
Model has 1 linear objective coefficients
Coefficient statistics:
Matrix range [1e-03, 2e+05]
Objective range [1e+00, 1e+00]
Bounds range [0e+00, 0e+00]
RHS range [5e+03, 8e+09]
Warning: Model contains large rhs
Consider reformulating model or setting NumericFocus parameter
to avoid numerical issues.
Presolve removed 13136 rows and 2416 columns
Presolve time: 0.05s
Presolved: 10247 rows, 8304 columns, 29770 nonzeros
Concurrent LP optimizer: dual simplex and barrier
Showing barrier log only...
Ordering time: 0.01s
Barrier statistics:
Dense cols : 6
AA' NZ : 2.537e+04
Factor NZ : 1.718e+05 (roughly 9 MB of memory)
Factor Ops : 2.974e+06 (less than 1 second per iteration)
Threads : 1
Objective Residual
Iter Primal Dual Primal Dual Compl Time
0 -2.22959945e+04 -1.12289838e+07 7.39e+08 5.88e-02 1.10e+05 0s
1 -3.66799375e+05 -9.80870108e+06 1.06e+08 1.14e-01 5.35e+04 0s
2 -2.48001548e+05 -3.64946820e+06 5.66e+07 1.29e-03 8.70e+03 0s
3 -2.91690803e+04 -1.67046429e+06 1.40e+06 2.07e-05 3.92e+02 0s 4 -2.79377241e+04 -4.34942957e+05 4.20e+05 7.00e-16 7.71e+01 0s 5 -2.96108048e+04 -2.05094882e+05 1.63e+05 2.06e-16 2.68e+01 0s 6 -3.14743062e+04 -1.39011480e+05 1.05e+05 1.38e-16 1.55e+01 0s 7 -3.32557504e+04 -1.07754234e+05 7.58e+04 1.07e-16 1.04e+01 0s 8 -3.57397079e+04 -9.91145712e+04 5.55e+04 8.29e-17 8.62e+00 0s 9 -4.02457382e+04 -8.99816699e+04 3.88e+04 8.82e-17 6.62e+00 0s 10 -4.11753250e+04 -8.20894458e+04 3.56e+04 6.59e-17 5.47e+00 0s 11 -4.36351745e+04 -7.39309980e+04 1.42e+04 6.26e-17 3.85e+00 0s 12 -4.65905952e+04 -6.97022953e+04 9.70e+03 6.97e-17 2.91e+00 0s 13 -4.71552255e+04 -6.37844566e+04 8.69e+03 2.58e-17 2.11e+00 0s
Writing constraints.: 54%|█████▍ | 14/26 [00:00<00:00, 49.94it/s] Writing constraints.: 77%|███████▋ | 20/26 [00:00<00:00, 39.51it/s]
14 -4.88882211e+04 -5.57671363e+04 4.82e+03 3.68e-17 8.89e-01 0s 15 -4.92899313e+04 -5.52528777e+04 4.04e+03 5.74e-10 7.68e-01 0s 16 -4.92683161e+04 -5.31339014e+04 3.83e+03 8.91e-09 5.10e-01 0s 17 -4.99303962e+04 -5.30378280e+04 2.17e+03 1.01e-08 3.99e-01 0s 18 -5.03261784e+04 -5.15304617e+04 1.03e+03 2.47e-08 1.56e-01 0s 19 -5.05683231e+04 -5.10891636e+04 3.85e+02 2.45e-08 6.68e-02 0s 20 -5.06739298e+04 -5.08495901e+04 1.20e+02 1.24e-08 2.24e-02 1s 21 -5.07186440e+04 -5.07478861e+04 1.22e+01 3.04e-09 3.63e-03 1s 22 -5.07242510e+04 -5.07398783e+04 5.26e-02 2.11e-09 1.87e-03 1s
Writing constraints.: 0%| | 0/26 [00:00<?, ?it/s] Writing constraints.: 19%|█▉ | 5/26 [00:00<00:00, 41.34it/s] Writing constraints.: 96%|█████████▌| 25/26 [00:00<00:00, 35.97it/s] Writing constraints.: 100%|██████████| 26/26 [00:00<00:00, 39.99it/s] Writing continuous variables.: 0%| | 0/12 [00:00<?, ?it/s] Writing constraints.: 0%| | 0/26 [00:00<?, ?it/s]
23 -5.07245817e+04 -5.07263119e+04 3.27e-02 3.48e-09 2.07e-04 1s
24 -5.07247590e+04 -5.07253822e+04 2.15e-02 3.20e-09 7.52e-05 1s
25 -5.07248737e+04 -5.07250781e+04 3.58e-03 2.11e-09 2.54e-05 1s
26 -5.07249687e+04 -5.07249819e+04 3.03e-05 2.20e-10 1.32e-06 1s
27 -5.07249706e+04 -5.07249706e+04 1.06e-07 8.73e-12 1.81e-09 1s
Barrier solved model in 27 iterations and 0.62 seconds (0.17 work units)
Optimal objective -5.07249706e+04
Crossover log...
6 DPushes remaining with DInf 0.0000000e+00 1s
0 DPushes remaining with DInf 0.0000000e+00 1s
2000 PPushes remaining with PInf 0.0000000e+00 1s
0 PPushes remaining with PInf 0.0000000e+00 1s
Push phase complete: Pinf 0.0000000e+00, Dinf 1.1084883e-15 1s
Crossover time: 0.07 seconds (0.06 work units)
Solved with barrier
Iteration Objective Primal Inf. Dual Inf. Time
2009 -5.0724971e+04 0.000000e+00 0.000000e+00 1s
Solved in 2009 iterations and 0.71 seconds (0.23 work units)
Optimal objective -5.072497059e+04
Writing constraints.: 38%|███▊ | 10/26 [00:00<00:00, 39.55it/s] Writing continuous variables.: 58%|█████▊ | 7/12 [00:00<00:00, 63.74it/s] Writing constraints.: 23%|██▎ | 6/26 [00:00<00:00, 51.24it/s] Writing constraints.: 0%| | 0/26 [00:00<?, ?it/s] Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 67.89it/s] Writing constraints.: 85%|████████▍ | 22/26 [00:00<00:00, 69.46it/s] Writing constraints.: 0%| | 0/26 [00:00<?, ?it/s] Writing constraints.: 38%|███▊ | 10/26 [00:00<00:00, 94.09it/s] Writing constraints.: 46%|████▌ | 12/26 [00:00<00:00, 43.43it/s]
Set parameter WLSAccessID
Set parameter WLSSecret
Set parameter LicenseID to value 2537914
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Read LP format model from file /tmp/linopy-problem-j30e41q9.lp
Reading time = 0.12 seconds
obj: 23383 rows, 10720 columns, 44348 nonzeros
Gurobi Optimizer version 13.0.2 build v13.0.2rc1 (linux64 - "Ubuntu 24.04.5 LTS")
CPU model: AMD EPYC 7763 64-Core Processor, instruction set [SSE2|AVX|AVX2]
Thread count: 2 physical cores, 4 logical processors, using up to 4 threads
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Optimize a model with 23383 rows, 10720 columns and 44348 nonzeros (Min)
Model fingerprint: 0xb9871890
Model has 2 linear objective coefficients
Coefficient statistics:
Matrix range [1e-03, 2e+05]
Objective range [6e-01, 8e-01]
Bounds range [0e+00, 0e+00]
RHS range [5e+03, 8e+09]
Warning: Model contains large rhs
Consider reformulating model or setting NumericFocus parameter
to avoid numerical issues.
Presolve removed 13136 rows and 2416 columns
Presolve time: 0.05s
Presolved: 10247 rows, 8304 columns, 29770 nonzeros
Concurrent LP optimizer: dual simplex and barrier
Showing barrier log only...
Ordering time: 0.01s
Writing constraints.: 100%|██████████| 26/26 [00:00<00:00, 55.63it/s] Writing continuous variables.: 0%| | 0/12 [00:00<?, ?it/s] Writing constraints.: 15%|█▌ | 4/26 [00:00<00:00, 36.01it/s] Writing constraints.: 85%|████████▍ | 22/26 [00:00<00:00, 95.90it/s] Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 149.47it/s] Writing constraints.: 69%|██████▉ | 18/26 [00:00<00:00, 45.87it/s] Writing constraints.: 35%|███▍ | 9/26 [00:00<00:00, 42.39it/s]
Barrier statistics:
Dense cols : 6
AA' NZ : 2.537e+04
Factor NZ : 1.718e+05 (roughly 9 MB of memory)
Factor Ops : 2.974e+06 (less than 1 second per iteration)
Threads : 1
Set parameter WLSAccessID
Set parameter WLSSecret
Set parameter LicenseID to value 2537914
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Objective Residual
Iter Primal Dual Primal Dual Compl Time
0 -4.44650696e+04 -1.21888689e+07 7.39e+08 6.38e-02 1.20e+05 0s
1 -6.65659905e+05 -1.08914627e+07 1.08e+08 1.28e-01 6.07e+04 0s
2 -4.87208483e+05 -4.20783573e+06 5.96e+07 1.77e-03 1.03e+04 0s
3 -4.64222187e+04 -1.76931267e+06 1.54e+06 6.97e-05 4.52e+02 0s
4 -4.25125079e+04 -5.84684006e+05 4.71e+05 6.18e-16 1.05e+02 0s
5 -4.26681288e+04 -2.83143861e+05 1.71e+05 2.74e-16 3.67e+01 0s
6 -4.35340653e+04 -1.37862474e+05 9.75e+04 1.31e-16 1.36e+01 0s
7 -4.58677974e+04 -1.04609355e+05 4.85e+04 1.26e-16 7.88e+00 0s
Read LP format model from file /tmp/linopy-problem-k4z216e1.lp
Reading time = 0.15 seconds
obj: 23383 rows, 10720 columns, 44348 nonzeros
Gurobi Optimizer version 13.0.2 build v13.0.2rc1 (linux64 - "Ubuntu 24.04.5 LTS")
CPU model: AMD EPYC 7763 64-Core Processor, instruction set [SSE2|AVX|AVX2]
Thread count: 2 physical cores, 4 logical processors, using up to 4 threads
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Optimize a model with 23383 rows, 10720 columns and 44348 nonzeros (Min)
Model fingerprint: 0x49938802
Model has 2 linear objective coefficients
Coefficient statistics:
Matrix range [1e-03, 2e+05]
Objective range [3e-01, 1e+00]
Bounds range [0e+00, 0e+00]
RHS range [5e+03, 8e+09]
Warning: Model contains large rhs
Consider reformulating model or setting NumericFocus parameter
to avoid numerical issues.
8 -4.80711630e+04 -9.07701876e+04 3.98e+04 7.08e-17 5.68e+00 0s
Writing constraints.: 88%|████████▊ | 23/26 [00:00<00:00, 45.27it/s] Writing constraints.: 100%|██████████| 26/26 [00:00<00:00, 66.97it/s] Writing continuous variables.: 0%| | 0/12 [00:00<?, ?it/s] Writing constraints.: 54%|█████▍ | 14/26 [00:00<00:00, 39.86it/s] Writing constraints.: 100%|██████████| 26/26 [00:00<00:00, 45.76it/s] Writing continuous variables.: 0%| | 0/12 [00:00<?, ?it/s] Writing continuous variables.: 67%|██████▋ | 8/12 [00:00<00:00, 71.98it/s] Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 127.36it/s] Writing constraints.: 73%|███████▎ | 19/26 [00:00<00:00, 39.68it/s] Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 64.20it/s]
9 -4.93124101e+04 -8.27581142e+04 2.85e+04 5.93e-17 4.37e+00 0s
10 -5.08473622e+04 -7.26539415e+04 1.76e+04 4.91e-17 2.81e+00 0s
11 -5.27533587e+04 -6.55557303e+04 1.17e+04 3.88e-17 1.66e+00 0s
Presolve removed 13136 rows and 2416 columns
Presolve time: 0.10s
Presolved: 10247 rows, 8304 columns, 29770 nonzeros
Concurrent LP optimizer: dual simplex and barrier
Showing barrier log only...
12 -5.38582005e+04 -5.90199414e+04 8.32e+03 4.11e-17 7.02e-01 0s
Set parameter WLSAccessID
Set parameter WLSSecret
Set parameter LicenseID to value 2537914
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
13 -5.49132477e+04 -5.85596183e+04 4.97e+03 3.69e-17 4.87e-01 0s
14 -5.54111832e+04 -5.74573203e+04 3.44e+03 2.94e-17 2.80e-01 0s
Ordering time: 0.03s
Barrier statistics:
Dense cols : 6
AA' NZ : 2.537e+04
Factor NZ : 1.718e+05 (roughly 9 MB of memory)
Factor Ops : 2.974e+06 (less than 1 second per iteration)
Threads : 1
15 -5.58587337e+04 -5.70109880e+04 1.98e+03 9.74e-10 1.58e-01 0s
16 -5.62080822e+04 -5.68894624e+04 8.42e+02 6.11e-09 9.05e-02 0s
Set parameter WLSAccessID
Set parameter WLSSecret
Set parameter LicenseID to value 2537914
Objective Residual
Iter Primal Dual Primal Dual Compl Time
0 -3.50983786e+04 -1.06014323e+07 7.39e+08 1.11e-01 2.08e+05 0s
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Read LP format model from file /tmp/linopy-problem-cpp2h14w.lp
Reading time = 0.09 seconds
obj: 23383 rows, 10720 columns, 44348 nonzeros
Gurobi Optimizer version 13.0.2 build v13.0.2rc1 (linux64 - "Ubuntu 24.04.5 LTS")
CPU model: AMD EPYC 7763 64-Core Processor, instruction set [SSE2|AVX|AVX2]
Thread count: 2 physical cores, 4 logical processors, using up to 4 threads
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Optimize a model with 23383 rows, 10720 columns and 44348 nonzeros (Min)
Model fingerprint: 0xeb7469b9
Model has 2 linear objective coefficients
Coefficient statistics:
Matrix range [1e-03, 2e+05]
Objective range [6e-01, 8e-01]
Bounds range [0e+00, 0e+00]
RHS range [5e+03, 8e+09]
Warning: Model contains large rhs
Consider reformulating model or setting NumericFocus parameter
to avoid numerical issues.
17 -5.64395926e+04 -5.65828740e+04 5.80e+01 9.42e-09 1.81e-02 0s
1 -5.18676831e+05 -9.09687824e+06 1.06e+08 2.13e-01 9.92e+04 0s
Writing constraints.: 88%|████████▊ | 23/26 [00:00<00:00, 36.22it/s] Writing constraints.: 100%|██████████| 26/26 [00:00<00:00, 37.25it/s] Writing continuous variables.: 0%| | 0/12 [00:00<?, ?it/s] Writing continuous variables.: 67%|██████▋ | 8/12 [00:00<00:00, 73.47it/s]
Presolve removed 13136 rows and 2416 columns
Presolve time: 0.03s
Presolved: 10247 rows, 8304 columns, 29770 nonzeros
Concurrent LP optimizer: dual simplex and barrier
Showing barrier log only...
18 -5.64550511e+04 -5.65006517e+04 8.13e+00 2.57e-09 5.66e-03 0s
19 -5.64582035e+04 -5.64587673e+04 1.10e-01 1.43e-10 7.20e-05 1s
Ordering time: 0.02s
Barrier statistics:
Dense cols : 6
AA' NZ : 2.537e+04
Factor NZ : 1.718e+05 (roughly 9 MB of memory)
Factor Ops : 2.974e+06 (less than 1 second per iteration)
Threads : 1
2 -3.02308711e+05 -3.63355931e+06 5.52e+07 2.34e-03 1.66e+04 0s
20 -5.64582860e+04 -5.64582863e+04 4.51e-09 6.39e-12 7.21e-08 1s
Objective Residual
Iter Primal Dual Primal Dual Compl Time
0 -4.94791443e+04 -1.68429189e+07 7.39e+08 8.82e-02 1.65e+05 0s
21 -5.64582860e+04 -5.64582860e+04 9.78e-09 8.52e-15 7.21e-11 1s
Barrier solved model in 21 iterations and 0.56 seconds (0.14 work units)
Optimal objective -5.64582860e+04
1 -7.27158409e+05 -1.58031843e+07 1.11e+08 1.77e-01 8.72e+04 0s
3 -3.47031965e+04 -1.55335576e+06 1.07e+06 5.03e-05 6.58e+02 0s
Crossover log...
2 -6.23698007e+05 -5.79295579e+06 6.33e+07 3.31e-03 1.51e+04 0s
744 DPushes remaining with DInf 0.0000000e+00 1s
3 -5.75585782e+04 -2.54092804e+06 2.23e+06 1.35e-04 7.90e+02 0s
4 -3.44148708e+04 -4.88902675e+05 4.60e+05 1.10e-15 1.75e+02 0s
4 -4.73394665e+04 -8.12507731e+05 5.09e+05 1.22e-15 1.55e+02 0s
5 -4.70922237e+04 -4.18915514e+05 1.71e+05 5.22e-16 5.70e+01 0s
Warning: environment still referenced so free is deferred (Continue to use WLS)
6 -4.85514643e+04 -1.64808433e+05 1.01e+05 2.21e-16 1.73e+01 0s
Read LP format model from file /tmp/linopy-problem-0jnmrrn8.lp
5 -3.55869820e+04 -1.93942427e+05 1.85e+05 4.33e-16 4.91e+01 0s
Reading time = 0.21 seconds
obj: 23383 rows, 10720 columns, 44348 nonzeros
Gurobi Optimizer version 13.0.2 build v13.0.2rc1 (linux64 - "Ubuntu 24.04.5 LTS")
CPU model: AMD EPYC 7763 64-Core Processor, instruction set [SSE2|AVX|AVX2]
Thread count: 2 physical cores, 4 logical processors, using up to 4 threads
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Optimize a model with 23383 rows, 10720 columns and 44348 nonzeros (Min)
Model fingerprint: 0xda9e0439
Model has 1 linear objective coefficients
Coefficient statistics:
Matrix range [1e-03, 2e+05]
Objective range [6e-17, 1e+00]
Bounds range [0e+00, 0e+00]
RHS range [5e+03, 8e+09]
Warning: Model contains large rhs
Consider reformulating model or setting NumericFocus parameter
to avoid numerical issues.
7 -5.19142458e+04 -1.33509267e+05 6.00e+04 1.22e-16 1.13e+01 0s
8 -5.49586934e+04 -1.01142950e+05 3.68e+04 9.96e-17 6.23e+00 0s
9 -5.68076201e+04 -9.40911801e+04 2.93e+04 5.56e-17 5.00e+00 0s
6 -3.73655330e+04 -1.05228848e+05 9.65e+04 1.74e-16 1.93e+01 0s
10 -5.82114319e+04 -8.69859299e+04 2.57e+04 8.01e-17 3.89e+00 0s
11 -6.24435113e+04 -8.13968059e+04 1.46e+04 7.15e-17 2.52e+00 0s
7 -3.92846972e+04 -9.42002708e+04 6.23e+04 1.49e-16 1.49e+01 0s
12 -6.31862185e+04 -7.86450106e+04 1.23e+04 6.99e-17 2.06e+00 0s
13 -6.48563151e+04 -7.77452014e+04 6.76e+03 6.32e-17 1.66e+00 0s
Set parameter WLSAccessID
Set parameter WLSSecret
Set parameter LicenseID to value 2537914
8 -4.08646194e+04 -8.25555349e+04 4.85e+04 1.40e-16 1.12e+01 1s
0 DPushes remaining with DInf 0.0000000e+00 1s
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
2212 PPushes remaining with PInf 0.0000000e+00 1s
14 -6.60503198e+04 -7.03699297e+04 2.82e+03 6.95e-17 5.64e-01 0s
15 -6.62867444e+04 -6.94553437e+04 2.10e+03 1.68e-09 4.14e-01 0s
9 -4.24687618e+04 -8.10821829e+04 4.08e+04 1.09e-16 1.02e+01 1s
Presolve removed 13136 rows and 2416 columns
Presolve time: 0.15s
Presolved: 10247 rows, 8304 columns, 29770 nonzeros
Concurrent LP optimizer: dual simplex and barrier
Showing barrier log only...
16 -6.67328813e+04 -6.87166293e+04 7.09e+02 5.84e-17 2.50e-01 0s
17 -6.69284701e+04 -6.75266171e+04 2.21e+02 2.39e-08 7.66e-02 0s
Read LP format model from file /tmp/linopy-problem-zwi2mvyf.lp
Reading time = 0.06 seconds
obj: 23383 rows, 10720 columns, 44348 nonzeros
Gurobi Optimizer version 13.0.2 build v13.0.2rc1 (linux64 - "Ubuntu 24.04.5 LTS")
CPU model: AMD EPYC 7763 64-Core Processor, instruction set [SSE2|AVX|AVX2]
Thread count: 2 physical cores, 4 logical processors, using up to 4 threads
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Optimize a model with 23383 rows, 10720 columns and 44348 nonzeros (Min)
Model fingerprint: 0x6fd01cda
Model has 2 linear objective coefficients
Coefficient statistics:
Matrix range [1e-03, 2e+05]
Objective range [3e-01, 1e+00]
Bounds range [0e+00, 0e+00]
RHS range [5e+03, 8e+09]
Warning: Model contains large rhs
Consider reformulating model or setting NumericFocus parameter
to avoid numerical issues.
10 -4.46837261e+04 -7.89868395e+04 3.19e+04 6.82e-17 8.98e+00 1s
Ordering time: 0.02s
18 -6.69902755e+04 -6.70503152e+04 8.91e+01 2.83e-08 9.70e-03 0s
11 -4.56394329e+04 -7.35187708e+04 2.89e+04 6.15e-17 7.32e+00 1s
Barrier statistics:
Dense cols : 6
AA' NZ : 2.537e+04
Factor NZ : 1.718e+05 (roughly 9 MB of memory)
Factor Ops : 2.974e+06 (less than 1 second per iteration)
Threads : 1
Presolve removed 13136 rows and 2416 columns
Presolve time: 0.05s
Presolved: 10247 rows, 8304 columns, 29770 nonzeros
Concurrent LP optimizer: dual simplex and barrier
Showing barrier log only...
19 -6.70330228e+04 -6.70332912e+04 2.84e-01 1.19e-08 4.96e-04 0s
Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 71.85it/s] Writing constraints.: 0%| | 0/26 [00:00<?, ?it/s] Writing constraints.: 19%|█▉ | 5/26 [00:00<00:00, 47.53it/s]
20 -6.70342777e+04 -6.70330730e+04 2.20e-03 4.28e-09 2.00e-05 0s
12 -4.55462007e+04 -7.20917368e+04 2.69e+04 4.85e-17 6.95e+00 1s
Ordering time: 0.02s
0 PPushes remaining with PInf 0.0000000e+00 1s
Push phase complete: Pinf 0.0000000e+00, Dinf 1.1015494e-15 1s
Crossover time: 0.36 seconds (0.12 work units)
Objective Residual
Iter Primal Dual Primal Dual Compl Time
0 -4.49605266e+04 -2.09107277e+07 7.39e+08 1.40e+01 2.63e+07 0s
Barrier statistics:
Dense cols : 6
AA' NZ : 2.537e+04
Factor NZ : 1.718e+05 (roughly 9 MB of memory)
Factor Ops : 2.974e+06 (less than 1 second per iteration)
Threads : 1
21 -6.70342875e+04 -6.70342841e+04 1.11e-07 1.11e-11 2.00e-08 0s
Solved with barrier
22 -6.70342875e+04 -6.70342875e+04 3.56e-08 1.12e-14 2.00e-11 0s
Barrier solved model in 22 iterations and 0.49 seconds (0.14 work units)
Optimal objective -6.70342875e+04
13 -4.60507272e+04 -6.72547744e+04 1.01e+04 3.58e-17 5.30e+00 1s
Objective Residual
Iter Primal Dual Primal Dual Compl Time
0 -3.58701411e+04 -1.99263011e+07 7.39e+08 2.09e-01 3.91e+05 0s
Crossover log...
Iteration Objective Primal Inf. Dual Inf. Time
2959 -5.6458286e+04 0.000000e+00 0.000000e+00 1s
Solved in 2959 iterations and 0.96 seconds (0.26 work units)
Optimal objective -5.645828605e+04
1 -7.32480675e+05 -1.95051810e+07 1.12e+08 2.78e+01 1.37e+07 0s
1 -6.43896774e+05 -1.85281834e+07 1.12e+08 4.12e-01 2.02e+05 0s
242 DPushes remaining with DInf 0.0000000e+00 1s
14 -4.94467244e+04 -6.56698613e+04 4.88e+03 6.03e-17 4.00e+00 1s
2 -5.35540141e+05 -6.54664825e+06 6.26e+07 7.52e-03 3.36e+04 0s
2 -6.27664286e+05 -6.94697081e+06 6.28e+07 5.18e-01 2.29e+06 0s
15 -5.07036944e+04 -5.91615790e+04 3.04e+03 5.15e-17 2.10e+00 1s
3 -4.32898036e+04 -2.86815764e+06 2.41e+06 3.81e-04 1.87e+03 0s
3 -5.39688621e+04 -3.04261779e+06 2.41e+06 2.43e-02 1.27e+05 0s
16 -5.08887951e+04 -5.87786975e+04 2.69e+03 6.44e-17 1.95e+00 1s
0 DPushes remaining with DInf 0.0000000e+00 1s
4 -3.21210820e+04 -9.48336866e+05 4.61e+05 4.36e-06 3.54e+02 0s
4 -4.16589157e+04 -1.02542276e+06 5.18e+05 1.75e-04 2.54e+04 0s
2128 PPushes remaining with PInf 0.0000000e+00 1s
17 -5.13118994e+04 -5.68190836e+04 2.05e+03 7.14e-17 1.37e+00 1s
5 -4.18631490e+04 -5.05723914e+05 1.63e+05 7.75e-14 8.99e+03 0s
5 -3.27641002e+04 -4.40876954e+05 1.53e+05 1.26e-15 1.23e+02 0s
18 -5.19996933e+04 -5.48284409e+04 8.13e+02 4.88e-17 6.97e-01 1s
6 -3.63948071e+04 -1.77645737e+05 8.10e+04 6.20e-16 4.08e+01 0s
6 -4.40963456e+04 -2.63787756e+05 9.44e+04 3.63e-14 4.03e+03 0s
19 -5.20265177e+04 -5.45305911e+04 7.54e+02 3.68e-17 6.18e-01 1s
0 PPushes remaining with PInf 0.0000000e+00 1s
Push phase complete: Pinf 0.0000000e+00, Dinf 1.8370722e-15 1s
Crossover time: 0.21 seconds (0.09 work units)
Solved with barrier
7 -4.00414597e+04 -1.27549016e+05 6.03e+04 3.77e-16 2.47e+01 0s
7 -4.75837618e+04 -1.67444793e+05 5.52e+04 1.81e-14 2.10e+03 0s
20 -5.20427010e+04 -5.42341341e+04 7.27e+02 7.89e-17 5.42e-01 1s
Iteration Objective Primal Inf. Dual Inf. Time
2373 -6.7034287e+04 0.000000e+00 0.000000e+00 1s
Solved in 2373 iterations and 0.72 seconds (0.24 work units)
Optimal objective -6.703428750e+04
8 -4.54771559e+04 -1.09274696e+05 2.86e+04 2.76e-16 1.69e+01 0s
8 -4.86269884e+04 -1.32711478e+05 2.27e+04 1.20e-14 1.38e+03 1s
21 -5.21256598e+04 -5.41474722e+04 5.82e+02 7.22e-17 4.98e-01 1s
9 -4.96982970e+04 -9.88484492e+04 2.08e+04 2.32e-16 1.29e+01 0s
9 -5.50185493e+04 -1.21936927e+05 1.35e+04 6.10e-15 1.08e+03 1s
22 -5.23074500e+04 -5.29111938e+04 2.06e+02 6.94e-17 1.49e-01 1s
10 -5.29814098e+04 -9.03857121e+04 1.56e+04 1.21e-16 9.77e+00 0s
10 -5.64724441e+04 -1.02931517e+05 1.19e+04 8.21e-15 7.54e+02 1s
23 -5.23112391e+04 -5.27047529e+04 2.00e+02 9.50e-10 9.86e-02 1s
11 -5.62480284e+04 -8.41153494e+04 1.04e+04 1.00e-16 7.21e+00 0s
11 -5.79644433e+04 -1.01855561e+05 1.07e+04 9.09e-15 7.10e+02 1s
24 -5.23494980e+04 -5.26366187e+04 1.37e+02 1.56e-09 7.18e-02 1s
12 -5.76408997e+04 -7.73567987e+04 7.76e+03 9.63e-17 5.10e+00 0s
12 -6.09893220e+04 -9.89312721e+04 8.80e+03 1.03e-14 6.12e+02 1s
25 -5.23759140e+04 -5.26238043e+04 9.56e+01 1.52e-09 6.16e-02 1s
Writing constraints.: 38%|███▊ | 10/26 [00:00<00:00, 26.43it/s] Writing constraints.: 54%|█████▍ | 14/26 [00:00<00:00, 28.09it/s]
13 -5.94564307e+04 -7.24735542e+04 4.07e+03 5.98e-17 3.32e+00 0s
26 -5.23852189e+04 -5.25033755e+04 8.06e+01 2.94e-09 3.00e-02 1s
13 -6.30776952e+04 -9.21663780e+04 7.07e+03 1.15e-14 4.69e+02 1s
14 -6.05568814e+04 -6.84492414e+04 2.20e+03 5.66e-17 2.00e+00 1s
14 -6.64377501e+04 -7.99666713e+04 3.67e+03 7.72e-15 2.19e+02 1s
27 -5.24217606e+04 -5.24363163e+04 9.78e+00 2.46e-09 3.72e-03 1s
15 -6.14831686e+04 -6.40782847e+04 6.88e+02 1.31e-16 6.56e-01 1s
28 -5.24317636e+04 -5.24331084e+04 5.09e-01 7.02e-10 3.39e-04 1s
15 -6.81887210e+04 -7.70426179e+04 1.81e+03 6.28e-15 1.42e+02 1s
29 -5.24326452e+04 -5.24326703e+04 3.00e-04 1.14e-10 6.69e-06 1s
16 -6.16939097e+04 -6.35207622e+04 3.88e+02 1.08e-16 4.59e-01 1s
16 -6.85762046e+04 -7.48203127e+04 1.50e+03 7.68e-15 1.00e+02 1s
30 -5.24326498e+04 -5.24326498e+04 1.19e-08 2.82e-12 6.70e-09 1s
Barrier solved model in 30 iterations and 1.20 seconds (0.18 work units)
Optimal objective -5.24326498e+04
17 -6.18650358e+04 -6.26494777e+04 1.41e+02 1.45e-08 1.98e-01 1s
Crossover log...
17 -6.96613585e+04 -7.23137814e+04 5.34e+02 1.03e-14 4.24e+01 1s
400 DPushes remaining with DInf 0.0000000e+00 1s
18 -6.19639514e+04 -6.21137815e+04 1.04e+01 3.36e-08 3.91e-02 1s
18 -7.02340863e+04 -7.04752996e+04 6.72e+01 1.17e-14 3.90e+00 1s
19 -6.19748769e+04 -6.20152472e+04 2.29e-02 2.23e-08 1.14e-02 1s
19 -7.03207534e+04 -7.03357911e+04 2.91e+00 9.21e-10 2.40e-01 1s
Writing constraints.: 69%|██████▉ | 18/26 [00:00<00:00, 24.05it/s] Writing constraints.: 81%|████████ | 21/26 [00:00<00:00, 23.57it/s]
20 -6.19758053e+04 -6.19772292e+04 6.82e-03 5.36e-09 7.10e-04 1s
20 -7.03266669e+04 -7.03269948e+04 1.49e-02 3.12e-09 4.95e-03 1s
21 -7.03267008e+04 -7.03267016e+04 3.39e-07 1.38e-10 5.17e-06 1s
21 -6.19758640e+04 -6.19765850e+04 5.83e-03 1.18e-09 9.48e-05 1s
22 -6.19762129e+04 -6.19759121e+04 2.57e-07 1.14e-09 1.54e-06 1s
22 -7.03267008e+04 -7.03267008e+04 8.08e-08 2.43e-13 5.17e-09 1s
Barrier solved model in 22 iterations and 0.95 seconds (0.14 work units)
Optimal objective -7.03267008e+04
Crossover log...
23 -6.19762145e+04 -6.19762149e+04 1.12e-07 1.75e-12 1.61e-09 1s
Barrier solved model in 23 iterations and 0.81 seconds (0.15 work units)
Optimal objective -6.19762145e+04
Crossover log...
75 DPushes remaining with DInf 0.0000000e+00 1s
0 DPushes remaining with DInf 0.0000000e+00 1s
2173 PPushes remaining with PInf 0.0000000e+00 1s
5 DPushes remaining with DInf 0.0000000e+00 1s
0 DPushes remaining with DInf 0.0000000e+00 1s
2032 PPushes remaining with PInf 0.0000000e+00 1s
0 DPushes remaining with DInf 0.0000000e+00 1s
2059 PPushes remaining with PInf 0.0000000e+00 1s
0 PPushes remaining with PInf 0.0000000e+00 1s
Push phase complete: Pinf 0.0000000e+00, Dinf 8.7360674e-15 1s
Crossover time: 0.24 seconds (0.06 work units)
Solved with barrier
0 PPushes remaining with PInf 0.0000000e+00 1s
Push phase complete: Pinf 0.0000000e+00, Dinf 2.7911007e-13 1s
0 PPushes remaining with PInf 0.0000000e+00 2s
Crossover time: 0.30 seconds (0.07 work units)
Solved with barrier
Iteration Objective Primal Inf. Dual Inf. Time
2040 -6.1976214e+04 0.000000e+00 0.000000e+00 1s
Solved in 2040 iterations and 1.09 seconds (0.21 work units)
Optimal objective -6.197621445e+04
Push phase complete: Pinf 0.0000000e+00, Dinf 2.3678975e-15 2s
Crossover time: 0.49 seconds (0.13 work units)
Solved with barrier
Iteration Objective Primal Inf. Dual Inf. Time
2137 -7.0326701e+04 0.000000e+00 0.000000e+00 1s
Solved in 2137 iterations and 1.29 seconds (0.22 work units)
Optimal objective -7.032670084e+04
Writing constraints.: 92%|█████████▏| 24/26 [00:00<00:00, 22.56it/s] Writing constraints.: 100%|██████████| 26/26 [00:01<00:00, 25.51it/s] Writing continuous variables.: 0%| | 0/12 [00:00<?, ?it/s] Writing continuous variables.: 58%|█████▊ | 7/12 [00:00<00:00, 61.74it/s]
Iteration Objective Primal Inf. Dual Inf. Time
2576 -5.2432650e+04 0.000000e+00 0.000000e+00 2s
Solved in 2576 iterations and 1.73 seconds (0.32 work units)
Optimal objective -5.243264984e+04
Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 61.72it/s]
Set parameter WLSAccessID Set parameter WLSSecret Set parameter LicenseID to value 2537914 Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de Read LP format model from file /tmp/linopy-problem-9z5n1oki.lp Reading time = 0.10 seconds obj: 23383 rows, 10720 columns, 44348 nonzeros Gurobi Optimizer version 13.0.2 build v13.0.2rc1 (linux64 - "Ubuntu 24.04.5 LTS") CPU model: AMD EPYC 7763 64-Core Processor, instruction set [SSE2|AVX|AVX2] Thread count: 2 physical cores, 4 logical processors, using up to 4 threads Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de Optimize a model with 23383 rows, 10720 columns and 44348 nonzeros (Min) Model fingerprint: 0xe68c31b8 Model has 2 linear objective coefficients Coefficient statistics: Matrix range [1e-03, 2e+05] Objective range [3e-01, 1e+00] Bounds range [0e+00, 0e+00] RHS range [5e+03, 8e+09] Warning: Model contains large rhs
Writing constraints.: 0%| | 0/26 [00:00<?, ?it/s]
Consider reformulating model or setting NumericFocus parameter
to avoid numerical issues.
Warning: environment still referenced so free is deferred (Continue to use WLS)
Presolve removed 13136 rows and 2416 columns
Presolve time: 0.05s
Presolved: 10247 rows, 8304 columns, 29770 nonzeros
Concurrent LP optimizer: dual simplex and barrier
Showing barrier log only...
Ordering time: 0.01s
Barrier statistics:
Dense cols : 6
AA' NZ : 2.537e+04
Factor NZ : 1.718e+05 (roughly 9 MB of memory)
Factor Ops : 2.974e+06 (less than 1 second per iteration)
Threads : 1
Objective Residual
Iter Primal Dual Primal Dual Compl Time
0 -4.96498691e+04 -1.98482666e+07 7.39e+08 2.08e-01 3.90e+05 0s
1 -7.59201643e+05 -1.85676343e+07 1.11e+08 4.16e-01 2.04e+05 0s
2 -6.58634832e+05 -6.68383728e+06 6.31e+07 7.83e-03 3.47e+04 0s 3 -5.86943633e+04 -2.92759538e+06 2.33e+06 3.44e-04 1.87e+03 0s 4 -4.67905694e+04 -1.03082688e+06 5.20e+05 3.36e-07 3.95e+02 0s 5 -4.65899367e+04 -5.04837845e+05 1.80e+05 9.83e-16 1.41e+02 0s
Writing constraints.: 15%|█▌ | 4/26 [00:00<00:00, 33.12it/s]
6 -4.87632910e+04 -1.92132936e+05 1.03e+05 5.84e-16 4.25e+01 0s 7 -5.27507065e+04 -1.48919201e+05 6.70e+04 4.03e-16 2.71e+01 0s Warning: environment still referenced so free is deferred (Continue to use WLS) 8 -5.70400968e+04 -1.18040403e+05 3.01e+04 2.65e-16 1.61e+01 0s 9 -6.06965057e+04 -1.05332970e+05 2.35e+04 1.87e-16 1.18e+01 0s
Writing constraints.: 31%|███ | 8/26 [00:00<00:00, 33.39it/s]
10 -6.14366227e+04 -1.04564131e+05 2.22e+04 2.14e-16 1.14e+01 0s 11 -6.36131422e+04 -1.00644192e+05 1.88e+04 2.68e-16 9.73e+00 0s 12 -6.38607869e+04 -9.70286360e+04 1.80e+04 2.19e-16 8.74e+00 0s 13 -6.81213663e+04 -8.88871981e+04 9.03e+03 1.39e-16 5.37e+00 0s 14 -6.95881818e+04 -8.21291551e+04 5.56e+03 1.39e-16 3.24e+00 0s
Writing constraints.: 54%|█████▍ | 14/26 [00:00<00:00, 43.81it/s]
15 -7.10279056e+04 -7.58873325e+04 2.14e+03 1.50e-16 1.25e+00 0s 16 -7.15977989e+04 -7.50177124e+04 9.04e+02 1.68e-16 8.59e-01 0s 17 -7.19468493e+04 -7.34108237e+04 2.35e+02 1.34e-16 3.62e-01 0s 18 -7.20576465e+04 -7.21253140e+04 4.80e+01 4.19e-08 2.01e-02 1s
Writing constraints.: 73%|███████▎ | 19/26 [00:00<00:00, 43.60it/s]
19 -7.20902927e+04 -7.20941327e+04 2.67e+00 6.06e-09 1.34e-03 1s 20 -7.20927426e+04 -7.20927877e+04 1.10e-07 2.73e-11 1.13e-05 1s 21 -7.20927578e+04 -7.20927579e+04 1.26e-08 1.33e-12 1.13e-08 1s 22 -7.20927578e+04 -7.20927578e+04 2.51e-08 5.00e-15 1.13e-11 1s Barrier solved model in 22 iterations and 0.61 seconds (0.14 work units) Optimal objective -7.20927578e+04
Writing constraints.: 96%|█████████▌| 25/26 [00:00<00:00, 46.68it/s] Writing constraints.: 100%|██████████| 26/26 [00:00<00:00, 43.30it/s] Writing continuous variables.: 0%| | 0/12 [00:00<?, ?it/s]
Crossover log...
71 DPushes remaining with DInf 0.0000000e+00 1s
0 DPushes remaining with DInf 0.0000000e+00 1s
Writing continuous variables.: 92%|█████████▏| 11/12 [00:00<00:00, 106.72it/s] Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 106.25it/s]
2072 PPushes remaining with PInf 0.0000000e+00 1s
Set parameter WLSAccessID
Set parameter WLSSecret
Set parameter LicenseID to value 2537914
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
0 PPushes remaining with PInf 0.0000000e+00 1s
Push phase complete: Pinf 0.0000000e+00, Dinf 2.7512714e-15 1s
Crossover time: 0.27 seconds (0.07 work units)
Solved with barrier
Read LP format model from file /tmp/linopy-problem-3vqjl5gd.lp
Reading time = 0.10 seconds
obj: 23383 rows, 10720 columns, 44348 nonzeros
Gurobi Optimizer version 13.0.2 build v13.0.2rc1 (linux64 - "Ubuntu 24.04.5 LTS")
CPU model: AMD EPYC 7763 64-Core Processor, instruction set [SSE2|AVX|AVX2]
Thread count: 2 physical cores, 4 logical processors, using up to 4 threads
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Optimize a model with 23383 rows, 10720 columns and 44348 nonzeros (Min)
Model fingerprint: 0xa8392aa9
Model has 2 linear objective coefficients
Coefficient statistics:
Matrix range [1e-03, 2e+05]
Objective range [6e-01, 8e-01]
Bounds range [0e+00, 0e+00]
RHS range [5e+03, 8e+09]
Warning: Model contains large rhs
Consider reformulating model or setting NumericFocus parameter
to avoid numerical issues.
Iteration Objective Primal Inf. Dual Inf. Time
2146 -7.2092758e+04 0.000000e+00 0.000000e+00 1s
Solved in 2146 iterations and 0.91 seconds (0.22 work units)
Optimal objective -7.209275780e+04
Presolve removed 13136 rows and 2416 columns
Presolve time: 0.03s
Presolved: 10247 rows, 8304 columns, 29770 nonzeros
Concurrent LP optimizer: dual simplex and barrier
Showing barrier log only...
Ordering time: 0.01s
Barrier statistics:
Dense cols : 6
AA' NZ : 2.537e+04
Factor NZ : 1.718e+05 (roughly 9 MB of memory)
Factor Ops : 2.974e+06 (less than 1 second per iteration)
Threads : 1
Objective Residual
Iter Primal Dual Primal Dual Compl Time
0 -2.32685441e+04 -1.69913492e+07 7.39e+08 8.89e-02 1.67e+05 0s
1 -5.00475552e+05 -1.57388089e+07 1.13e+08 1.73e-01 8.55e+04 0s
2 -3.91914998e+05 -5.52292225e+06 6.23e+07 3.10e-03 1.40e+04 0s 3 -2.82624357e+04 -2.42099553e+06 2.39e+06 1.71e-04 7.85e+02 0s 4 -1.99073363e+04 -7.37171912e+05 4.28e+05 3.53e-06 1.36e+02 0s 5 -2.13074555e+04 -3.27710872e+05 1.38e+05 1.67e-07 4.56e+01 0s
6 -2.63401173e+04 -1.41747610e+05 7.60e+04 2.60e-16 1.67e+01 0s 7 -2.94508873e+04 -9.62461927e+04 5.99e+04 1.47e-16 9.61e+00 0s 8 -3.63332655e+04 -8.72696299e+04 2.76e+04 1.31e-16 6.82e+00 0s
9 -3.74830472e+04 -7.57099209e+04 2.43e+04 9.61e-17 5.16e+00 0s 10 -3.84994093e+04 -7.49084994e+04 2.21e+04 8.76e-17 4.89e+00 0s
11 -4.10139522e+04 -6.92327806e+04 1.67e+04 6.78e-17 3.77e+00 0s 12 -4.29156004e+04 -6.76828104e+04 1.26e+04 7.73e-17 3.26e+00 0s 13 -4.38401076e+04 -6.36893238e+04 1.01e+04 7.07e-17 2.61e+00 0s
14 -4.54310518e+04 -5.76632040e+04 4.97e+03 4.40e-17 1.58e+00 0s 15 -4.67337775e+04 -5.16479448e+04 2.21e+03 1.21e-07 6.46e-01 0s
16 -4.70605924e+04 -5.02454487e+04 1.54e+03 9.00e-08 4.22e-01 0s 17 -4.73770355e+04 -4.90705799e+04 8.84e+02 6.43e-08 2.27e-01 1s
18 -4.77582283e+04 -4.78748547e+04 1.24e+02 5.51e-08 2.06e-02 1s 19 -4.78157183e+04 -4.78236022e+04 1.03e+01 2.12e-09 1.27e-03 1s 20 -4.78218539e+04 -4.78222334e+04 8.45e-03 5.62e-10 3.84e-06 1s 21 -4.78218593e+04 -4.78218588e+04 4.63e-08 9.14e-13 3.84e-09 1s Barrier solved model in 21 iterations and 0.62 seconds (0.14 work units) Optimal objective -4.78218593e+04 Crossover log...
5 DPushes remaining with DInf 0.0000000e+00 1s
0 DPushes remaining with DInf 0.0000000e+00 1s
2087 PPushes remaining with PInf 0.0000000e+00 1s
Warning: environment still referenced so free is deferred (Continue to use WLS)
0 PPushes remaining with PInf 0.0000000e+00 1s
Push phase complete: Pinf 0.0000000e+00, Dinf 3.5856734e-15 1s
Crossover time: 0.20 seconds (0.08 work units)
Solved with barrier
Iteration Objective Primal Inf. Dual Inf. Time
2095 -4.7821859e+04 0.000000e+00 0.000000e+00 1s
Solved in 2095 iterations and 0.86 seconds (0.22 work units)
Optimal objective -4.782185931e+04
Warning: environment still referenced so free is deferred (Continue to use WLS)
Warning: environment still referenced so free is deferred (Continue to use WLS)
Warning: environment still referenced so free is deferred (Continue to use WLS)
Warning: environment still referenced so free is deferred (Continue to use WLS)
/home/runner/work/PyPSA/PyPSA/pypsa/network/io.py:2085: FutureWarning: pandas infers the `str` dtype for string data since its version 3.0. PyPSA still converts it back to numpy object dtype on import, but will keep it from PyPSA 2.0 on. Set `pypsa.options.api.legacy_string_dtype` explicitly to suppress this warning. new_static = _coerce_string_dtypes(new_static)
/opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/contextlib.py:85: FutureWarning: The default value of `include_objective_constant` will change from True to False in version 2.0. Set `include_objective_constant` explicitly to suppress this warning. Using False improves LP numerical conditioning by not including the objective constant as a variable. return func(*args, **kwds)
/home/runner/work/PyPSA/PyPSA/pypsa/network/io.py:2085: FutureWarning: pandas infers the `str` dtype for string data since its version 3.0. PyPSA still converts it back to numpy object dtype on import, but will keep it from PyPSA 2.0 on. Set `pypsa.options.api.legacy_string_dtype` explicitly to suppress this warning. new_static = _coerce_string_dtypes(new_static)
/home/runner/work/PyPSA/PyPSA/pypsa/network/io.py:2085: FutureWarning: pandas infers the `str` dtype for string data since its version 3.0. PyPSA still converts it back to numpy object dtype on import, but will keep it from PyPSA 2.0 on. Set `pypsa.options.api.legacy_string_dtype` explicitly to suppress this warning. new_static = _coerce_string_dtypes(new_static)
/home/runner/work/PyPSA/PyPSA/pypsa/network/io.py:2085: FutureWarning: pandas infers the `str` dtype for string data since its version 3.0. PyPSA still converts it back to numpy object dtype on import, but will keep it from PyPSA 2.0 on. Set `pypsa.options.api.legacy_string_dtype` explicitly to suppress this warning. new_static = _coerce_string_dtypes(new_static) /home/runner/work/PyPSA/PyPSA/pypsa/network/io.py:2085: FutureWarning: pandas infers the `str` dtype for string data since its version 3.0. PyPSA still converts it back to numpy object dtype on import, but will keep it from PyPSA 2.0 on. Set `pypsa.options.api.legacy_string_dtype` explicitly to suppress this warning. new_static = _coerce_string_dtypes(new_static)
/home/runner/work/PyPSA/PyPSA/pypsa/network/io.py:2085: FutureWarning: pandas infers the `str` dtype for string data since its version 3.0. PyPSA still converts it back to numpy object dtype on import, but will keep it from PyPSA 2.0 on. Set `pypsa.options.api.legacy_string_dtype` explicitly to suppress this warning. new_static = _coerce_string_dtypes(new_static) /opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/contextlib.py:85: FutureWarning: The default value of `include_objective_constant` will change from True to False in version 2.0. Set `include_objective_constant` explicitly to suppress this warning. Using False improves LP numerical conditioning by not including the objective constant as a variable. return func(*args, **kwds)
/home/runner/work/PyPSA/PyPSA/pypsa/network/io.py:2085: FutureWarning: pandas infers the `str` dtype for string data since its version 3.0. PyPSA still converts it back to numpy object dtype on import, but will keep it from PyPSA 2.0 on. Set `pypsa.options.api.legacy_string_dtype` explicitly to suppress this warning. new_static = _coerce_string_dtypes(new_static) /home/runner/work/PyPSA/PyPSA/pypsa/network/io.py:2085: FutureWarning: pandas infers the `str` dtype for string data since its version 3.0. PyPSA still converts it back to numpy object dtype on import, but will keep it from PyPSA 2.0 on. Set `pypsa.options.api.legacy_string_dtype` explicitly to suppress this warning. new_static = _coerce_string_dtypes(new_static) /opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/contextlib.py:85: FutureWarning: The default value of `include_objective_constant` will change from True to False in version 2.0. Set `include_objective_constant` explicitly to suppress this warning. Using False improves LP numerical conditioning by not including the objective constant as a variable. return func(*args, **kwds)
/opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/contextlib.py:85: FutureWarning: The default value of `include_objective_constant` will change from True to False in version 2.0. Set `include_objective_constant` explicitly to suppress this warning. Using False improves LP numerical conditioning by not including the objective constant as a variable. return func(*args, **kwds)
/opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/contextlib.py:85: FutureWarning: The default value of `include_objective_constant` will change from True to False in version 2.0. Set `include_objective_constant` explicitly to suppress this warning. Using False improves LP numerical conditioning by not including the objective constant as a variable. return func(*args, **kwds)
/opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/contextlib.py:85: FutureWarning: The default value of `include_objective_constant` will change from True to False in version 2.0. Set `include_objective_constant` explicitly to suppress this warning. Using False improves LP numerical conditioning by not including the objective constant as a variable. return func(*args, **kwds) /opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/contextlib.py:85: FutureWarning: The default value of `include_objective_constant` will change from True to False in version 2.0. Set `include_objective_constant` explicitly to suppress this warning. Using False improves LP numerical conditioning by not including the objective constant as a variable. return func(*args, **kwds)
/opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/contextlib.py:85: FutureWarning: The default value of `include_objective_constant` will change from True to False in version 2.0. Set `include_objective_constant` explicitly to suppress this warning. Using False improves LP numerical conditioning by not including the objective constant as a variable. return func(*args, **kwds)
Writing constraints.: 0%| | 0/26 [00:00<?, ?it/s] Writing constraints.: 19%|█▉ | 5/26 [00:00<00:00, 48.69it/s]
Writing constraints.: 38%|███▊ | 10/26 [00:00<00:00, 44.07it/s] Writing constraints.: 65%|██████▌ | 17/26 [00:00<00:00, 52.64it/s]
Writing constraints.: 88%|████████▊ | 23/26 [00:00<00:00, 45.21it/s] Writing constraints.: 100%|██████████| 26/26 [00:00<00:00, 45.47it/s] Writing continuous variables.: 0%| | 0/12 [00:00<?, ?it/s] Writing continuous variables.: 83%|████████▎ | 10/12 [00:00<00:00, 95.72it/s]
Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 92.01it/s]
Set parameter WLSAccessID
Set parameter WLSSecret
Set parameter LicenseID to value 2537914
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Read LP format model from file /tmp/linopy-problem-wqoiz9ef.lp
Reading time = 0.10 seconds
obj: 23383 rows, 10720 columns, 44348 nonzeros
Gurobi Optimizer version 13.0.2 build v13.0.2rc1 (linux64 - "Ubuntu 24.04.5 LTS")
CPU model: AMD EPYC 7763 64-Core Processor, instruction set [SSE2|AVX|AVX2]
Thread count: 2 physical cores, 4 logical processors, using up to 4 threads
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Optimize a model with 23383 rows, 10720 columns and 44348 nonzeros (Min)
Model fingerprint: 0x8c912fc1
Model has 2 linear objective coefficients
Coefficient statistics:
Matrix range [1e-03, 2e+05]
Objective range [6e-01, 8e-01]
Bounds range [0e+00, 0e+00]
RHS range [5e+03, 8e+09]
Warning: Model contains large rhs
Consider reformulating model or setting NumericFocus parameter
to avoid numerical issues.
Presolve removed 13136 rows and 2416 columns
Presolve time: 0.07s
Presolved: 10247 rows, 8304 columns, 29770 nonzeros
Concurrent LP optimizer: dual simplex and barrier
Showing barrier log only...
Ordering time: 0.02s
Barrier statistics:
Dense cols : 6
AA' NZ : 2.537e+04
Factor NZ : 1.718e+05 (roughly 9 MB of memory)
Factor Ops : 2.974e+06 (less than 1 second per iteration)
Threads : 1
Objective Residual
Iter Primal Dual Primal Dual Compl Time
0 -8.38927298e+03 -1.23931658e+07 7.39e+08 6.49e-02 1.22e+05 0s
1 -3.06323226e+05 -1.14702810e+07 1.13e+08 1.20e-01 6.22e+04 0s
2 -2.09853288e+05 -4.00428933e+06 6.20e+07 2.19e-03 1.01e+04 0s
3 -1.04723049e+04 -1.78449930e+06 2.31e+06 1.24e-04 5.63e+02 0s
4 -6.22043867e+03 -5.66541844e+05 4.58e+05 2.32e-06 1.07e+02 0s
5 -7.75443187e+03 -2.48542533e+05 1.38e+05 3.39e-07 3.56e+01 0s
6 -1.08316107e+04 -1.02845452e+05 8.67e+04 1.60e-16 1.34e+01 0s 7 -1.32921095e+04 -7.64320441e+04 6.78e+04 7.99e-17 9.08e+00 0s 8 -1.42773703e+04 -7.28021740e+04 6.17e+04 8.08e-17 8.37e+00 0s 9 -2.03876511e+04 -5.88502403e+04 2.49e+04 6.41e-17 5.13e+00 0s 10 -2.05863779e+04 -5.79447657e+04 2.40e+04 7.48e-17 4.97e+00 0s 11 -2.31927694e+04 -5.26891772e+04 1.65e+04 9.48e-17 3.87e+00 0s 12 -2.42889527e+04 -5.06490868e+04 1.37e+04 6.61e-17 3.43e+00 0s 13 -2.53164308e+04 -4.43663012e+04 1.06e+04 1.67e-08 2.49e+00 1s
14 -2.63263912e+04 -3.77205319e+04 8.02e+03 1.11e-07 1.51e+00 1s 15 -2.66469901e+04 -3.70606438e+04 7.27e+03 1.23e-07 1.38e+00 1s 16 -2.71833896e+04 -3.60462395e+04 6.14e+03 1.32e-07 1.18e+00 1s 17 -2.75690097e+04 -3.38253886e+04 4.50e+03 1.24e-07 8.35e-01 1s 18 -2.82741124e+04 -3.18929139e+04 2.33e+03 1.31e-07 4.83e-01 1s 19 -2.86175940e+04 -3.05071925e+04 1.40e+03 1.26e-07 2.60e-01 1s 20 -2.89701482e+04 -2.97671720e+04 4.89e+02 1.50e-07 1.17e-01 1s 21 -2.91374722e+04 -2.91914703e+04 3.38e+01 2.77e-08 9.65e-03 1s
22 -2.91600991e+04 -2.91537503e+04 2.78e-02 1.02e-08 1.33e-04 1s
23 -2.91605154e+04 -2.91607691e+04 1.32e-06 3.49e-10 8.15e-07 1s
24 -2.91605167e+04 -2.91605439e+04 9.22e-08 3.89e-11 6.43e-09 1s
Barrier solved model in 24 iterations and 0.81 seconds (0.15 work units)
Optimal objective -2.91605167e+04
Crossover log...
4 DPushes remaining with DInf 0.0000000e+00 1s
0 DPushes remaining with DInf 0.0000000e+00 1s
1866 PPushes remaining with PInf 0.0000000e+00 1s
0 PPushes remaining with PInf 0.0000000e+00 1s
Push phase complete: Pinf 0.0000000e+00, Dinf 1.6852839e-15 1s
Crossover time: 0.22 seconds (0.07 work units)
Solved with barrier
Iteration Objective Primal Inf. Dual Inf. Time
1873 -2.9160517e+04 0.000000e+00 0.000000e+00 1s
Solved in 1873 iterations and 1.06 seconds (0.23 work units)
Optimal objective -2.916051670e+04
Writing constraints.: 0%| | 0/26 [00:00<?, ?it/s] Writing constraints.: 27%|██▋ | 7/26 [00:00<00:00, 66.53it/s]
Writing constraints.: 54%|█████▍ | 14/26 [00:00<00:00, 57.58it/s] Writing constraints.: 0%| | 0/26 [00:00<?, ?it/s] Writing constraints.: 19%|█▉ | 5/26 [00:00<00:00, 44.36it/s]
Writing constraints.: 38%|███▊ | 10/26 [00:00<00:00, 42.80it/s] Writing constraints.: 77%|███████▋ | 20/26 [00:00<00:00, 34.02it/s] Writing constraints.: 58%|█████▊ | 15/26 [00:00<00:00, 42.28it/s]
Warning: environment still referenced so free is deferred (Continue to use WLS)
Writing constraints.: 77%|███████▋ | 20/26 [00:00<00:00, 36.99it/s] Writing constraints.: 96%|█████████▌| 25/26 [00:00<00:00, 26.77it/s] Writing constraints.: 0%| | 0/26 [00:00<?, ?it/s] Writing constraints.: 100%|██████████| 26/26 [00:00<00:00, 31.73it/s] Writing continuous variables.: 0%| | 0/12 [00:00<?, ?it/s] Writing constraints.: 23%|██▎ | 6/26 [00:00<00:00, 55.20it/s] Writing constraints.: 92%|█████████▏| 24/26 [00:00<00:00, 33.05it/s] Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 120.49it/s]
Set parameter WLSAccessID
Set parameter WLSSecret
Set parameter LicenseID to value 2537914
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Read LP format model from file /tmp/linopy-problem-qty10d6j.lp
Reading time = 0.05 seconds
obj: 23383 rows, 10720 columns, 44348 nonzeros
Gurobi Optimizer version 13.0.2 build v13.0.2rc1 (linux64 - "Ubuntu 24.04.5 LTS")
CPU model: AMD EPYC 7763 64-Core Processor, instruction set [SSE2|AVX|AVX2]
Thread count: 2 physical cores, 4 logical processors, using up to 4 threads
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Optimize a model with 23383 rows, 10720 columns and 44348 nonzeros (Min)
Model fingerprint: 0x51678495
Model has 2 linear objective coefficients
Coefficient statistics:
Matrix range [1e-03, 2e+05]
Objective range [3e-01, 1e+00]
Bounds range [0e+00, 0e+00]
RHS range [5e+03, 8e+09]
Warning: Model contains large rhs
Consider reformulating model or setting NumericFocus parameter
to avoid numerical issues.
Presolve removed 13136 rows and 2416 columns
Presolve time: 0.04s
Presolved: 10247 rows, 8304 columns, 29770 nonzeros
Concurrent LP optimizer: dual simplex and barrier
Showing barrier log only...
Ordering time: 0.01s
Barrier statistics:
Dense cols : 6
AA' NZ : 2.537e+04
Factor NZ : 1.718e+05 (roughly 9 MB of memory)
Factor Ops : 2.974e+06 (less than 1 second per iteration)
Threads : 1
Objective Residual
Iter Primal Dual Primal Dual Compl Time
0 7.31115899e+03 -6.58185289e+06 7.39e+08 6.89e-02 1.29e+05 0s
1 -8.81698972e+04 -6.07818904e+06 1.13e+08 1.32e-01 6.57e+04 0s
2 -2.19260203e+04 -2.09471141e+06 6.12e+07 2.16e-03 1.05e+04 0s
3 7.02227334e+03 -9.47347050e+05 2.12e+06 1.37e-04 5.67e+02 0s
4 7.10724716e+03 -2.96867148e+05 4.81e+05 6.09e-06 1.18e+02 0s
5 5.36647227e+03 -1.21553648e+05 1.63e+05 1.02e-06 3.91e+01 0s
6 3.43455814e+03 -5.56702928e+04 1.23e+05 3.52e-09 1.84e+01 0s
7 1.01952491e+03 -3.62959705e+04 8.58e+04 6.59e-08 1.14e+01 0s
8 -2.92215119e+03 -2.52200996e+04 3.15e+04 1.45e-07 6.19e+00 0s
9 -3.64222970e+03 -2.40110978e+04 2.72e+04 1.59e-07 5.61e+00 0s
Writing constraints.: 100%|██████████| 26/26 [00:00<00:00, 34.77it/s] Writing continuous variables.: 0%| | 0/12 [00:00<?, ?it/s] Writing constraints.: 46%|████▌ | 12/26 [00:00<00:00, 45.23it/s] Writing continuous variables.: 58%|█████▊ | 7/12 [00:00<00:00, 62.67it/s] Writing constraints.: 65%|██████▌ | 17/26 [00:00<00:00, 40.67it/s] Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 59.98it/s]
10 -4.83460263e+03 -2.11257680e+04 2.10e+04 1.98e-07 4.46e+00 0s
11 -5.50065871e+03 -1.78422273e+04 1.73e+04 2.25e-07 3.41e+00 0s
12 -6.21757571e+03 -1.62470286e+04 1.36e+04 1.98e-07 2.75e+00 0s
13 -6.48014229e+03 -1.48425979e+04 1.19e+04 2.38e-07 2.31e+00 0s
14 -6.95278629e+03 -1.40196771e+04 9.50e+03 2.28e-07 1.94e+00 0s
15 -7.16314828e+03 -1.30691831e+04 7.33e+03 2.29e-07 1.61e+00 0s
16 -7.57650753e+03 -1.13639625e+04 4.59e+03 2.17e-07 1.04e+00 0s
17 -7.87027255e+03 -1.04559684e+04 2.54e+03 2.32e-07 7.05e-01 0s
18 -7.99745414e+03 -8.94859359e+03 1.66e+03 1.47e-07 2.81e-01 0s
19 -8.22330658e+03 -8.39602652e+03 1.97e+02 1.55e-07 6.43e-02 0s
20 -8.23404879e+03 -8.27317202e+03 1.44e+02 1.02e-07 2.47e-02 0s
Set parameter WLSAccessID
Set parameter WLSSecret
Set parameter LicenseID to value 2537914
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
21 -8.26348011e+03 -8.24997315e+03 1.26e+01 6.54e-08 4.98e-03 0s
22 -8.26665984e+03 -8.26382032e+03 1.64e-03 7.81e-09 2.67e-04 0s
23 -8.26685159e+03 -8.26652708e+03 3.79e-07 6.77e-10 2.30e-06 0s
24 -8.26685192e+03 -8.26685190e+03 3.73e-09 5.29e-14 8.18e-11 0s
Barrier solved model in 24 iterations and 0.31 seconds (0.15 work units)
Optimal objective -8.26685192e+03
Crossover log...
4 DPushes remaining with DInf 0.0000000e+00 0s
Writing constraints.: 85%|████████▍ | 22/26 [00:00<00:00, 37.36it/s] Writing constraints.: 0%| | 0/26 [00:00<?, ?it/s] Writing constraints.: 100%|██████████| 26/26 [00:00<00:00, 34.70it/s] Writing constraints.: 100%|██████████| 26/26 [00:00<00:00, 37.90it/s] Writing continuous variables.: 0%| | 0/12 [00:00<?, ?it/s] Writing constraints.: 23%|██▎ | 6/26 [00:00<00:00, 55.33it/s]
0 DPushes remaining with DInf 0.0000000e+00 0s
Read LP format model from file /tmp/linopy-problem-0g5qfa0j.lp
Reading time = 0.10 seconds
obj: 23383 rows, 10720 columns, 44348 nonzeros
Gurobi Optimizer version 13.0.2 build v13.0.2rc1 (linux64 - "Ubuntu 24.04.5 LTS")
CPU model: AMD EPYC 7763 64-Core Processor, instruction set [SSE2|AVX|AVX2]
Thread count: 2 physical cores, 4 logical processors, using up to 4 threads
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Optimize a model with 23383 rows, 10720 columns and 44348 nonzeros (Min)
Model fingerprint: 0xa7e31f14
Model has 2 linear objective coefficients
Coefficient statistics:
Matrix range [1e-03, 2e+05]
Objective range [6e-01, 8e-01]
Bounds range [0e+00, 0e+00]
RHS range [5e+03, 8e+09]
Warning: Model contains large rhs
Consider reformulating model or setting NumericFocus parameter
to avoid numerical issues.
1667 PPushes remaining with PInf 0.0000000e+00 0s
Presolve removed 13136 rows and 2416 columns
Presolve time: 0.09s
Presolved: 10247 rows, 8304 columns, 29770 nonzeros
Concurrent LP optimizer: dual simplex and barrier
Showing barrier log only...
0 PPushes remaining with PInf 0.0000000e+00 0s
Push phase complete: Pinf 0.0000000e+00, Dinf 2.2759572e-15 0s
Crossover time: 0.18 seconds (0.06 work units)
Ordering time: 0.02s
Solved with barrier
Barrier statistics:
Dense cols : 6
AA' NZ : 2.537e+04
Factor NZ : 1.718e+05 (roughly 9 MB of memory)
Factor Ops : 2.974e+06 (less than 1 second per iteration)
Threads : 1
Objective Residual
Iter Primal Dual Primal Dual Compl Time
Iteration Objective Primal Inf. Dual Inf. Time
1674 -8.2668519e+03 0.000000e+00 0.000000e+00 1s
Solved in 1674 iterations and 0.51 seconds (0.22 work units)
Optimal objective -8.266851916e+03
0 4.41647335e+04 -8.49418387e+06 7.35e+08 0.00e+00 8.29e+04 0s
1 3.11988469e+05 -7.93323068e+06 1.13e+08 6.91e-02 4.26e+04 0s
2 3.73240939e+05 -2.41280451e+06 5.53e+07 1.52e-03 5.79e+03 0s
3 5.36593235e+04 -1.09244254e+06 3.04e+06 9.20e-05 4.27e+02 0s
4 4.16066313e+04 -3.55852472e+05 3.99e+05 1.48e-06 7.20e+01 0s
5 4.08233825e+04 -1.45605011e+05 1.54e+05 2.26e-07 2.77e+01 0s
6 4.00998994e+04 -5.89905519e+03 5.97e+04 8.97e-17 6.43e+00 0s
7 3.74916308e+04 1.20448555e+04 1.61e+04 5.74e-17 3.22e+00 0s
8 3.60605524e+04 2.49127099e+04 7.43e+03 3.24e-17 1.39e+00 0s
9 3.48782352e+04 2.90745693e+04 3.46e+03 2.35e-08 7.15e-01 0s
10 3.42297564e+04 3.09854056e+04 1.39e+03 4.53e-08 3.96e-01 0s
11 3.39053831e+04 3.24180989e+04 5.73e+02 4.22e-08 1.83e-01 0s
Set parameter WLSAccessID
12 3.37558440e+04 3.26459927e+04 2.33e+02 4.76e-08 1.36e-01 0s
Set parameter WLSSecret
Set parameter LicenseID to value 2537914
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
13 3.36879229e+04 3.31272989e+04 1.36e+02 5.74e-08 7.03e-02 0s
14 3.36149030e+04 3.32987170e+04 5.46e+01 8.04e-08 4.18e-02 0s
15 3.35897148e+04 3.34081889e+04 2.33e+01 7.66e-08 2.52e-02 0s
16 3.35751239e+04 3.34768187e+04 5.89e+00 5.46e-08 1.42e-02 0s
17 3.35658851e+04 3.35159325e+04 8.70e-01 4.32e-08 7.91e-03 0s
18 3.35628497e+04 3.35389525e+04 1.72e-02 3.03e-08 4.12e-03 0s
19 3.35622009e+04 3.35466334e+04 2.01e-05 2.69e-08 2.86e-03 0s
20 3.35618869e+04 3.35501214e+04 1.08e-05 2.66e-08 2.32e-03 0s
21 3.35614472e+04 3.35627569e+04 3.85e-06 1.85e-08 2.12e-04 0s
Read LP format model from file /tmp/linopy-problem-m5plzs3d.lp
Reading time = 0.08 seconds
obj: 23383 rows, 10720 columns, 44348 nonzeros
Gurobi Optimizer version 13.0.2 build v13.0.2rc1 (linux64 - "Ubuntu 24.04.5 LTS")
CPU model: AMD EPYC 7763 64-Core Processor, instruction set [SSE2|AVX|AVX2]
Thread count: 2 physical cores, 4 logical processors, using up to 4 threads
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Optimize a model with 23383 rows, 10720 columns and 44348 nonzeros (Min)
Model fingerprint: 0x7ba4c6d2
Model has 2 linear objective coefficients
Coefficient statistics:
Matrix range [1e-03, 2e+05]
Objective range [3e-01, 1e+00]
Bounds range [0e+00, 0e+00]
RHS range [5e+03, 8e+09]
Warning: Model contains large rhs
Consider reformulating model or setting NumericFocus parameter
to avoid numerical issues.
22 3.35612665e+04 3.35624606e+04 2.64e-08 1.50e-08 1.56e-04 0s
23 3.35612137e+04 3.35611619e+04 3.20e-09 3.80e-10 9.00e-06 0s
24 3.35611922e+04 3.35611924e+04 2.79e-09 1.40e-11 4.59e-08 0s
25 3.35611922e+04 3.35611922e+04 1.35e-08 1.52e-13 4.59e-11 0s
Barrier solved model in 25 iterations and 0.40 seconds (0.16 work units)
Optimal objective 3.35611922e+04
Crossover log...
Presolve removed 13136 rows and 2416 columns
Presolve time: 0.04s
Presolved: 10247 rows, 8304 columns, 29770 nonzeros
Concurrent LP optimizer: dual simplex and barrier
Showing barrier log only...
Writing continuous variables.: 83%|████████▎ | 10/12 [00:00<00:00, 92.63it/s] Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 92.95it/s] Writing constraints.: 46%|████▌ | 12/26 [00:00<00:00, 54.13it/s] Writing constraints.: 73%|███████▎ | 19/26 [00:00<00:00, 60.65it/s]
15 DPushes remaining with DInf 0.0000000e+00 0s
0 DPushes remaining with DInf 0.0000000e+00 0s
660 PPushes remaining with PInf 0.0000000e+00 0s
Ordering time: 0.02s
Barrier statistics:
Dense cols : 6
AA' NZ : 2.537e+04
Factor NZ : 1.718e+05 (roughly 9 MB of memory)
Factor Ops : 2.974e+06 (less than 1 second per iteration)
Threads : 1
0 PPushes remaining with PInf 0.0000000e+00 0s
Push phase complete: Pinf 0.0000000e+00, Dinf 2.9446931e-16 0s
Crossover time: 0.06 seconds (0.02 work units)
Solved with barrier
Objective Residual
Iter Primal Dual Primal Dual Compl Time
0 4.89704107e+04 -4.24709194e+06 7.30e+08 0.00e+00 8.24e+04 0s
Iteration Objective Primal Inf. Dual Inf. Time
678 3.3561192e+04 0.000000e+00 0.000000e+00 0s
Solved in 678 iterations and 0.48 seconds (0.19 work units)
Optimal objective 3.356119221e+04
1 1.88590599e+05 -3.97915003e+06 1.12e+08 6.90e-02 4.24e+04 0s
2 3.67161739e+05 -1.16944020e+06 5.56e+07 1.90e-03 4.86e+03 0s
3 5.04385999e+04 -4.63122848e+05 4.13e+06 1.92e-04 4.54e+02 0s
Writing constraints.: 100%|██████████| 26/26 [00:00<00:00, 53.50it/s] Writing constraints.: 100%|██████████| 26/26 [00:00<00:00, 54.72it/s] Writing continuous variables.: 0%| | 0/12 [00:00<?, ?it/s]
4 3.32429287e+04 -1.46824498e+05 4.24e+05 6.28e-06 6.78e+01 0s 5 3.11444649e+04 -6.50952908e+04 2.23e+05 1.92e-06 3.16e+01 0s 6 2.96253759e+04 -9.89235164e+03 1.61e+05 1.94e-16 1.35e+01 0s 7 2.67493145e+04 -1.39245145e+02 8.94e+04 6.21e-17 8.41e+00 0s
Writing continuous variables.: 92%|█████████▏| 11/12 [00:00<00:00, 106.38it/s] Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 100.50it/s]
8 2.49430446e+04 5.84472529e+03 6.24e+04 2.22e-16 5.81e+00 0s 9 2.30890789e+04 1.13059319e+04 3.83e+04 4.27e-17 3.51e+00 0s 10 2.19905474e+04 1.34475367e+04 2.38e+04 5.55e-17 2.46e+00 0s Set parameter WLSAccessID Set parameter WLSSecret Set parameter LicenseID to value 2537914 Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de 11 2.12267080e+04 1.41249369e+04 1.34e+04 8.33e-17 1.93e+00 0s 12 2.12370730e+04 1.58172899e+04 1.13e+04 2.28e-17 1.49e+00 0s 13 2.07088916e+04 1.83312603e+04 1.52e+03 3.02e-17 5.98e-01 0s 14 2.05588755e+04 1.93710718e+04 6.96e+02 3.28e-17 2.98e-01 0s
Read LP format model from file /tmp/linopy-problem-6f2vlymf.lp
Reading time = 0.10 seconds
obj: 23383 rows, 10720 columns, 44348 nonzeros
Gurobi Optimizer version 13.0.2 build v13.0.2rc1 (linux64 - "Ubuntu 24.04.5 LTS")
CPU model: AMD EPYC 7763 64-Core Processor, instruction set [SSE2|AVX|AVX2]
Thread count: 2 physical cores, 4 logical processors, using up to 4 threads
15 2.04642610e+04 2.01105820e+04 2.67e+02 1.97e-09 8.90e-02 0s
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Optimize a model with 23383 rows, 10720 columns and 44348 nonzeros (Min)
Model fingerprint: 0xe22d178f
Model has 1 linear objective coefficients
Coefficient statistics:
Matrix range [1e-03, 2e+05]
Objective range [2e-16, 1e+00]
Bounds range [0e+00, 0e+00]
RHS range [5e+03, 8e+09]
Warning: Model contains large rhs
Consider reformulating model or setting NumericFocus parameter
to avoid numerical issues.
16 2.04364639e+04 2.02729668e+04 1.39e+02 2.81e-10 4.14e-02 0s
17 2.04087874e+04 2.03751960e+04 1.35e+01 7.64e-10 8.29e-03 0s
18 2.04053877e+04 2.03991797e+04 2.87e+00 5.07e-10 1.56e-03 0s
Presolve removed 13136 rows and 2416 columns
Presolve time: 0.09s
Presolved: 10247 rows, 8304 columns, 29770 nonzeros
Concurrent LP optimizer: dual simplex and barrier
Showing barrier log only...
19 2.04045860e+04 2.04043888e+04 8.72e-01 3.08e-09 1.99e-04 0s
20 2.04042383e+04 2.04042731e+04 2.24e-02 2.71e-10 3.75e-06 1s
21 2.04042286e+04 2.04042294e+04 2.13e-08 5.13e-12 4.05e-09 1s
Barrier solved model in 21 iterations and 0.52 seconds (0.14 work units)
Optimal objective 2.04042286e+04
Crossover log...
Ordering time: 0.03s
Barrier statistics:
Dense cols : 6
AA' NZ : 2.537e+04
Factor NZ : 1.718e+05 (roughly 9 MB of memory)
Factor Ops : 2.974e+06 (less than 1 second per iteration)
Threads : 1
20 DPushes remaining with DInf 0.0000000e+00 1s
0 DPushes remaining with DInf 0.0000000e+00 1s
2029 PPushes remaining with PInf 0.0000000e+00 1s
Objective Residual
Iter Primal Dual Primal Dual Compl Time
0 4.09552971e+04 -6.63608115e+04 6.82e+08 0.00e+00 7.76e+04 0s
1 8.08147680e+03 -6.26221091e+04 1.04e+08 8.95e-02 4.03e+04 0s 2 4.03287356e+03 -1.94376489e+04 5.14e+07 2.43e-03 6.79e+03 0s
3 3.71759056e+02 -9.22883196e+03 4.58e+06 2.50e-04 7.08e+02 0s 4 6.60640208e+01 -3.76873133e+03 7.21e+05 2.63e-05 1.34e+02 0s 5 3.78361375e+01 -1.91163517e+03 4.09e+05 8.50e-06 6.62e+01 0s 6 2.51489876e+01 -1.49294848e+03 2.70e+05 6.31e-06 4.65e+01 0s 7 2.03776807e+01 -9.25402898e+02 2.13e+05 4.56e-06 3.61e+01 0s 8 1.64131214e+01 -3.15513023e+02 1.67e+05 2.66e-06 2.49e+01 0s
9 1.48426409e+01 -4.43663044e+01 1.44e+05 2.20e-06 2.09e+01 0s 10 1.44835929e+01 2.01853097e+02 1.32e+05 1.94e-06 1.89e+01 0s
11 1.51691974e+01 1.14613855e+03 1.22e+05 1.51e-06 1.86e+01 0s 12 1.98135549e+01 1.90707201e+03 1.16e+05 1.35e-06 1.77e+01 1s 13 2.94653776e+01 3.52107568e+03 1.07e+05 1.19e-06 1.52e+01 1s 14 4.38412526e+02 3.96644463e+03 1.05e+05 1.01e-06 1.98e+01 1s 15 1.08162280e+03 3.68501773e+03 1.00e+05 9.10e-07 2.54e+01 1s 16 1.30959167e+03 4.10952537e+03 9.30e+04 8.51e-07 2.35e+01 1s
17 2.36405437e+03 5.48208197e+03 7.97e+04 5.83e-07 2.46e+01 1s 18 3.48332488e+03 6.14595542e+03 5.94e+04 1.19e-13 1.82e+01 1s
Writing constraints.: 0%| | 0/26 [00:00<?, ?it/s] Writing constraints.: 27%|██▋ | 7/26 [00:00<00:00, 57.29it/s]
19 4.35905708e+03 6.30933938e+03 4.34e+04 9.06e-14 1.41e+01 1s
20 4.53087729e+03 6.35041001e+03 4.04e+04 9.06e-14 1.34e+01 1s
0 PPushes remaining with PInf 0.0000000e+00 1s
Push phase complete: Pinf 0.0000000e+00, Dinf 9.7751668e-16 1s
21 5.02709943e+03 6.49183987e+03 3.18e+04 6.93e-14 1.06e+01 1s
Crossover time: 0.65 seconds (0.17 work units)
Solved with barrier
22 5.52217798e+03 6.78923234e+03 2.36e+04 4.83e-14 5.91e+00 1s
Iteration Objective Primal Inf. Dual Inf. Time
2052 2.0404229e+04 0.000000e+00 0.000000e+00 1s
Solved in 2052 iterations and 1.23 seconds (0.31 work units)
Optimal objective 2.040422855e+04
23 5.71700837e+03 6.80517806e+03 2.04e+04 3.91e-14 5.27e+00 1s
24 6.06958062e+03 6.83756288e+03 1.45e+04 1.42e-08 3.94e+00 1s 25 6.14158638e+03 6.84914887e+03 1.33e+04 1.76e-08 3.61e+00 1s
Writing constraints.: 58%|█████▊ | 15/26 [00:00<00:00, 68.29it/s] Writing constraints.: 100%|██████████| 26/26 [00:00<00:00, 86.25it/s] Writing continuous variables.: 0%| | 0/12 [00:00<?, ?it/s] Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 313.43it/s] Writing constraints.: 0%| | 0/26 [00:00<?, ?it/s]
26 6.33600962e+03 6.86672455e+03 1.02e+04 2.25e-08 2.89e+00 1s
27 6.43543764e+03 6.92395340e+03 8.52e+03 3.21e-08 1.83e+00 1s
Set parameter WLSAccessID
Set parameter WLSSecret
Set parameter LicenseID to value 2537914
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
28 6.44378151e+03 6.93414642e+03 8.38e+03 2.49e-08 1.75e+00 1s
29 6.45378364e+03 6.93568470e+03 8.22e+03 2.33e-08 1.71e+00 1s
Read LP format model from file /tmp/linopy-problem-cr4srxqn.lp
Reading time = 0.06 seconds
obj: 23383 rows, 10720 columns, 44348 nonzeros
Gurobi Optimizer version 13.0.2 build v13.0.2rc1 (linux64 - "Ubuntu 24.04.5 LTS")
CPU model: AMD EPYC 7763 64-Core Processor, instruction set [SSE2|AVX|AVX2]
Thread count: 2 physical cores, 4 logical processors, using up to 4 threads
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Optimize a model with 23383 rows, 10720 columns and 44348 nonzeros (Min)
Model fingerprint: 0x6d0443a6
Model has 2 linear objective coefficients
Coefficient statistics:
Matrix range [1e-03, 2e+05]
Objective range [3e-01, 1e+00]
Bounds range [0e+00, 0e+00]
RHS range [5e+03, 8e+09]
Warning: Model contains large rhs
Consider reformulating model or setting NumericFocus parameter
to avoid numerical issues.
30 6.49671639e+03 6.93984188e+03 7.53e+03 1.85e-08 1.59e+00 1s
31 6.62714680e+03 6.95294697e+03 5.46e+03 5.20e-13 1.12e+00 1s
Presolve removed 13136 rows and 2416 columns
Presolve time: 0.04s
Presolved: 10247 rows, 8304 columns, 29770 nonzeros
Concurrent LP optimizer: dual simplex and barrier
Showing barrier log only...
32 6.64412046e+03 6.95802200e+03 5.18e+03 4.65e-13 1.02e+00 1s
Ordering time: 0.01s
Barrier statistics:
Dense cols : 6
AA' NZ : 2.537e+04
Factor NZ : 1.718e+05 (roughly 9 MB of memory)
Factor Ops : 2.974e+06 (less than 1 second per iteration)
Threads : 1
33 6.67795500e+03 6.96358494e+03 4.65e+03 4.41e-10 9.23e-01 1s
Objective Residual
Iter Primal Dual Primal Dual Compl Time
34 6.80364721e+03 6.96393232e+03 2.67e+03 6.81e-10 5.89e-01 1s
0 3.47334170e+04 -4.24709194e+06 7.32e+08 0.00e+00 8.27e+04 0s
1 2.26896486e+05 -3.95081713e+06 1.13e+08 7.28e-02 4.21e+04 0s
35 6.84710329e+03 6.97032206e+03 1.99e+03 5.76e-09 3.89e-01 1s
Writing constraints.: 0%| | 0/26 [00:00<?, ?it/s] Writing constraints.: 15%|█▌ | 4/26 [00:00<00:00, 39.55it/s] Writing constraints.: 35%|███▍ | 9/26 [00:00<00:00, 43.14it/s] Writing constraints.: 15%|█▌ | 4/26 [00:00<00:00, 27.47it/s]
2 2.87315622e+05 -1.18108289e+06 5.39e+07 1.41e-03 5.55e+03 0s
36 6.90432644e+03 6.97303726e+03 1.09e+03 4.30e-09 1.96e-01 1s
37 6.96588785e+03 6.97407461e+03 1.39e+02 2.08e-09 3.39e-02 1s
3 4.32930380e+04 -5.19370664e+05 2.66e+06 8.47e-05 3.83e+02 0s
38 6.97481959e+03 6.97481605e+03 6.22e-03 6.55e-10 5.07e-05 1s
4 3.46020679e+04 -1.50499436e+05 3.74e+05 2.89e-06 6.60e+01 0s
39 6.97481924e+03 6.97481924e+03 5.89e-07 4.65e-13 5.07e-08 1s
40 6.97481924e+03 6.97481924e+03 2.28e-08 1.77e-13 5.05e-11 1s
Barrier solved model in 40 iterations and 1.22 seconds (0.23 work units)
Optimal objective 6.97481924e+03
5 3.38617768e+04 -5.27485827e+04 1.32e+05 8.19e-07 2.52e+01 0s
Crossover log...
6 3.27416776e+04 8.89224082e+03 6.48e+04 9.70e-17 6.72e+00 0s
7 3.07655889e+04 1.52267628e+04 1.90e+04 2.17e-07 4.00e+00 0s
20 DPushes remaining with DInf 0.0000000e+00 1s
0 DPushes remaining with DInf 0.0000000e+00 1s
1284 PPushes remaining with PInf 0.0000000e+00 1s
8 2.99706663e+04 2.08072505e+04 1.19e+04 4.85e-07 2.36e+00 0s 9 2.92724198e+04 2.44302917e+04 7.36e+03 6.13e-07 1.28e+00 0s 10 2.87512463e+04 2.47674649e+04 4.17e+03 7.01e-07 1.07e+00 0s 11 2.84002726e+04 2.57308864e+04 2.76e+03 6.66e-07 7.45e-01 0s
0 PPushes remaining with PInf 0.0000000e+00 1s
Push phase complete: Pinf 0.0000000e+00, Dinf 1.2986834e-13 1s
12 2.82755250e+04 2.63980461e+04 2.21e+03 5.59e-07 5.38e-01 0s
Crossover time: 0.14 seconds (0.05 work units)
Solved with barrier
13 2.79907349e+04 2.66948789e+04 9.56e+02 5.03e-07 3.88e-01 0s
Iteration Objective Primal Inf. Dual Inf. Time
1307 6.9748192e+03 0.000000e+00 0.000000e+00 1s
Solved in 1307 iterations and 1.39 seconds (0.28 work units)
Optimal objective 6.974819239e+03
14 2.78916085e+04 2.72934224e+04 6.02e+02 3.36e-07 1.95e-01 0s
15 2.77971497e+04 2.74590879e+04 3.06e+02 2.83e-07 1.24e-01 0s
16 2.77327634e+04 2.76485135e+04 1.03e+02 1.62e-07 4.47e-02 0s
Warning: environment still referenced so free is deferred (Continue to use WLS)
17 2.77021713e+04 2.77020614e+04 2.46e+01 7.26e-08 1.09e-02 0s
18 2.76937585e+04 2.77144414e+04 6.97e+00 5.78e-08 3.39e-03 0s
Writing constraints.: 58%|█████▊ | 15/26 [00:00<00:00, 50.16it/s] Writing constraints.: 27%|██▋ | 7/26 [00:00<00:00, 20.91it/s] Writing constraints.: 81%|████████ | 21/26 [00:00<00:00, 53.67it/s] Writing constraints.: 38%|███▊ | 10/26 [00:00<00:00, 23.61it/s] Writing constraints.: 100%|██████████| 26/26 [00:00<00:00, 50.98it/s] Writing continuous variables.: 0%| | 0/12 [00:00<?, ?it/s]
19 2.76933058e+04 2.77116147e+04 5.80e+00 4.94e-08 2.73e-03 0s 20 2.76917086e+04 2.77102637e+04 2.81e+00 4.20e-08 1.54e-03 0s 21 2.76911027e+04 2.77123238e+04 1.69e+00 4.53e-08 1.35e-03 1s
22 2.76905068e+04 2.77041397e+04 1.99e-01 2.84e-08 7.58e-04 1s
Warning: environment still referenced so free is deferred (Continue to use WLS)
23 2.76903544e+04 2.76915423e+04 5.24e-02 2.34e-09 3.33e-05 1s
24 2.76902988e+04 2.76907553e+04 5.86e-05 9.32e-10 1.27e-06 1s
25 2.76902982e+04 2.76902984e+04 6.55e-08 1.09e-12 3.31e-10 1s
Barrier solved model in 25 iterations and 0.58 seconds (0.16 work units)
Optimal objective 2.76902982e+04
Crossover log...
3 DPushes remaining with DInf 0.0000000e+00 1s
0 DPushes remaining with DInf 0.0000000e+00 1s
731 PPushes remaining with PInf 0.0000000e+00 1s
Set parameter WLSAccessID
Set parameter WLSSecret
Set parameter LicenseID to value 2537914
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
0 PPushes remaining with PInf 0.0000000e+00 1s
Push phase complete: Pinf 0.0000000e+00, Dinf 5.9067334e-16 1s
Crossover time: 0.12 seconds (0.02 work units)
Solved with barrier
Iteration Objective Primal Inf. Dual Inf. Time
737 2.7690298e+04 0.000000e+00 0.000000e+00 1s
Solved in 737 iterations and 0.72 seconds (0.18 work units)
Optimal objective 2.769029817e+04
Writing constraints.: 58%|█████▊ | 15/26 [00:00<00:00, 31.93it/s] Writing continuous variables.: 92%|█████████▏| 11/12 [00:00<00:00, 98.96it/s] Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 93.13it/s] Writing constraints.: 73%|███████▎ | 19/26 [00:00<00:00, 32.41it/s]
Read LP format model from file /tmp/linopy-problem-6hjhrk68.lp
Reading time = 0.10 seconds
obj: 23383 rows, 10720 columns, 44348 nonzeros
Gurobi Optimizer version 13.0.2 build v13.0.2rc1 (linux64 - "Ubuntu 24.04.5 LTS")
CPU model: AMD EPYC 7763 64-Core Processor, instruction set [SSE2|AVX|AVX2]
Thread count: 2 physical cores, 4 logical processors, using up to 4 threads
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Optimize a model with 23383 rows, 10720 columns and 44348 nonzeros (Min)
Model fingerprint: 0x2215f353
Model has 2 linear objective coefficients
Coefficient statistics:
Matrix range [1e-03, 2e+05]
Objective range [6e-01, 8e-01]
Bounds range [0e+00, 0e+00]
RHS range [5e+03, 8e+09]
Warning: Model contains large rhs
Consider reformulating model or setting NumericFocus parameter
to avoid numerical issues.
Presolve removed 13136 rows and 2416 columns
Presolve time: 0.06s
Presolved: 10247 rows, 8304 columns, 29770 nonzeros
Concurrent LP optimizer: dual simplex and barrier
Showing barrier log only...
Ordering time: 0.01s
Barrier statistics:
Dense cols : 6
AA' NZ : 2.537e+04
Factor NZ : 1.718e+05 (roughly 9 MB of memory)
Factor Ops : 2.974e+06 (less than 1 second per iteration)
Threads : 1
Objective Residual
Iter Primal Dual Primal Dual Compl Time
0 4.91135483e+04 -8.49418387e+06 7.34e+08 0.00e+00 8.29e+04 0s
1 3.42675403e+05 -7.93951575e+06 1.13e+08 7.04e-02 4.26e+04 0s 2 3.91914619e+05 -2.40941038e+06 5.54e+07 1.55e-03 5.80e+03 0s 3 5.56753301e+04 -1.09882242e+06 3.17e+06 9.99e-05 4.41e+02 0s 4 4.24489019e+04 -3.89741288e+05 4.32e+05 1.04e-07 7.96e+01 0s 5 4.11859706e+04 -1.41696568e+05 2.06e+05 2.37e-16 2.89e+01 0s
Writing constraints.: 88%|████████▊ | 23/26 [00:00<00:00, 29.48it/s] Writing constraints.: 100%|██████████| 26/26 [00:00<00:00, 28.65it/s] Writing continuous variables.: 0%| | 0/12 [00:00<?, ?it/s]
6 4.00673461e+04 -7.49846913e+03 1.24e+05 9.52e-17 7.55e+00 0s 7 3.60024979e+04 1.53373320e+04 3.77e+04 4.53e-17 2.82e+00 0s 8 3.32363023e+04 2.29805502e+04 1.75e+04 1.94e-17 1.35e+00 0s 9 3.22450732e+04 2.48173769e+04 1.08e+04 1.46e-09 9.59e-01 0s 10 3.15266029e+04 2.73748708e+04 6.60e+03 1.02e-08 5.36e-01 0s 11 3.07880761e+04 2.80923383e+04 2.74e+03 2.55e-08 3.41e-01 0s 12 3.06570506e+04 2.89575071e+04 1.95e+03 6.04e-08 2.17e-01 0s 13 3.04122406e+04 2.99433925e+04 6.62e+02 8.14e-08 6.18e-02 0s
14 3.03068565e+04 3.01438145e+04 2.84e+02 7.52e-08 2.34e-02 0s 15 3.02499939e+04 3.02057097e+04 9.84e+01 3.69e-08 7.01e-03 0s 16 3.02358454e+04 3.02125944e+04 5.16e+01 2.16e-08 3.75e-03 0s 17 3.02218535e+04 3.02164522e+04 1.02e+01 1.32e-08 1.13e-03 0s 18 3.02182430e+04 3.02183976e+04 1.90e-06 2.06e-09 4.44e-05 0s Set parameter WLSAccessID
Writing continuous variables.: 67%|██████▋ | 8/12 [00:00<00:00, 67.30it/s] Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 66.61it/s]
Set parameter WLSSecret
Set parameter LicenseID to value 2537914
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
19 3.02180902e+04 3.02180875e+04 3.34e-08 5.98e-12 3.59e-07 0s
20 3.02180891e+04 3.02180891e+04 2.47e-08 8.19e-14 5.57e-10 0s
Barrier solved model in 20 iterations and 0.44 seconds (0.13 work units)
Optimal objective 3.02180891e+04
Crossover log...
21 DPushes remaining with DInf 0.0000000e+00 0s
0 DPushes remaining with DInf 0.0000000e+00 1s
904 PPushes remaining with PInf 0.0000000e+00 1s
0 PPushes remaining with PInf 0.0000000e+00 1s
Push phase complete: Pinf 0.0000000e+00, Dinf 3.5908776e-16 1s
Read LP format model from file /tmp/linopy-problem-oep6cwpf.lp
Reading time = 0.13 seconds
obj: 23383 rows, 10720 columns, 44348 nonzeros
Gurobi Optimizer version 13.0.2 build v13.0.2rc1 (linux64 - "Ubuntu 24.04.5 LTS")
CPU model: AMD EPYC 7763 64-Core Processor, instruction set [SSE2|AVX|AVX2]
Thread count: 2 physical cores, 4 logical processors, using up to 4 threads
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Optimize a model with 23383 rows, 10720 columns and 44348 nonzeros (Min)
Model fingerprint: 0x2d6bdc9e
Model has 1 linear objective coefficients
Coefficient statistics:
Matrix range [1e-03, 2e+05]
Objective range [1e-16, 1e+00]
Bounds range [0e+00, 0e+00]
RHS range [5e+03, 8e+09]
Warning: Model contains large rhs
Consider reformulating model or setting NumericFocus parameter
to avoid numerical issues.
Crossover time: 0.12 seconds (0.03 work units)
Solved with barrier
Iteration Objective Primal Inf. Dual Inf. Time
928 3.0218089e+04 0.000000e+00 0.000000e+00 1s
Solved in 928 iterations and 0.59 seconds (0.17 work units)
Optimal objective 3.021808906e+04
Presolve removed 13136 rows and 2416 columns
Presolve time: 0.06s
Presolved: 10247 rows, 8304 columns, 29770 nonzeros
Concurrent LP optimizer: dual simplex and barrier
Showing barrier log only...
Ordering time: 0.02s
Barrier statistics:
Dense cols : 6
AA' NZ : 2.537e+04
Factor NZ : 1.718e+05 (roughly 9 MB of memory)
Factor Ops : 2.974e+06 (less than 1 second per iteration)
Threads : 1
Objective Residual
Iter Primal Dual Primal Dual Compl Time
0 2.01861603e+04 -3.31804057e+04 6.79e+08 3.91e-15 7.73e+04 0s
1 4.01320009e+03 -2.90512750e+04 1.08e+08 8.52e-02 3.66e+04 0s
Warning: environment still referenced so free is deferred (Continue to use WLS)
2 1.80256942e+03 -7.74107238e+03 4.88e+07 6.59e-03 5.98e+03 0s
3 2.01736406e+02 -3.61988062e+03 5.37e+06 2.27e-04 6.73e+02 0s 4 7.67929559e+01 -1.44590035e+03 1.82e+06 6.14e-05 2.35e+02 0s 5 4.30979859e+01 -5.53785662e+02 1.01e+06 2.12e-05 1.26e+02 0s 6 3.21905160e+01 2.43393150e+02 7.36e+05 7.93e-06 8.68e+01 0s Warning: environment still referenced so free is deferred (Continue to use WLS) 7 2.56649171e+01 6.12137534e+02 5.71e+05 6.08e-06 6.90e+01 0s 8 2.43412579e+01 7.53457638e+02 5.24e+05 5.67e-06 6.30e+01 0s
9 2.34985346e+01 9.14462147e+02 4.99e+05 5.31e-06 6.04e+01 0s 10 2.34244843e+01 1.48354787e+03 4.63e+05 4.44e-06 5.82e+01 0s 11 2.50563114e+01 2.55946743e+03 4.35e+05 3.68e-06 6.06e+01 0s 12 3.29313320e+01 2.98131095e+03 4.16e+05 3.58e-06 5.71e+01 0s
13 4.51948591e+01 3.29753890e+03 4.05e+05 3.52e-06 5.54e+01 0s 14 1.00727194e+02 7.73864843e+03 3.84e+05 3.04e-06 6.33e+01 0s 15 1.08146995e+03 7.91751851e+03 3.42e+05 2.86e-06 5.97e+01 0s 16 1.24312848e+03 8.00882665e+03 3.35e+05 2.70e-06 5.81e+01 1s
17 2.00049260e+03 8.41853140e+03 3.04e+05 1.81e-06 5.10e+01 1s Warning: environment still referenced so free is deferred (Continue to use WLS) 18 2.55294249e+03 8.71708710e+03 2.80e+05 1.15e-06 4.49e+01 1s 19 2.68505461e+03 1.01851760e+04 2.74e+05 1.13e-06 4.37e+01 1s
20 2.84347361e+03 1.03670427e+04 2.69e+05 1.06e-06 4.26e+01 1s
21 2.94017131e+03 1.04988498e+04 2.66e+05 9.40e-07 4.16e+01 1s 22 3.31138167e+03 1.04185564e+04 2.54e+05 6.96e-07 3.97e+01 1s 23 3.55219627e+03 1.05135720e+04 2.45e+05 6.39e-07 3.84e+01 1s
24 3.97500866e+03 1.05944627e+04 2.32e+05 5.70e-07 3.65e+01 1s 25 4.10449178e+03 1.06376944e+04 2.27e+05 5.33e-07 3.54e+01 1s 26 4.34463238e+03 1.06196892e+04 2.20e+05 4.86e-07 3.45e+01 1s 27 5.09020399e+03 1.09209991e+04 1.96e+05 3.57e-07 2.94e+01 1s 28 5.77332159e+03 1.09865817e+04 1.74e+05 3.09e-07 2.62e+01 1s 29 5.92127462e+03 1.10048208e+04 1.70e+05 3.29e-07 2.54e+01 1s 30 6.19265391e+03 1.11103947e+04 1.61e+05 5.67e-07 2.24e+01 1s 31 6.83397854e+03 1.11474578e+04 1.41e+05 6.32e-07 1.99e+01 1s
32 7.07455583e+03 1.12211725e+04 1.34e+05 6.96e-07 1.83e+01 1s 33 7.20868160e+03 1.13202855e+04 1.29e+05 6.91e-07 1.76e+01 1s
34 7.56094725e+03 1.13548531e+04 1.19e+05 7.17e-07 1.63e+01 1s
35 7.80260197e+03 1.14312592e+04 1.12e+05 7.25e-07 1.59e+01 1s 36 8.16741060e+03 1.14822035e+04 1.01e+05 7.31e-07 1.48e+01 1s
37 8.34683789e+03 1.15262545e+04 9.63e+04 7.48e-07 1.37e+01 1s 38 8.75404172e+03 1.15482669e+04 8.46e+04 7.58e-07 1.21e+01 1s 39 9.07138614e+03 1.15843740e+04 7.55e+04 7.63e-07 1.05e+01 1s 40 9.14099004e+03 1.16015509e+04 7.35e+04 7.56e-07 9.93e+00 1s 41 9.24615044e+03 1.16151981e+04 7.06e+04 7.48e-07 9.44e+00 1s 42 9.31761159e+03 1.16306190e+04 6.85e+04 7.37e-07 9.03e+00 1s
43 9.45801843e+03 1.16614660e+04 6.46e+04 7.20e-07 8.30e+00 1s
44 9.67509349e+03 1.16947119e+04 5.86e+04 6.98e-07 7.46e+00 1s Warning: environment still referenced so free is deferred (Continue to use WLS)
45 9.88630581e+03 1.17130647e+04 5.27e+04 6.75e-07 6.78e+00 1s 46 1.01947176e+04 1.17585807e+04 4.44e+04 6.34e-07 5.57e+00 1s
47 1.03939719e+04 1.17774765e+04 3.89e+04 5.97e-07 4.84e+00 1s 48 1.06668011e+04 1.17853134e+04 3.17e+04 5.82e-07 4.26e+00 1s 49 1.07733298e+04 1.18053327e+04 2.89e+04 5.19e-07 3.64e+00 1s 50 1.07953993e+04 1.18122728e+04 2.83e+04 5.00e-07 3.49e+00 1s 51 1.08352501e+04 1.18358355e+04 2.72e+04 4.55e-07 3.20e+00 1s
52 1.08446603e+04 1.18463734e+04 2.70e+04 4.42e-07 3.15e+00 1s
53 1.09644991e+04 1.18729671e+04 2.38e+04 4.28e-07 2.73e+00 1s 54 1.10583052e+04 1.18709128e+04 2.15e+04 4.18e-07 2.53e+00 1s
55 1.11369136e+04 1.18735895e+04 1.95e+04 4.11e-07 2.44e+00 1s
56 1.12598441e+04 1.18896607e+04 1.64e+04 3.43e-07 1.88e+00 1s 57 1.12878505e+04 1.19098114e+04 1.57e+04 2.86e-07 1.62e+00 1s 58 1.12999164e+04 1.19188480e+04 1.54e+04 2.72e-07 1.58e+00 1s 59 1.13196163e+04 1.19264019e+04 1.49e+04 2.03e-07 1.48e+00 1s 60 1.13371491e+04 1.19377837e+04 1.45e+04 1.99e-07 1.43e+00 1s 61 1.13577791e+04 1.19403857e+04 1.40e+04 1.98e-07 1.38e+00 1s
62 1.15491647e+04 1.19434871e+04 9.49e+03 1.81e-07 9.37e-01 2s
63 1.17373432e+04 1.19462898e+04 5.06e+03 1.56e-07 5.37e-01 2s 64 1.17443476e+04 1.19465128e+04 4.89e+03 1.54e-07 5.21e-01 2s 65 1.17602273e+04 1.19469672e+04 4.52e+03 1.47e-07 4.81e-01 2s
66 1.17695698e+04 1.19481491e+04 4.30e+03 1.26e-07 4.31e-01 2s
67 1.18370564e+04 1.19506442e+04 2.70e+03 6.51e-08 2.35e-01 2s
68 1.18535059e+04 1.19506778e+04 2.31e+03 6.38e-08 2.01e-01 2s 69 1.18789928e+04 1.19510552e+04 1.72e+03 5.01e-08 1.50e-01 2s 70 1.18870148e+04 1.19516729e+04 1.53e+03 2.82e-08 1.21e-01 2s 71 1.19330426e+04 1.19519617e+04 4.51e+02 1.72e-08 4.07e-02 2s
72 1.19520144e+04 1.19520993e+04 3.30e+00 3.51e-09 1.47e-03 2s 73 1.19521375e+04 1.19521313e+04 2.89e-04 1.06e-09 5.34e-05 2s
74 1.19521372e+04 1.19521372e+04 9.81e-06 1.10e-12 4.28e-09 2s Barrier solved model in 74 iterations and 1.71 seconds (0.40 work units) Optimal objective 1.19521372e+04
Crossover log...
3 DPushes remaining with DInf 0.0000000e+00 2s
0 DPushes remaining with DInf 0.0000000e+00 2s
1344 PPushes remaining with PInf 0.0000000e+00 2s
0 PPushes remaining with PInf 0.0000000e+00 2s
Push phase complete: Pinf 0.0000000e+00, Dinf 1.5398793e-13 2s Crossover time: 0.23 seconds (0.05 work units) Solved with barrier
Iteration Objective Primal Inf. Dual Inf. Time
1350 1.1952137e+04 0.000000e+00 0.000000e+00 2s
Solved in 1350 iterations and 1.99 seconds (0.45 work units)
Optimal objective 1.195213724e+04
Warning: environment still referenced so free is deferred (Continue to use WLS)
/home/runner/work/PyPSA/PyPSA/pypsa/network/io.py:2085: FutureWarning: pandas infers the `str` dtype for string data since its version 3.0. PyPSA still converts it back to numpy object dtype on import, but will keep it from PyPSA 2.0 on. Set `pypsa.options.api.legacy_string_dtype` explicitly to suppress this warning. new_static = _coerce_string_dtypes(new_static)
/opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/contextlib.py:85: FutureWarning: The default value of `include_objective_constant` will change from True to False in version 2.0. Set `include_objective_constant` explicitly to suppress this warning. Using False improves LP numerical conditioning by not including the objective constant as a variable. return func(*args, **kwds) /home/runner/work/PyPSA/PyPSA/pypsa/network/io.py:2085: FutureWarning: pandas infers the `str` dtype for string data since its version 3.0. PyPSA still converts it back to numpy object dtype on import, but will keep it from PyPSA 2.0 on. Set `pypsa.options.api.legacy_string_dtype` explicitly to suppress this warning. new_static = _coerce_string_dtypes(new_static)
/home/runner/work/PyPSA/PyPSA/pypsa/network/io.py:2085: FutureWarning: pandas infers the `str` dtype for string data since its version 3.0. PyPSA still converts it back to numpy object dtype on import, but will keep it from PyPSA 2.0 on. Set `pypsa.options.api.legacy_string_dtype` explicitly to suppress this warning. new_static = _coerce_string_dtypes(new_static)
/home/runner/work/PyPSA/PyPSA/pypsa/network/io.py:2085: FutureWarning: pandas infers the `str` dtype for string data since its version 3.0. PyPSA still converts it back to numpy object dtype on import, but will keep it from PyPSA 2.0 on. Set `pypsa.options.api.legacy_string_dtype` explicitly to suppress this warning. new_static = _coerce_string_dtypes(new_static)
/opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/contextlib.py:85: FutureWarning: The default value of `include_objective_constant` will change from True to False in version 2.0. Set `include_objective_constant` explicitly to suppress this warning. Using False improves LP numerical conditioning by not including the objective constant as a variable. return func(*args, **kwds) /opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/contextlib.py:85: FutureWarning: The default value of `include_objective_constant` will change from True to False in version 2.0. Set `include_objective_constant` explicitly to suppress this warning. Using False improves LP numerical conditioning by not including the objective constant as a variable. return func(*args, **kwds)
/opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/contextlib.py:85: FutureWarning: The default value of `include_objective_constant` will change from True to False in version 2.0. Set `include_objective_constant` explicitly to suppress this warning. Using False improves LP numerical conditioning by not including the objective constant as a variable. return func(*args, **kwds)
Writing constraints.: 0%| | 0/26 [00:00<?, ?it/s] Writing constraints.: 65%|██████▌ | 17/26 [00:00<00:00, 164.57it/s] Writing constraints.: 100%|██████████| 26/26 [00:00<00:00, 157.74it/s] Writing continuous variables.: 0%| | 0/12 [00:00<?, ?it/s]
Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 298.58it/s]
Set parameter WLSAccessID
Set parameter WLSSecret
Set parameter LicenseID to value 2537914
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Read LP format model from file /tmp/linopy-problem-hlvov0cn.lp
Reading time = 0.05 seconds
obj: 23383 rows, 10720 columns, 44348 nonzeros
Gurobi Optimizer version 13.0.2 build v13.0.2rc1 (linux64 - "Ubuntu 24.04.5 LTS")
CPU model: AMD EPYC 7763 64-Core Processor, instruction set [SSE2|AVX|AVX2]
Thread count: 2 physical cores, 4 logical processors, using up to 4 threads
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Optimize a model with 23383 rows, 10720 columns and 44348 nonzeros (Min)
Model fingerprint: 0xde5ee890
Model has 2 linear objective coefficients
Coefficient statistics:
Matrix range [1e-03, 2e+05]
Objective range [3e-01, 1e+00]
Bounds range [0e+00, 0e+00]
RHS range [5e+03, 8e+09]
Warning: Model contains large rhs
Consider reformulating model or setting NumericFocus parameter
to avoid numerical issues.
Presolve removed 13136 rows and 2416 columns
Presolve time: 0.03s
Presolved: 10247 rows, 8304 columns, 29770 nonzeros
Concurrent LP optimizer: dual simplex and barrier
Showing barrier log only...
Ordering time: 0.01s
Barrier statistics:
Dense cols : 6
AA' NZ : 2.537e+04
Factor NZ : 1.718e+05 (roughly 9 MB of memory)
Factor Ops : 2.974e+06 (less than 1 second per iteration)
Threads : 1
Objective Residual
Iter Primal Dual Primal Dual Compl Time
0 3.58693555e+04 -6.10564897e+06 7.39e+08 3.86e-02 1.20e+05 0s
1 1.21738960e+05 -5.87821878e+06 1.10e+08 1.30e-01 6.43e+04 0s
2 1.47583282e+05 -1.83207613e+06 5.87e+07 2.49e-03 9.56e+03 0s
3 1.93590649e+04 -8.66683725e+05 3.50e+06 1.56e-04 7.35e+02 0s
4 1.36986340e+04 -2.65989767e+05 4.72e+05 1.55e-06 1.11e+02 0s 5 1.11101986e+04 -1.58564864e+05 2.04e+05 1.68e-07 5.42e+01 0s 6 8.62565670e+03 -8.78453350e+04 1.30e+05 3.33e-16 2.94e+01 0s 7 4.41128878e+03 -6.41144107e+04 7.59e+04 1.19e-15 1.96e+01 0s 8 2.71054601e+03 -4.81702960e+04 6.09e+04 1.14e-15 1.45e+01 0s 9 -3.66191699e+02 -4.37715119e+04 4.63e+04 1.30e-15 1.21e+01 0s 10 -1.57130351e+03 -3.51195151e+04 3.47e+04 4.44e-16 9.20e+00 0s 11 -3.86995447e+03 -2.24307412e+04 1.94e+04 4.44e-16 5.03e+00 0s 12 -4.58663108e+03 -2.18499377e+04 1.74e+04 1.29e-16 4.65e+00 0s 13 -4.67571710e+03 -2.13757534e+04 1.55e+04 6.94e-16 4.46e+00 0s 14 -5.46666657e+03 -1.62778514e+04 1.22e+04 7.82e-17 2.93e+00 0s 15 -5.78874314e+03 -1.52475093e+04 9.33e+03 8.49e-17 2.52e+00 0s 16 -5.94520897e+03 -1.50091449e+04 8.66e+03 8.71e-17 2.41e+00 0s 17 -6.11458684e+03 -1.43565628e+04 7.09e+03 6.31e-17 2.16e+00 0s 18 -6.56693922e+03 -1.38287015e+04 4.08e+03 6.48e-17 1.85e+00 0s 19 -7.06584065e+03 -1.16150321e+04 2.59e+03 4.44e-16 1.16e+00 0s 20 -7.65073097e+03 -1.06813586e+04 6.94e+02 5.83e-16 7.47e-01 0s 21 -7.66404845e+03 -9.88592278e+03 6.43e+02 5.27e-16 5.51e-01 0s
Writing constraints.: 0%| | 0/26 [00:00<?, ?it/s] Writing constraints.: 27%|██▋ | 7/26 [00:00<00:00, 56.93it/s]
22 -7.77485849e+03 -8.85011927e+03 3.73e+02 5.27e-16 2.68e-01 0s
23 -7.85932347e+03 -8.27847277e+03 1.54e+02 8.88e-16 1.04e-01 0s
24 -7.87577287e+03 -7.98672215e+03 1.15e+02 1.76e-09 2.92e-02 0s
25 -7.91119857e+03 -7.94932855e+03 3.14e+01 7.57e-17 9.93e-03 0s
26 -7.92416873e+03 -7.92910228e+03 1.24e+00 5.38e-09 1.07e-03 0s
27 -7.92535461e+03 -7.92544228e+03 7.33e-08 6.52e-10 3.67e-06 0s
28 -7.92535824e+03 -7.92535825e+03 2.07e-08 2.71e-13 3.67e-09 0s
Barrier solved model in 28 iterations and 0.42 seconds (0.17 work units)
Optimal objective -7.92535824e+03
Crossover log...
28 DPushes remaining with DInf 0.0000000e+00 0s
0 DPushes remaining with DInf 0.0000000e+00 0s
1759 PPushes remaining with PInf 0.0000000e+00 0s
0 PPushes remaining with PInf 0.0000000e+00 1s
Push phase complete: Pinf 0.0000000e+00, Dinf 1.6757429e-15 1s
Crossover time: 0.13 seconds (0.10 work units)
Solved with barrier
Iteration Objective Primal Inf. Dual Inf. Time
1790 -7.9253582e+03 0.000000e+00 0.000000e+00 1s
Solved in 1790 iterations and 0.56 seconds (0.28 work units)
Optimal objective -7.925358241e+03
Writing constraints.: 54%|█████▍ | 14/26 [00:00<00:00, 63.28it/s] Writing constraints.: 100%|██████████| 26/26 [00:00<00:00, 81.18it/s] Writing continuous variables.: 0%| | 0/12 [00:00<?, ?it/s] Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 320.44it/s]
Set parameter WLSAccessID
Set parameter WLSSecret
Set parameter LicenseID to value 2537914
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Read LP format model from file /tmp/linopy-problem-f3bdm5rh.lp
Reading time = 0.05 seconds
obj: 23383 rows, 10720 columns, 44348 nonzeros
Gurobi Optimizer version 13.0.2 build v13.0.2rc1 (linux64 - "Ubuntu 24.04.5 LTS")
CPU model: AMD EPYC 7763 64-Core Processor, instruction set [SSE2|AVX|AVX2]
Thread count: 2 physical cores, 4 logical processors, using up to 4 threads
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Optimize a model with 23383 rows, 10720 columns and 44348 nonzeros (Min)
Model fingerprint: 0x3d0682f1
Model has 2 linear objective coefficients
Coefficient statistics:
Matrix range [1e-03, 2e+05]
Objective range [6e-01, 8e-01]
Bounds range [0e+00, 0e+00]
RHS range [5e+03, 8e+09]
Warning: Model contains large rhs
Consider reformulating model or setting NumericFocus parameter
to avoid numerical issues.
Presolve removed 13136 rows and 2416 columns
Presolve time: 0.04s
Presolved: 10247 rows, 8304 columns, 29770 nonzeros
Concurrent LP optimizer: dual simplex and barrier
Showing barrier log only...
Ordering time: 0.01s
Barrier statistics:
Dense cols : 6
AA' NZ : 2.537e+04
Factor NZ : 1.718e+05 (roughly 9 MB of memory)
Factor Ops : 2.974e+06 (less than 1 second per iteration)
Threads : 1
Objective Residual
Iter Primal Dual Primal Dual Compl Time
0 2.32683485e+04 -8.49418387e+06 7.39e+08 3.67e-02 8.34e+04 0s
1 6.77475373e+04 -7.72473946e+06 1.08e+08 8.99e-02 4.27e+04 0s
2 6.30498204e+04 -2.55419688e+06 5.92e+07 1.24e-03 6.54e+03 0s
3 5.39036899e+03 -1.21431744e+06 2.49e+06 4.91e-05 3.97e+02 0s
4 3.17725303e+03 -3.46658403e+05 4.64e+05 3.22e-15 6.83e+01 0s
5 1.33906672e+02 -1.88469134e+05 1.97e+05 3.08e-15 2.98e+01 0s
6 -2.64446219e+03 -9.12758349e+04 1.42e+05 1.30e-15 1.41e+01 0s
7 -7.60923268e+03 -7.03053539e+04 8.14e+04 5.07e-16 9.25e+00 0s
8 -1.24103792e+04 -6.14293156e+04 5.64e+04 5.17e-16 6.99e+00 0s
Writing constraints.: 0%| | 0/26 [00:00<?, ?it/s] Writing constraints.: 42%|████▏ | 11/26 [00:00<00:00, 105.07it/s] Writing constraints.: 100%|██████████| 26/26 [00:00<00:00, 134.09it/s] Writing continuous variables.: 0%| | 0/12 [00:00<?, ?it/s]
9 -1.41768258e+04 -5.87222724e+04 4.98e+04 2.81e-16 6.31e+00 0s 10 -1.19148549e+04 -4.67620812e+04 4.13e+04 3.05e-16 4.89e+00 0s 11 -1.74618035e+04 -3.93113852e+04 1.88e+04 2.22e-16 2.93e+00 0s 12 -1.68998099e+04 -3.90394719e+04 1.83e+04 2.22e-16 2.96e+00 0s 13 -1.80708242e+04 -3.72283542e+04 1.48e+04 1.66e-16 2.54e+00 0s 14 -1.92029832e+04 -3.43007553e+04 1.20e+04 3.02e-16 2.00e+00 0s 15 -1.94585940e+04 -3.37804556e+04 1.08e+04 4.19e-10 1.89e+00 0s 16 -1.88968095e+04 -3.36402063e+04 1.04e+04 4.80e-10 1.93e+00 0s 17 -1.93668233e+04 -3.29813008e+04 9.46e+03 7.36e-10 1.78e+00 0s 18 -2.07912679e+04 -3.00650104e+04 6.31e+03 2.09e-09 1.21e+00 0s 19 -2.05990821e+04 -2.86821757e+04 6.15e+03 1.72e-09 1.06e+00 0s 20 -2.13526243e+04 -2.62570240e+04 3.91e+03 1.32e-09 6.44e-01 0s 21 -2.16367585e+04 -2.45966710e+04 2.94e+03 5.03e-11 3.96e-01 0s 22 -2.19705402e+04 -2.33800061e+04 1.82e+03 3.36e-10 1.94e-01 0s 23 -2.21057694e+04 -2.27339861e+04 1.37e+03 1.44e-09 9.30e-02 0s 24 -2.22670710e+04 -2.26110468e+04 8.33e+02 5.05e-09 5.19e-02 0s 25 -2.24536084e+04 -2.25339920e+04 2.22e+02 5.04e-09 1.25e-02 0s 26 -2.25152094e+04 -2.25225464e+04 1.42e+01 8.40e-10 1.08e-03 0s 27 -2.25204428e+04 -2.25209291e+04 5.63e-07 4.19e-10 5.55e-05 0s 28 -2.25205479e+04 -2.25205488e+04 6.82e-09 4.10e-13 1.06e-07 0s 29 -2.25205481e+04 -2.25205481e+04 6.05e-09 1.75e-15 3.73e-12 0s Barrier solved model in 29 iterations and 0.33 seconds (0.18 work units) Optimal objective -2.25205481e+04 Set parameter WLSAccessID Set parameter WLSSecret Set parameter LicenseID to value 2537914 Crossover log... Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 315.68it/s]
12 DPushes remaining with DInf 0.0000000e+00 0s
0 DPushes remaining with DInf 0.0000000e+00 0s
1537 PPushes remaining with PInf 0.0000000e+00 0s
Read LP format model from file /tmp/linopy-problem-43j3an74.lp
Reading time = 0.05 seconds
obj: 23383 rows, 10720 columns, 44348 nonzeros
Gurobi Optimizer version 13.0.2 build v13.0.2rc1 (linux64 - "Ubuntu 24.04.5 LTS")
CPU model: AMD EPYC 7763 64-Core Processor, instruction set [SSE2|AVX|AVX2]
Thread count: 2 physical cores, 4 logical processors, using up to 4 threads
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Optimize a model with 23383 rows, 10720 columns and 44348 nonzeros (Min)
Model fingerprint: 0x7dc998ea
Model has 2 linear objective coefficients
Coefficient statistics:
Matrix range [1e-03, 2e+05]
Objective range [6e-01, 8e-01]
Bounds range [0e+00, 0e+00]
RHS range [5e+03, 8e+09]
Warning: Model contains large rhs
Consider reformulating model or setting NumericFocus parameter
to avoid numerical issues.
0 PPushes remaining with PInf 0.0000000e+00 0s
Push phase complete: Pinf 0.0000000e+00, Dinf 8.1098323e-16 0s
Crossover time: 0.06 seconds (0.06 work units)
Solved with barrier
Iteration Objective Primal Inf. Dual Inf. Time
1552 -2.2520548e+04 0.000000e+00 0.000000e+00 0s
Solved in 1552 iterations and 0.41 seconds (0.24 work units)
Optimal objective -2.252054807e+04
Presolve removed 13136 rows and 2416 columns
Presolve time: 0.03s
Presolved: 10247 rows, 8304 columns, 29770 nonzeros
Concurrent LP optimizer: dual simplex and barrier
Showing barrier log only...
Ordering time: 0.02s
Barrier statistics:
Dense cols : 6
AA' NZ : 2.537e+04
Factor NZ : 1.718e+05 (roughly 9 MB of memory)
Factor Ops : 2.974e+06 (less than 1 second per iteration)
Threads : 1
Objective Residual
Iter Primal Dual Primal Dual Compl Time
0 8.38925259e+03 -9.23273879e+06 7.39e+08 4.83e-02 9.07e+04 0s
1 -1.03454480e+05 -8.11237620e+06 1.06e+08 9.44e-02 4.42e+04 0s
2 -6.08817949e+04 -2.91252966e+06 5.66e+07 1.09e-03 7.04e+03 0s
3 -9.05988917e+03 -1.33665760e+06 1.60e+06 2.39e-05 3.39e+02 0s
4 -9.05111494e+03 -3.40480805e+05 4.56e+05 2.99e-16 6.50e+01 0s
5 -1.19079562e+04 -1.78477450e+05 2.20e+05 2.06e-16 2.73e+01 0s
6 -1.56855544e+04 -1.06885205e+05 1.55e+05 1.35e-16 1.45e+01 0s 7 -2.17864553e+04 -8.37084245e+04 9.55e+04 8.86e-17 9.38e+00 0s 8 -2.60714005e+04 -7.27202257e+04 7.13e+04 4.82e-17 6.95e+00 0s 9 -2.63178628e+04 -6.46737415e+04 6.85e+04 4.50e-17 5.82e+00 0s 10 -3.03154227e+04 -5.48277933e+04 3.15e+04 2.70e-17 3.47e+00 0s 11 -3.21551027e+04 -4.91272302e+04 2.27e+04 4.92e-17 2.40e+00 0s 12 -3.25366568e+04 -4.62450495e+04 1.44e+04 4.52e-17 1.86e+00 0s 13 -3.30762195e+04 -4.58026568e+04 1.32e+04 5.48e-17 1.73e+00 0s 14 -3.35871397e+04 -4.33377709e+04 1.08e+04 5.00e-17 1.33e+00 0s 15 -3.35449705e+04 -4.27830560e+04 1.04e+04 6.70e-17 1.26e+00 0s 16 -3.42295005e+04 -3.88663306e+04 6.80e+03 1.15e-09 6.55e-01 0s Warning: environment still referenced so free is deferred (Continue to use WLS) 17 -3.46825684e+04 -3.68635668e+04 1.36e+03 2.31e-09 2.81e-01 0s 18 -3.49299936e+04 -3.59246834e+04 7.27e+02 4.93e-09 1.29e-01 0s 19 -3.51826977e+04 -3.53361097e+04 7.92e+01 6.62e-09 1.96e-02 0s 20 -3.52094381e+04 -3.52640280e+04 2.17e+01 4.73e-09 6.94e-03 0s 21 -3.52184317e+04 -3.52304842e+04 5.34e+00 1.57e-08 1.70e-03 0s 22 -3.52212044e+04 -3.52241765e+04 5.79e-01 4.69e-09 4.18e-04 0s
23 -3.52215839e+04 -3.52216999e+04 4.77e-02 1.16e-08 1.36e-04 0s
24 -3.52216056e+04 -3.52210236e+04 2.65e-02 9.78e-09 3.11e-05 0s
25 -3.52216226e+04 -3.52210748e+04 2.93e-05 8.40e-09 2.04e-05 0s
26 -3.52216388e+04 -3.52209317e+04 8.71e-08 8.66e-09 3.37e-06 0s
27 -3.52216324e+04 -3.52212341e+04 7.10e-08 4.96e-09 2.36e-06 0s
28 -3.52216407e+04 -3.52212365e+04 7.66e-08 4.84e-09 1.82e-07 0s
29 -3.52216408e+04 -3.52215652e+04 2.37e-08 9.10e-10 7.49e-08 1s
30 -3.52216412e+04 -3.52216372e+04 1.26e-08 4.76e-11 3.90e-09 1s
Barrier solved model in 30 iterations and 0.52 seconds (0.19 work units)
Optimal objective -3.52216412e+04
Crossover log...
12 DPushes remaining with DInf 0.0000000e+00 1s
0 DPushes remaining with DInf 0.0000000e+00 1s
1704 PPushes remaining with PInf 0.0000000e+00 1s
0 PPushes remaining with PInf 0.0000000e+00 1s
Push phase complete: Pinf 0.0000000e+00, Dinf 9.3675068e-16 1s
Crossover time: 0.08 seconds (0.07 work units)
Solved with barrier
Iteration Objective Primal Inf. Dual Inf. Time
1719 -3.5221641e+04 0.000000e+00 0.000000e+00 1s
Solved in 1719 iterations and 0.61 seconds (0.26 work units)
Optimal objective -3.522164125e+04
Warning: environment still referenced so free is deferred (Continue to use WLS)
Writing constraints.: 0%| | 0/26 [00:00<?, ?it/s] Writing constraints.: 42%|████▏ | 11/26 [00:00<00:00, 106.46it/s]
Writing constraints.: 100%|██████████| 26/26 [00:00<00:00, 130.15it/s] Writing constraints.: 100%|██████████| 26/26 [00:00<00:00, 126.44it/s] Writing continuous variables.: 0%| | 0/12 [00:00<?, ?it/s] Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 358.12it/s]
Set parameter WLSAccessID
Set parameter WLSSecret
Set parameter LicenseID to value 2537914
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Read LP format model from file /tmp/linopy-problem-ea6okio2.lp
Reading time = 0.04 seconds
obj: 23383 rows, 10720 columns, 44348 nonzeros
Gurobi Optimizer version 13.0.2 build v13.0.2rc1 (linux64 - "Ubuntu 24.04.5 LTS")
CPU model: AMD EPYC 7763 64-Core Processor, instruction set [SSE2|AVX|AVX2]
Thread count: 2 physical cores, 4 logical processors, using up to 4 threads
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Optimize a model with 23383 rows, 10720 columns and 44348 nonzeros (Min)
Model fingerprint: 0x06f86293
Model has 2 linear objective coefficients
Coefficient statistics:
Matrix range [1e-03, 2e+05]
Objective range [3e-01, 1e+00]
Bounds range [0e+00, 0e+00]
RHS range [5e+03, 8e+09]
Warning: Model contains large rhs
Consider reformulating model or setting NumericFocus parameter
to avoid numerical issues.
Presolve removed 13136 rows and 2416 columns
Presolve time: 0.03s
Presolved: 10247 rows, 8304 columns, 29770 nonzeros
Concurrent LP optimizer: dual simplex and barrier
Showing barrier log only...
Ordering time: 0.01s
Barrier statistics:
Dense cols : 6
AA' NZ : 2.537e+04
Factor NZ : 1.718e+05 (roughly 9 MB of memory)
Factor Ops : 2.974e+06 (less than 1 second per iteration)
Threads : 1
Objective Residual
Iter Primal Dual Primal Dual Compl Time
0 -7.31117532e+03 -1.07573642e+07 7.39e+08 1.13e-01 2.11e+05 0s
1 -2.43360284e+05 -9.44541966e+06 1.06e+08 2.20e-01 1.03e+05 0s
2 -1.61741612e+05 -3.41301922e+06 5.68e+07 2.38e-03 1.64e+04 0s
3 -2.00156202e+04 -1.56885242e+06 1.51e+06 4.62e-05 7.67e+02 0s
4 -1.89351880e+04 -4.18311109e+05 4.42e+05 9.84e-16 1.54e+02 0s
5 -2.11456600e+04 -2.00291401e+05 1.58e+05 3.30e-16 5.43e+01 0s
6 -2.35745588e+04 -1.66508788e+05 1.18e+05 3.22e-16 4.15e+01 0s
7 -2.62879298e+04 -1.19329113e+05 8.37e+04 2.93e-16 2.62e+01 0s
8 -3.02279695e+04 -1.06545978e+05 6.06e+04 2.22e-16 2.09e+01 0s 9 -3.39486971e+04 -8.76051551e+04 4.49e+04 1.70e-16 1.46e+01 0s
10 -3.59210531e+04 -7.54662500e+04 2.71e+04 1.37e-16 1.04e+01 0s
11 -3.99568039e+04 -6.20555929e+04 1.65e+04 6.20e-17 5.82e+00 0s
12 -4.11399076e+04 -6.13917935e+04 1.45e+04 1.14e-16 5.31e+00 0s
13 -4.18523644e+04 -5.85136732e+04 1.09e+04 8.37e-17 4.34e+00 0s
14 -4.28980301e+04 -5.24651047e+04 7.76e+03 1.13e-16 2.53e+00 0s
15 -4.41636565e+04 -4.65602464e+04 3.31e+03 8.88e-17 6.63e-01 0s
16 -4.47572838e+04 -4.52727424e+04 7.41e+02 1.08e-08 1.43e-01 0s
17 -4.49286532e+04 -4.50473145e+04 1.62e+02 5.65e-09 3.26e-02 0s
18 -4.49413230e+04 -4.50288346e+04 1.12e+02 4.34e-09 2.38e-02 0s
19 -4.49730617e+04 -4.49900359e+04 8.20e+00 1.93e-09 4.28e-03 0s
20 -4.49776629e+04 -4.49778482e+04 1.72e-01 3.46e-10 4.72e-05 0s
21 -4.49777833e+04 -4.49777838e+04 7.59e-07 1.26e-11 1.31e-07 0s
22 -4.49777834e+04 -4.49777834e+04 8.15e-09 9.57e-15 9.43e-13 0s
Barrier solved model in 22 iterations and 0.32 seconds (0.14 work units)
Optimal objective -4.49777834e+04
Crossover log...
10 DPushes remaining with DInf 0.0000000e+00 0s
0 DPushes remaining with DInf 0.0000000e+00 0s
1770 PPushes remaining with PInf 0.0000000e+00 0s
0 PPushes remaining with PInf 0.0000000e+00 0s
Push phase complete: Pinf 0.0000000e+00, Dinf 4.2830323e-15 0s
Crossover time: 0.06 seconds (0.06 work units)
Solved with barrier
Iteration Objective Primal Inf. Dual Inf. Time
1783 -4.4977783e+04 0.000000e+00 0.000000e+00 0s
Solved in 1783 iterations and 0.40 seconds (0.21 work units)
Optimal objective -4.497778343e+04
Warning: environment still referenced so free is deferred (Continue to use WLS)
INFO:pypsa.network.io:Exported network 'Model-Energy' saved to '/tmp/tmpqo4azpst.nc contains: carriers, generators, links, loads, stores, buses, storage_units
/home/runner/work/PyPSA/PyPSA/pypsa/network/io.py:2085: FutureWarning: pandas infers the `str` dtype for string data since its version 3.0. PyPSA still converts it back to numpy object dtype on import, but will keep it from PyPSA 2.0 on. Set `pypsa.options.api.legacy_string_dtype` explicitly to suppress this warning. new_static = _coerce_string_dtypes(new_static)
/home/runner/work/PyPSA/PyPSA/pypsa/network/io.py:2085: FutureWarning: pandas infers the `str` dtype for string data since its version 3.0. PyPSA still converts it back to numpy object dtype on import, but will keep it from PyPSA 2.0 on. Set `pypsa.options.api.legacy_string_dtype` explicitly to suppress this warning. new_static = _coerce_string_dtypes(new_static)
/home/runner/work/PyPSA/PyPSA/pypsa/network/io.py:2085: FutureWarning: pandas infers the `str` dtype for string data since its version 3.0. PyPSA still converts it back to numpy object dtype on import, but will keep it from PyPSA 2.0 on. Set `pypsa.options.api.legacy_string_dtype` explicitly to suppress this warning. new_static = _coerce_string_dtypes(new_static)
/home/runner/work/PyPSA/PyPSA/pypsa/network/io.py:2085: FutureWarning: pandas infers the `str` dtype for string data since its version 3.0. PyPSA still converts it back to numpy object dtype on import, but will keep it from PyPSA 2.0 on. Set `pypsa.options.api.legacy_string_dtype` explicitly to suppress this warning. new_static = _coerce_string_dtypes(new_static) /home/runner/work/PyPSA/PyPSA/pypsa/network/io.py:2085: FutureWarning: pandas infers the `str` dtype for string data since its version 3.0. PyPSA still converts it back to numpy object dtype on import, but will keep it from PyPSA 2.0 on. Set `pypsa.options.api.legacy_string_dtype` explicitly to suppress this warning. new_static = _coerce_string_dtypes(new_static) /home/runner/work/PyPSA/PyPSA/pypsa/network/io.py:2085: FutureWarning: pandas infers the `str` dtype for string data since its version 3.0. PyPSA still converts it back to numpy object dtype on import, but will keep it from PyPSA 2.0 on. Set `pypsa.options.api.legacy_string_dtype` explicitly to suppress this warning. new_static = _coerce_string_dtypes(new_static)
/home/runner/work/PyPSA/PyPSA/pypsa/network/io.py:2085: FutureWarning: pandas infers the `str` dtype for string data since its version 3.0. PyPSA still converts it back to numpy object dtype on import, but will keep it from PyPSA 2.0 on. Set `pypsa.options.api.legacy_string_dtype` explicitly to suppress this warning. new_static = _coerce_string_dtypes(new_static) /home/runner/work/PyPSA/PyPSA/pypsa/network/io.py:2085: FutureWarning: pandas infers the `str` dtype for string data since its version 3.0. PyPSA still converts it back to numpy object dtype on import, but will keep it from PyPSA 2.0 on. Set `pypsa.options.api.legacy_string_dtype` explicitly to suppress this warning. new_static = _coerce_string_dtypes(new_static)
/opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/contextlib.py:85: FutureWarning: The default value of `include_objective_constant` will change from True to False in version 2.0. Set `include_objective_constant` explicitly to suppress this warning. Using False improves LP numerical conditioning by not including the objective constant as a variable. return func(*args, **kwds)
/opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/contextlib.py:85: FutureWarning: The default value of `include_objective_constant` will change from True to False in version 2.0. Set `include_objective_constant` explicitly to suppress this warning. Using False improves LP numerical conditioning by not including the objective constant as a variable. return func(*args, **kwds)
/opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/contextlib.py:85: FutureWarning: The default value of `include_objective_constant` will change from True to False in version 2.0. Set `include_objective_constant` explicitly to suppress this warning. Using False improves LP numerical conditioning by not including the objective constant as a variable. return func(*args, **kwds) /opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/contextlib.py:85: FutureWarning: The default value of `include_objective_constant` will change from True to False in version 2.0. Set `include_objective_constant` explicitly to suppress this warning. Using False improves LP numerical conditioning by not including the objective constant as a variable. return func(*args, **kwds) /opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/contextlib.py:85: FutureWarning: The default value of `include_objective_constant` will change from True to False in version 2.0. Set `include_objective_constant` explicitly to suppress this warning. Using False improves LP numerical conditioning by not including the objective constant as a variable. return func(*args, **kwds)
/opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/contextlib.py:85: FutureWarning: The default value of `include_objective_constant` will change from True to False in version 2.0. Set `include_objective_constant` explicitly to suppress this warning. Using False improves LP numerical conditioning by not including the objective constant as a variable. return func(*args, **kwds)
/opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/contextlib.py:85: FutureWarning: The default value of `include_objective_constant` will change from True to False in version 2.0. Set `include_objective_constant` explicitly to suppress this warning. Using False improves LP numerical conditioning by not including the objective constant as a variable. return func(*args, **kwds) /opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/contextlib.py:85: FutureWarning: The default value of `include_objective_constant` will change from True to False in version 2.0. Set `include_objective_constant` explicitly to suppress this warning. Using False improves LP numerical conditioning by not including the objective constant as a variable. return func(*args, **kwds)
Writing constraints.: 0%| | 0/26 [00:00<?, ?it/s] Writing constraints.: 0%| | 0/26 [00:00<?, ?it/s] Writing constraints.: 23%|██▎ | 6/26 [00:00<00:00, 48.86it/s] Writing constraints.: 27%|██▋ | 7/26 [00:00<00:00, 66.07it/s] Writing constraints.: 0%| | 0/26 [00:00<?, ?it/s]
Writing constraints.: 42%|████▏ | 11/26 [00:00<00:00, 48.74it/s] Writing constraints.: 54%|█████▍ | 14/26 [00:00<00:00, 61.21it/s] Writing constraints.: 19%|█▉ | 5/26 [00:00<00:00, 48.66it/s] Writing constraints.: 0%| | 0/26 [00:00<?, ?it/s] Writing constraints.: 65%|██████▌ | 17/26 [00:00<00:00, 51.47it/s] Writing constraints.: 81%|████████ | 21/26 [00:00<00:00, 61.34it/s] Writing constraints.: 38%|███▊ | 10/26 [00:00<00:00, 45.66it/s] Writing constraints.: 19%|█▉ | 5/26 [00:00<00:00, 41.27it/s]
Writing constraints.: 100%|██████████| 26/26 [00:00<00:00, 58.76it/s] Writing continuous variables.: 0%| | 0/12 [00:00<?, ?it/s] Writing constraints.: 88%|████████▊ | 23/26 [00:00<00:00, 42.94it/s] Writing constraints.: 58%|█████▊ | 15/26 [00:00<00:00, 47.37it/s] Writing constraints.: 0%| | 0/26 [00:00<?, ?it/s] Writing constraints.: 100%|██████████| 26/26 [00:00<00:00, 47.45it/s] Writing continuous variables.: 0%| | 0/12 [00:00<?, ?it/s] Writing constraints.: 38%|███▊ | 10/26 [00:00<00:00, 36.54it/s] Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 123.13it/s] Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 182.42it/s] Writing constraints.: 85%|████████▍ | 22/26 [00:00<00:00, 54.11it/s] Writing constraints.: 23%|██▎ | 6/26 [00:00<00:00, 58.16it/s] Writing constraints.: 58%|█████▊ | 15/26 [00:00<00:00, 38.11it/s]
Set parameter WLSAccessID
Set parameter WLSSecret
Set parameter LicenseID to value 2537914
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Set parameter WLSAccessID
Set parameter WLSSecret
Set parameter LicenseID to value 2537914
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Read LP format model from file /tmp/linopy-problem-kmvxy17v.lp
Reading time = 0.08 seconds
obj: 23383 rows, 10720 columns, 44348 nonzeros
Gurobi Optimizer version 13.0.2 build v13.0.2rc1 (linux64 - "Ubuntu 24.04.5 LTS")
CPU model: AMD EPYC 7763 64-Core Processor, instruction set [SSE2|AVX|AVX2]
Thread count: 2 physical cores, 4 logical processors, using up to 4 threads
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Optimize a model with 23383 rows, 10720 columns and 44348 nonzeros (Min)
Model fingerprint: 0x19033cb4
Model has 2 linear objective coefficients
Coefficient statistics:
Matrix range [1e-03, 2e+05]
Objective range [7e-01, 7e-01]
Bounds range [0e+00, 0e+00]
RHS range [5e+03, 8e+09]
Warning: Model contains large rhs
Consider reformulating model or setting NumericFocus parameter
to avoid numerical issues.
Read LP format model from file /tmp/linopy-problem-m_lk8igi.lp
Reading time = 0.11 seconds
obj: 23383 rows, 10720 columns, 44348 nonzeros
Gurobi Optimizer version 13.0.2 build v13.0.2rc1 (linux64 - "Ubuntu 24.04.5 LTS")
CPU model: AMD EPYC 7763 64-Core Processor, instruction set [SSE2|AVX|AVX2]
Thread count: 2 physical cores, 4 logical processors, using up to 4 threads
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Optimize a model with 23383 rows, 10720 columns and 44348 nonzeros (Min)
Model fingerprint: 0x05237147
Model has 2 linear objective coefficients
Coefficient statistics:
Matrix range [1e-03, 2e+05]
Objective range [1e-01, 1e+00]
Bounds range [0e+00, 0e+00]
RHS range [5e+03, 8e+09]
Warning: Model contains large rhs
Consider reformulating model or setting NumericFocus parameter
to avoid numerical issues.
Presolve removed 13136 rows and 2416 columns
Presolve time: 0.07s
Presolved: 10247 rows, 8304 columns, 29770 nonzeros
Concurrent LP optimizer: dual simplex and barrier
Showing barrier log only...
Ordering time: 0.01s
Barrier statistics:
Dense cols : 6
AA' NZ : 2.537e+04
Factor NZ : 1.718e+05 (roughly 9 MB of memory)
Factor Ops : 2.974e+06 (less than 1 second per iteration)
Threads : 1
Presolve removed 13136 rows and 2416 columns
Presolve time: 0.07s
Presolved: 10247 rows, 8304 columns, 29770 nonzeros
Concurrent LP optimizer: dual simplex and barrier
Showing barrier log only...
Objective Residual
Iter Primal Dual Primal Dual Compl Time
0 1.50394802e+04 -8.49623936e+06 7.39e+08 4.33e-02 8.34e+04 0s
Writing constraints.: 46%|████▌ | 12/26 [00:00<00:00, 51.26it/s] Writing constraints.: 77%|███████▋ | 20/26 [00:00<00:00, 41.92it/s] Writing constraints.: 100%|██████████| 26/26 [00:00<00:00, 41.15it/s] Writing continuous variables.: 0%| | 0/12 [00:00<?, ?it/s] Writing constraints.: 69%|██████▉ | 18/26 [00:00<00:00, 53.06it/s] Writing continuous variables.: 58%|█████▊ | 7/12 [00:00<00:00, 61.84it/s] Writing constraints.: 96%|█████████▌| 25/26 [00:00<00:00, 38.42it/s]
1 -3.54553138e+04 -7.53019043e+06 1.06e+08 8.76e-02 4.11e+04 0s
Ordering time: 0.01s
Barrier statistics:
Dense cols : 6
AA' NZ : 2.537e+04
Factor NZ : 1.718e+05 (roughly 9 MB of memory)
Factor Ops : 2.974e+06 (less than 1 second per iteration)
Threads : 1
2 -1.71454839e+04 -2.65397862e+06 5.73e+07 1.07e-03 6.52e+03 0s
Objective Residual
Iter Primal Dual Primal Dual Compl Time
0 4.66081094e+04 -4.24709194e+06 7.31e+08 0.00e+00 8.25e+04 0s
3 -4.09659844e+03 -1.22991618e+06 1.80e+06 2.84e-05 3.33e+02 0s
1 1.60047435e+05 -3.98705365e+06 1.12e+08 8.84e-02 4.26e+04 0s
4 -4.48685164e+03 -3.28156156e+05 4.50e+05 3.76e-16 6.29e+01 0s
2 3.04573846e+05 -1.17069795e+06 5.61e+07 1.90e-03 4.90e+03 0s
5 -7.67846605e+03 -1.64016336e+05 1.94e+05 2.36e-16 2.49e+01 0s
3 4.46917745e+04 -5.01590203e+05 4.97e+06 1.82e-04 5.21e+02 0s
6 -1.05757878e+04 -9.52242013e+04 1.49e+05 1.48e-16 1.36e+01 0s
4 2.63857681e+04 -1.56667965e+05 4.54e+05 7.32e-06 7.07e+01 0s
7 -1.55236854e+04 -7.68534382e+04 8.61e+04 6.49e-17 9.15e+00 0s
5 2.37825268e+04 -6.93198048e+04 2.33e+05 1.80e-06 3.12e+01 0s
6 2.16675022e+04 -2.29320531e+04 1.64e+05 1.06e-16 1.55e+01 0s
8 -2.01635052e+04 -6.49793375e+04 6.25e+04 6.72e-17 6.57e+00 0s
9 -2.16024349e+04 -6.21617769e+04 4.66e+04 4.89e-17 5.74e+00 0s
7 1.85538016e+04 -1.34316711e+04 8.75e+04 6.22e-17 1.00e+01 0s
8 1.58121277e+04 -1.07364868e+04 5.25e+04 6.73e-17 7.74e+00 0s
10 -2.32612587e+04 -5.51836546e+04 4.00e+04 6.88e-17 4.53e+00 0s
9 1.47577446e+04 -4.24934108e+03 3.79e+04 6.03e-17 5.47e+00 0s
Writing constraints.: 100%|██████████| 26/26 [00:00<00:00, 38.49it/s] Writing continuous variables.: 0%| | 0/12 [00:00<?, ?it/s] Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 60.97it/s] Writing constraints.: 92%|█████████▏| 24/26 [00:00<00:00, 44.41it/s] Writing continuous variables.: 75%|███████▌ | 9/12 [00:00<00:00, 81.75it/s] Writing constraints.: 100%|██████████| 26/26 [00:00<00:00, 45.37it/s] Writing continuous variables.: 0%| | 0/12 [00:00<?, ?it/s] Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 81.19it/s]
11 -2.56599043e+04 -4.60674585e+04 2.42e+04 5.39e-17 2.84e+00 0s
Set parameter WLSAccessID
Set parameter WLSSecret
Set parameter LicenseID to value 2537914
10 1.49816128e+04 -8.47892777e+02 3.56e+04 4.01e-17 4.60e+00 0s
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
12 -2.63453078e+04 -4.59467333e+04 2.24e+04 7.06e-17 2.72e+00 0s
11 1.36730681e+04 5.91368982e+03 1.48e+04 6.47e-17 2.16e+00 0s
13 -2.71065407e+04 -4.29028775e+04 1.80e+04 8.44e-17 2.18e+00 0s
12 1.31998708e+04 6.40206100e+03 1.12e+04 5.28e-17 1.86e+00 0s
14 -2.71385491e+04 -4.12745200e+04 1.75e+04 7.34e-17 1.96e+00 0s
13 1.29015996e+04 8.52603668e+03 8.21e+03 3.74e-17 1.21e+00 0s
15 -2.82417862e+04 -4.03944851e+04 1.05e+04 6.10e-17 1.62e+00 0s
14 1.27468132e+04 8.69489955e+03 7.28e+03 3.86e-17 1.12e+00 0s
16 -2.87807065e+04 -3.69618133e+04 7.96e+03 5.05e-17 1.10e+00 0s
Set parameter WLSAccessID
Set parameter WLSSecret
Set parameter LicenseID to value 2537914
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
17 -2.90491353e+04 -3.53788105e+04 6.29e+03 5.96e-11 8.51e-01 0s
Read LP format model from file /tmp/linopy-problem-7t476sf2.lp
Reading time = 0.10 seconds
obj: 23383 rows, 10720 columns, 44348 nonzeros
15 1.25559538e+04 8.89959501e+03 3.86e+03 4.56e-17 9.56e-01 0s
Gurobi Optimizer version 13.0.2 build v13.0.2rc1 (linux64 - "Ubuntu 24.04.5 LTS")
CPU model: AMD EPYC 7763 64-Core Processor, instruction set [SSE2|AVX|AVX2]
Thread count: 2 physical cores, 4 logical processors, using up to 4 threads
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Optimize a model with 23383 rows, 10720 columns and 44348 nonzeros (Min)
Model fingerprint: 0xbbbd2515
Model has 2 linear objective coefficients
Coefficient statistics:
Matrix range [1e-03, 2e+05]
Objective range [4e-01, 9e-01]
Bounds range [0e+00, 0e+00]
RHS range [5e+03, 8e+09]
Warning: Model contains large rhs
Consider reformulating model or setting NumericFocus parameter
to avoid numerical issues.
18 -2.96174806e+04 -3.39616240e+04 2.09e+03 1.97e-10 5.52e-01 0s
19 -2.96719381e+04 -3.12370688e+04 1.79e+03 5.35e-10 2.12e-01 0s
16 1.23506167e+04 1.13103106e+04 1.17e+03 6.09e-17 2.71e-01 0s
20 -2.99408579e+04 -3.02716270e+04 2.64e+02 1.56e-09 4.36e-02 1s
17 1.22319350e+04 1.19956164e+04 2.58e+02 6.94e-16 6.17e-02 0s
Presolve removed 13136 rows and 2416 columns
Presolve time: 0.07s
Presolved: 10247 rows, 8304 columns, 29770 nonzeros
Concurrent LP optimizer: dual simplex and barrier
Showing barrier log only...
18 1.21996603e+04 1.20556861e+04 1.07e+02 5.47e-11 3.67e-02 1s
Writing continuous variables.: 50%|█████ | 6/12 [00:00<00:00, 49.81it/s] Writing continuous variables.: 92%|█████████▏| 11/12 [00:00<00:00, 48.28it/s] Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 48.48it/s]
21 -2.99818481e+04 -3.00617578e+04 9.86e+01 9.20e-09 1.11e-02 1s
Read LP format model from file /tmp/linopy-problem-dioozxcj.lp
Reading time = 0.10 seconds
obj: 23383 rows, 10720 columns, 44348 nonzeros
Gurobi Optimizer version 13.0.2 build v13.0.2rc1 (linux64 - "Ubuntu 24.04.5 LTS")
CPU model: AMD EPYC 7763 64-Core Processor, instruction set [SSE2|AVX|AVX2]
Thread count: 2 physical cores, 4 logical processors, using up to 4 threads
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Optimize a model with 23383 rows, 10720 columns and 44348 nonzeros (Min)
Model fingerprint: 0xa6e23b7b
Model has 2 linear objective coefficients
Coefficient statistics:
Matrix range [1e-03, 2e+05]
Objective range [6e-01, 8e-01]
Bounds range [0e+00, 0e+00]
RHS range [5e+03, 8e+09]
Warning: Model contains large rhs
Consider reformulating model or setting NumericFocus parameter
to avoid numerical issues.
Ordering time: 0.01s
Barrier statistics:
Dense cols : 6
AA' NZ : 2.537e+04
Factor NZ : 1.718e+05 (roughly 9 MB of memory)
Factor Ops : 2.974e+06 (less than 1 second per iteration)
Threads : 1
19 1.21840336e+04 1.21385355e+04 2.78e+01 1.19e-09 1.14e-02 1s
22 -3.00014329e+04 -3.00137692e+04 2.11e+01 5.37e-09 1.86e-03 1s
20 1.21776999e+04 1.21628077e+04 1.87e+00 2.56e-09 3.54e-03 1s
Objective Residual
Iter Primal Dual Primal Dual Compl Time
0 -5.01489996e+04 -1.90216978e+07 7.39e+08 9.96e-02 1.87e+05 0s
1 -7.54199826e+05 -1.78123085e+07 1.11e+08 2.00e-01 9.80e+04 0s
21 1.21770804e+04 1.21765382e+04 8.07e-03 1.84e-09 5.55e-05 1s
23 -3.00075972e+04 -3.00076884e+04 7.77e-08 2.02e-10 1.36e-05 1s
22 1.21769994e+04 1.21769514e+04 6.19e-08 3.01e-10 3.63e-07 1s
2 -6.54171688e+05 -6.44318082e+06 6.31e+07 3.75e-03 1.68e+04 0s
Presolve removed 13136 rows and 2416 columns
Presolve time: 0.07s
Presolved: 10247 rows, 8304 columns, 29770 nonzeros
Concurrent LP optimizer: dual simplex and barrier
Showing barrier log only...
24 -3.00076230e+04 -3.00076247e+04 1.77e-08 1.04e-11 3.09e-08 1s
23 1.21769993e+04 1.21769993e+04 2.12e-08 3.19e-13 3.63e-10 1s
Barrier solved model in 23 iterations and 0.61 seconds (0.15 work units)
Optimal objective 1.21769993e+04
3 -5.90421126e+04 -2.82408240e+06 2.31e+06 1.62e-04 8.97e+02 0s
Crossover log...
25 -3.00076230e+04 -3.00076230e+04 9.55e-09 6.77e-15 3.09e-11 1s
Barrier solved model in 25 iterations and 0.65 seconds (0.16 work units)
Optimal objective -3.00076230e+04
Ordering time: 0.01s
Crossover log...
Barrier statistics:
Dense cols : 6
AA' NZ : 2.537e+04
Factor NZ : 1.718e+05 (roughly 9 MB of memory)
Factor Ops : 2.974e+06 (less than 1 second per iteration)
Threads : 1
4 -4.75735405e+04 -9.95727791e+05 5.27e+05 1.10e-15 1.91e+02 0s
Objective Residual
Iter Primal Dual Primal Dual Compl Time
0 4.44699623e+04 -8.49418387e+06 7.35e+08 0.00e+00 8.29e+04 0s
5 -4.72954804e+04 -4.90769577e+05 1.83e+05 4.26e-16 6.86e+01 0s
1 3.14031860e+05 -7.93348041e+06 1.13e+08 6.91e-02 4.26e+04 0s
Set parameter WLSAccessID
Set parameter WLSSecret
Set parameter LicenseID to value 2537914
19 DPushes remaining with DInf 0.0000000e+00 1s
6 -4.93743036e+04 -1.90075175e+05 1.07e+05 2.77e-16 2.09e+01 0s
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
2 3.75059663e+05 -2.41241934e+06 5.53e+07 1.52e-03 5.79e+03 0s
13 DPushes remaining with DInf 0.0000000e+00 1s
0 DPushes remaining with DInf 0.0000000e+00 1s
7 -5.33760809e+04 -1.47883717e+05 6.51e+04 2.09e-16 1.32e+01 0s
1239 PPushes remaining with PInf 0.0000000e+00 1s
0 DPushes remaining with DInf 0.0000000e+00 1s
1584 PPushes remaining with PInf 0.0000000e+00 1s
3 5.38803362e+04 -1.09246790e+06 3.05e+06 9.23e-05 4.27e+02 0s
8 -5.63937881e+04 -1.15815694e+05 3.65e+04 1.18e-16 7.97e+00 0s
9 -5.96084657e+04 -1.06115782e+05 2.88e+04 9.78e-17 6.21e+00 0s
4 4.17404990e+04 -3.55799231e+05 4.00e+05 1.48e-06 7.20e+01 0s
10 -6.33647680e+04 -9.86863567e+04 2.08e+04 9.84e-17 4.67e+00 0s
11 -6.72889857e+04 -8.83901241e+04 9.78e+03 8.10e-17 2.73e+00 0s
12 -6.81471781e+04 -8.43359465e+04 6.99e+03 7.09e-17 2.08e+00 0s
13 -6.92194862e+04 -7.63896125e+04 4.42e+03 6.53e-17 9.45e-01 0s
14 -7.00120413e+04 -7.51798163e+04 2.82e+03 6.21e-17 6.75e-01 0s
5 4.09392381e+04 -1.45462971e+05 1.54e+05 2.24e-07 2.77e+01 0s
0 PPushes remaining with PInf 0.0000000e+00 1s
Push phase complete: Pinf 0.0000000e+00, Dinf 1.4311469e-15 1s
15 -7.00658645e+04 -7.30712600e+04 2.67e+03 9.07e-09 4.10e-01 0s
Crossover time: 0.17 seconds (0.05 work units)
Solved with barrier
16 -7.08422458e+04 -7.18502963e+04 7.17e+02 1.10e-08 1.34e-01 0s
6 4.01965482e+04 -6.22750715e+03 5.96e+04 7.75e-17 6.48e+00 0s
0 PPushes remaining with PInf 0.0000000e+00 1s
Push phase complete: Pinf 0.0000000e+00, Dinf 1.5070410e-15 1s
17 -7.10228287e+04 -7.12978819e+04 2.48e+02 1.56e-08 3.69e-02 0s
Iteration Objective Primal Inf. Dual Inf. Time
Crossover time: 0.19 seconds (0.06 work units)
1261 1.2176999e+04 0.000000e+00 0.000000e+00 1s
Solved in 1261 iterations and 0.82 seconds (0.20 work units)
Optimal objective 1.217699932e+04
Solved with barrier
7 3.75521039e+04 1.02861973e+04 1.46e+04 4.72e-17 3.44e+00 0s
Read LP format model from file /tmp/linopy-problem-mqsql5__.lp
Reading time = 0.15 seconds
obj: 23383 rows, 10720 columns, 44348 nonzeros
Gurobi Optimizer version 13.0.2 build v13.0.2rc1 (linux64 - "Ubuntu 24.04.5 LTS")
CPU model: AMD EPYC 7763 64-Core Processor, instruction set [SSE2|AVX|AVX2]
Thread count: 2 physical cores, 4 logical processors, using up to 4 threads
18 -7.10892579e+04 -7.11504726e+04 4.77e+01 4.94e-09 8.01e-03 0s
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Optimize a model with 23383 rows, 10720 columns and 44348 nonzeros (Min)
Model fingerprint: 0x307c77bf
Model has 2 linear objective coefficients
Coefficient statistics:
Matrix range [1e-03, 2e+05]
Objective range [6e-01, 8e-01]
Bounds range [0e+00, 0e+00]
RHS range [5e+03, 8e+09]
Warning: Model contains large rhs
Consider reformulating model or setting NumericFocus parameter
to avoid numerical issues.
8 3.61324685e+04 2.52488737e+04 6.71e+03 3.35e-17 1.35e+00 0s
Iteration Objective Primal Inf. Dual Inf. Time
1600 -3.0007623e+04 0.000000e+00 0.000000e+00 1s
Solved in 1600 iterations and 0.88 seconds (0.22 work units)
Optimal objective -3.000762303e+04
9 3.49115793e+04 2.97691294e+04 3.12e+03 5.31e-08 6.33e-01 0s
19 -7.11038807e+04 -7.11098097e+04 9.26e+00 1.13e-09 8.30e-04 0s
10 3.42761744e+04 3.16992273e+04 1.33e+03 6.46e-08 3.15e-01 0s
20 -7.11074578e+04 -7.11088297e+04 7.15e-02 8.61e-10 1.39e-04 0s
11 3.39055437e+04 3.26074574e+04 4.76e+02 3.24e-08 1.59e-01 0s
12 3.37977607e+04 3.28412232e+04 2.66e+02 3.91e-08 1.18e-01 0s
21 -7.11076138e+04 -7.11076317e+04 5.13e-07 4.48e-11 1.79e-07 0s
13 3.36831032e+04 3.33830185e+04 9.28e+01 5.16e-08 3.83e-02 0s
Presolve removed 13136 rows and 2416 columns
Presolve time: 0.11s
Presolved: 10247 rows, 8304 columns, 29770 nonzeros
Concurrent LP optimizer: dual simplex and barrier
Showing barrier log only...
22 -7.11076143e+04 -7.11076144e+04 7.80e-08 6.91e-13 1.80e-10 1s
Barrier solved model in 22 iterations and 0.52 seconds (0.14 work units)
Optimal objective -7.11076143e+04
14 3.36379391e+04 3.34660526e+04 3.57e+01 5.05e-08 2.29e-02 0s
15 3.36220659e+04 3.35416765e+04 2.04e+01 5.49e-08 1.24e-02 0s
Crossover log...
16 3.36200589e+04 3.35460238e+04 1.86e+01 5.37e-08 1.16e-02 0s
Ordering time: 0.04s
17 3.36130628e+04 3.35591698e+04 1.22e+01 4.91e-08 8.93e-03 0s
Barrier statistics:
Dense cols : 6
AA' NZ : 2.537e+04
Factor NZ : 1.718e+05 (roughly 9 MB of memory)
Factor Ops : 2.974e+06 (less than 1 second per iteration)
Threads : 1
18 3.36047831e+04 3.36020752e+04 1.83e+00 2.44e-08 1.60e-03 1s
91 DPushes remaining with DInf 0.0000000e+00 1s
Objective Residual
Iter Primal Dual Primal Dual Compl Time
19 3.36028747e+04 3.36037295e+04 8.03e-01 1.26e-08 4.12e-04 1s
0 -2.03094896e+04 -1.61574652e+07 7.39e+08 8.46e-02 1.59e+05 0s
20 3.36014478e+04 3.36037857e+04 9.98e-02 1.07e-08 1.87e-04 1s
21 3.36011892e+04 3.36023988e+04 4.63e-08 3.85e-09 9.19e-06 1s
1 -4.63264317e+05 -1.49644520e+07 1.13e+08 1.60e-01 8.13e+04 0s
0 DPushes remaining with DInf 0.0000000e+00 1s
22 3.36011721e+04 3.36011717e+04 2.93e-10 1.79e-12 9.23e-09 1s
Barrier solved model in 22 iterations and 0.59 seconds (0.14 work units)
Optimal objective 3.36011721e+04
2077 PPushes remaining with PInf 0.0000000e+00 1s
Crossover log...
2 -3.56051813e+05 -5.24678731e+06 6.23e+07 2.93e-03 1.33e+04 0s
Writing constraints.: 0%| | 0/26 [00:00<?, ?it/s] Writing constraints.: 0%| | 0/26 [00:00<?, ?it/s] Writing constraints.: 0%| | 0/26 [00:00<?, ?it/s] Writing constraints.: 15%|█▌ | 4/26 [00:00<00:00, 34.48it/s] Writing constraints.: 19%|█▉ | 5/26 [00:00<00:00, 49.04it/s] Writing constraints.: 19%|█▉ | 5/26 [00:00<00:00, 47.76it/s]
3 -2.46788707e+04 -2.29969387e+06 2.37e+06 1.64e-04 7.44e+02 0s
14 DPushes remaining with DInf 0.0000000e+00 1s
0 DPushes remaining with DInf 0.0000000e+00 1s
3593 PPushes remaining with PInf 0.0000000e+00 1s
4 -1.71604465e+04 -7.11570103e+05 4.38e+05 3.12e-06 1.32e+02 0s
5 -1.85951176e+04 -3.23935208e+05 1.33e+05 2.23e-07 4.50e+01 0s
6 -2.32997364e+04 -1.40924905e+05 7.38e+04 2.68e-16 1.68e+01 0s
0 PPushes remaining with PInf 0.0000000e+00 1s
Push phase complete: Pinf 0.0000000e+00, Dinf 2.2846308e-15 1s
Crossover time: 0.34 seconds (0.07 work units)
Solved with barrier
7 -2.69224809e+04 -1.03737630e+05 5.79e+04 1.22e-16 1.08e+01 0s
Iteration Objective Primal Inf. Dual Inf. Time
2170 -7.1107614e+04 0.000000e+00 0.000000e+00 1s
Solved in 2170 iterations and 0.90 seconds (0.22 work units)
Optimal objective -7.110761433e+04
8 -2.98026936e+04 -8.89790369e+04 2.70e+04 1.14e-16 7.80e+00 0s
9 -3.28989450e+04 -7.34981728e+04 1.93e+04 5.52e-17 5.32e+00 1s
Writing constraints.: 31%|███ | 8/26 [00:00<00:00, 36.19it/s] Writing constraints.: 42%|████▏ | 11/26 [00:00<00:00, 51.32it/s] Writing constraints.: 38%|███▊ | 10/26 [00:00<00:00, 40.56it/s] Writing constraints.: 69%|██████▉ | 18/26 [00:00<00:00, 56.51it/s] Writing constraints.: 46%|████▌ | 12/26 [00:00<00:00, 29.42it/s]
10 -3.40049956e+04 -7.12550080e+04 1.73e+04 6.61e-17 4.87e+00 1s 11 -3.72395168e+04 -6.50963042e+04 1.28e+04 9.06e-17 3.63e+00 1s 12 -3.88774469e+04 -6.38811122e+04 1.01e+04 6.42e-17 3.23e+00 1s 13 -4.06414658e+04 -5.75141339e+04 6.93e+03 6.29e-17 2.18e+00 1s 14 -4.19747343e+04 -5.21926614e+04 4.61e+03 5.22e-08 1.33e+00 1s 15 -4.26062544e+04 -4.78742198e+04 3.44e+03 1.00e-07 7.09e-01 1s 16 -4.32446374e+04 -4.67751030e+04 2.13e+03 9.05e-08 4.74e-01 1s 17 -4.36713853e+04 -4.57448106e+04 1.20e+03 7.19e-08 2.79e-01 1s
Writing constraints.: 58%|█████▊ | 15/26 [00:00<00:00, 41.51it/s] Writing constraints.: 65%|██████▌ | 17/26 [00:00<00:00, 33.21it/s] Writing constraints.: 92%|█████████▏| 24/26 [00:00<00:00, 49.48it/s] Writing constraints.: 100%|██████████| 26/26 [00:00<00:00, 50.76it/s] Writing continuous variables.: 0%| | 0/12 [00:00<?, ?it/s] Writing constraints.: 77%|███████▋ | 20/26 [00:00<00:00, 34.67it/s] Writing constraints.: 81%|████████ | 21/26 [00:00<00:00, 33.11it/s]
18 -4.41691203e+04 -4.44303287e+04 1.28e+02 4.08e-08 3.73e-02 1s
19 -4.42410242e+04 -4.42652639e+04 1.36e+00 1.09e-08 3.82e-03 1s
20 -4.42423713e+04 -4.42522352e+04 1.82e-02 5.48e-09 1.63e-03 1s
Set parameter WLSAccessID
Set parameter WLSSecret
Set parameter LicenseID to value 2537914
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
21 -4.42426004e+04 -4.42323175e+04 1.40e-03 2.65e-08 7.98e-04 1s
22 -4.42426627e+04 -4.42402991e+04 3.69e-07 3.92e-09 1.29e-05 1s
23 -4.42426812e+04 -4.42427237e+04 7.85e-08 7.24e-11 7.51e-08 1s
24 -4.42426814e+04 -4.42426790e+04 7.89e-08 3.88e-12 1.98e-11 1s
Read LP format model from file /tmp/linopy-problem-kyph3mwd.lp
Reading time = 0.09 seconds
obj: 23383 rows, 10720 columns, 44348 nonzeros
Gurobi Optimizer version 13.0.2 build v13.0.2rc1 (linux64 - "Ubuntu 24.04.5 LTS")
CPU model: AMD EPYC 7763 64-Core Processor, instruction set [SSE2|AVX|AVX2]
Thread count: 2 physical cores, 4 logical processors, using up to 4 threads
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Optimize a model with 23383 rows, 10720 columns and 44348 nonzeros (Min)
Barrier solved model in 24 iterations and 0.93 seconds (0.15 work units)
Optimal objective -4.42426814e+04
Model fingerprint: 0x3dec68b8
Model has 2 linear objective coefficients
Coefficient statistics:
Matrix range [1e-03, 2e+05]
Objective range [2e-01, 1e+00]
Bounds range [0e+00, 0e+00]
RHS range [5e+03, 8e+09]
Warning: Model contains large rhs
Consider reformulating model or setting NumericFocus parameter
to avoid numerical issues.
Crossover log...
Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 116.89it/s] Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 116.59it/s] Writing constraints.: 96%|█████████▌| 25/26 [00:00<00:00, 30.90it/s] Writing constraints.: 92%|█████████▏| 24/26 [00:00<00:00, 31.33it/s] Writing constraints.: 100%|██████████| 26/26 [00:00<00:00, 32.11it/s] Writing continuous variables.: 0%| | 0/12 [00:00<?, ?it/s] Writing constraints.: 100%|██████████| 26/26 [00:00<00:00, 34.17it/s] Writing continuous variables.: 0%| | 0/12 [00:00<?, ?it/s]
Presolve removed 13136 rows and 2416 columns
Presolve time: 0.08s
Presolved: 10247 rows, 8304 columns, 29770 nonzeros
Concurrent LP optimizer: dual simplex and barrier
Showing barrier log only...
5 DPushes remaining with DInf 0.0000000e+00 1s
0 DPushes remaining with DInf 0.0000000e+00 1s
1941 PPushes remaining with PInf 0.0000000e+00 1s
Ordering time: 0.02s
Barrier statistics:
Dense cols : 6
AA' NZ : 2.537e+04
Factor NZ : 1.718e+05 (roughly 9 MB of memory)
Factor Ops : 2.974e+06 (less than 1 second per iteration)
Threads : 1
Objective Residual
Iter Primal Dual Primal Dual Compl Time
0 1.13616314e+04 -5.04837552e+06 7.39e+08 5.16e-02 9.91e+04 0s
Set parameter WLSAccessID
Set parameter WLSSecret
Set parameter LicenseID to value 2537914
1 -2.87740353e+04 -4.65900648e+06 1.13e+08 1.03e-01 5.03e+04 0s
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
2 2.60876559e+04 -1.58314645e+06 6.08e+07 1.55e-03 7.87e+03 0s
0 PPushes remaining with PInf 0.0000000e+00 1s
Push phase complete: Pinf 0.0000000e+00, Dinf 2.2759572e-15 1s
Crossover time: 0.23 seconds (0.07 work units)
Warning: environment still referenced so free is deferred (Continue to use WLS)
Solved with barrier
3 1.12363728e+04 -7.04652301e+05 2.22e+06 8.79e-05 4.37e+02 0s
Iteration Objective Primal Inf. Dual Inf. Time
1949 -4.4242681e+04 0.000000e+00 0.000000e+00 1s
Solved in 1949 iterations and 1.19 seconds (0.23 work units)
Optimal objective -4.424268136e+04
Writing continuous variables.: 75%|███████▌ | 9/12 [00:00<00:00, 81.91it/s] Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 83.71it/s] Writing continuous variables.: 50%|█████ | 6/12 [00:00<00:00, 57.52it/s] Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 50.58it/s] Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 51.45it/s]
4 1.03399964e+04 -2.32747086e+05 4.85e+05 3.62e-06 9.40e+01 0s
Read LP format model from file /tmp/linopy-problem-tmb6_fsv.lp
Reading time = 0.09 seconds
obj: 23383 rows, 10720 columns, 44348 nonzeros
Gurobi Optimizer version 13.0.2 build v13.0.2rc1 (linux64 - "Ubuntu 24.04.5 LTS")
CPU model: AMD EPYC 7763 64-Core Processor, instruction set [SSE2|AVX|AVX2]
Thread count: 2 physical cores, 4 logical processors, using up to 4 threads
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Optimize a model with 23383 rows, 10720 columns and 44348 nonzeros (Min)
Model fingerprint: 0xb9f11050
Model has 2 linear objective coefficients
Coefficient statistics:
Matrix range [1e-03, 2e+05]
Objective range [8e-02, 1e+00]
Bounds range [0e+00, 0e+00]
RHS range [5e+03, 8e+09]
Warning: Model contains large rhs
Consider reformulating model or setting NumericFocus parameter
to avoid numerical issues.
5 8.52057046e+03 -9.47358289e+04 1.71e+05 6.13e-07 3.20e+01 0s
6 7.01841528e+03 -5.31596864e+04 1.22e+05 2.06e-07 1.83e+01 0s
Set parameter WLSAccessID
Set parameter WLSSecret
Set parameter LicenseID to value 2537914
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Presolve removed 13136 rows and 2416 columns
Presolve time: 0.08s
Presolved: 10247 rows, 8304 columns, 29770 nonzeros
Concurrent LP optimizer: dual simplex and barrier
Showing barrier log only...
7 5.33339971e+03 -3.67176297e+04 8.86e+04 2.14e-07 1.25e+01 0s
8 2.89795336e+03 -2.75324560e+04 2.49e+04 2.31e-07 7.98e+00 0s
Ordering time: 0.02s
9 1.19256223e+03 -1.98472042e+04 1.65e+04 2.99e-07 5.48e+00 0s
Barrier statistics:
Dense cols : 6
AA' NZ : 2.537e+04
Factor NZ : 1.718e+05 (roughly 9 MB of memory)
Factor Ops : 2.974e+06 (less than 1 second per iteration)
Threads : 1
10 8.30536072e+01 -1.75499117e+04 1.19e+04 3.22e-07 4.55e+00 0s
Objective Residual
Iter Primal Dual Primal Dual Compl Time
0 4.31423859e+04 -3.09217857e+06 7.39e+08 1.89e-02 1.21e+05 0s
11 -1.58192625e+02 -1.64292983e+04 9.22e+03 3.26e-07 4.16e+00 0s
1 8.83293253e+04 -2.93045174e+06 1.11e+08 1.31e-01 6.40e+04 0s
12 -8.23101764e+02 -1.21177495e+04 7.02e+03 3.36e-07 2.90e+00 0s
2 1.48065230e+05 -1.02565021e+06 5.80e+07 2.60e-03 1.10e+04 0s
Read LP format model from file /tmp/linopy-problem-_womjc0z.lp
Reading time = 0.14 seconds
obj: 23383 rows, 10720 columns, 44348 nonzeros
Gurobi Optimizer version 13.0.2 build v13.0.2rc1 (linux64 - "Ubuntu 24.04.5 LTS")
CPU model: AMD EPYC 7763 64-Core Processor, instruction set [SSE2|AVX|AVX2]
Thread count: 2 physical cores, 4 logical processors, using up to 4 threads
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Optimize a model with 23383 rows, 10720 columns and 44348 nonzeros (Min)
13 -9.40926282e+02 -1.11083430e+04 6.63e+03 3.22e-07 2.62e+00 0s
Model fingerprint: 0x21ecaa01
Model has 2 linear objective coefficients
Coefficient statistics:
Matrix range [1e-03, 2e+05]
Objective range [7e-03, 1e+00]
Bounds range [0e+00, 0e+00]
RHS range [5e+03, 8e+09]
Warning: Model contains large rhs
Consider reformulating model or setting NumericFocus parameter
to avoid numerical issues.
3 1.99941251e+04 -4.62367277e+05 2.96e+06 1.56e-04 7.48e+02 0s
14 -1.69114759e+03 -8.41915691e+03 3.88e+03 3.02e-07 1.73e+00 1s
15 -1.86622191e+03 -7.20392560e+03 3.38e+03 2.64e-07 1.38e+00 1s
4 1.56742941e+04 -1.33080107e+05 5.06e+05 1.02e-06 1.25e+02 0s
16 -1.87431832e+03 -6.93743246e+03 3.23e+03 2.62e-07 1.31e+00 1s
5 1.31550880e+04 -7.21680884e+04 2.18e+05 3.77e-16 5.74e+01 0s
Presolve removed 13136 rows and 2416 columns
Presolve time: 0.09s
Presolved: 10247 rows, 8304 columns, 29770 nonzeros
Concurrent LP optimizer: dual simplex and barrier
Showing barrier log only...
17 -2.29249675e+03 -6.50817196e+03 1.41e+03 2.54e-07 1.08e+00 1s
6 1.15746784e+04 -3.28219428e+04 1.45e+05 5.00e-16 3.06e+01 0s
18 -2.47155278e+03 -5.35381786e+03 8.18e+02 1.81e-07 7.34e-01 1s
0 PPushes remaining with PInf 0.0000000e+00 2s
Push phase complete: Pinf 0.0000000e+00, Dinf 9.8017452e-04 2s
7 9.21803863e+03 -2.18156102e+04 9.07e+04 1.39e-16 2.01e+01 0s
Ordering time: 0.03s
Iteration Objective Primal Inf. Dual Inf. Time
3610 3.3601172e+04 0.000000e+00 9.801745e-04 2s
Crossover time: 1.32 seconds (0.45 work units)
Solved with barrier
19 -2.53184796e+03 -4.70241273e+03 6.47e+02 1.29e-07 5.52e-01 1s
Barrier statistics:
Dense cols : 6
AA' NZ : 2.537e+04
Factor NZ : 1.718e+05 (roughly 9 MB of memory)
Factor Ops : 2.974e+06 (less than 1 second per iteration)
Threads : 1
8 6.74319739e+03 -1.54193511e+04 5.76e+04 1.57e-16 1.37e+01 0s
20 -2.54979860e+03 -4.38178086e+03 5.64e+02 1.09e-07 4.66e-01 1s
3611 3.3601172e+04 0.000000e+00 0.000000e+00 2s
Solved in 3611 iterations and 1.93 seconds (0.60 work units)
Optimal objective 3.360117210e+04
21 -2.58875706e+03 -4.23354717e+03 4.25e+02 1.00e-07 4.17e-01 1s
9 7.22122286e+03 -1.11560569e+04 5.35e+04 1.11e-16 1.15e+01 0s
Objective Residual
Iter Primal Dual Primal Dual Compl Time
0 -2.19660480e+04 -1.12305307e+07 7.39e+08 4.70e-01 8.82e+05 0s
22 -2.70556074e+03 -3.63368938e+03 1.12e+02 4.06e-08 2.31e-01 1s
10 5.63763014e+03 -5.11565868e+03 3.19e+04 1.53e-16 6.65e+00 0s
1 -3.63883598e+05 -9.81238554e+06 1.06e+08 9.15e-01 4.28e+05 0s
23 -2.72382720e+03 -3.53863008e+03 6.92e+01 3.08e-08 2.02e-01 1s
Warning: environment still referenced so free is deferred (Continue to use WLS)
24 -2.73133842e+03 -3.50912555e+03 6.21e+01 2.68e-08 1.92e-01 1s
2 -2.46359593e+05 -3.64658134e+06 5.66e+07 1.03e-02 6.96e+04 0s
11 4.62923057e+03 -2.25330170e+03 1.74e+04 1.17e-15 4.09e+00 0s
25 -2.74804264e+03 -3.46074254e+03 3.59e+01 2.28e-08 1.75e-01 1s
3 -2.89942009e+04 -1.66956583e+06 1.40e+06 1.67e-04 3.14e+03 0s
12 4.36345488e+03 -1.60294642e+03 1.43e+04 1.09e-16 3.50e+00 0s
26 -2.75266635e+03 -3.28125972e+03 2.81e+01 1.83e-08 1.30e-01 1s
27 -2.77211198e+03 -2.97777797e+03 3.03e+00 5.07e-09 5.01e-02 1s
4 -2.77456955e+04 -4.35023212e+05 4.20e+05 4.70e-15 6.17e+02 0s
13 4.18642454e+03 5.10089357e+02 7.21e+03 4.44e-16 2.07e+00 1s
28 -2.77635269e+03 -2.78872791e+03 1.46e+00 1.13e-09 3.14e-03 1s
5 -2.94344446e+04 -2.04337421e+05 1.63e+05 1.69e-15 2.14e+02 0s
29 -2.77912387e+03 -2.78488737e+03 6.02e-01 8.18e-10 1.49e-03 1s
14 3.78714344e+03 1.66838140e+03 2.95e+03 1.40e-16 1.14e+00 1s
30 -2.77963331e+03 -2.78113112e+03 4.43e-01 3.28e-10 3.92e-04 1s
15 3.70918135e+03 2.27714150e+03 2.24e+03 1.08e-16 7.79e-01 1s
6 -3.13265735e+04 -1.39324654e+05 1.05e+05 9.66e-16 1.24e+02 0s
16 3.66512383e+03 2.36370007e+03 1.95e+03 5.22e-09 7.05e-01 1s
31 -2.78105609e+03 -2.78104151e+03 6.44e-04 2.16e-10 8.88e-06 1s
7 -3.31159539e+04 -1.07962513e+05 7.62e+04 7.52e-16 8.39e+01 0s
17 3.58880817e+03 2.90864626e+03 1.07e+03 1.61e-09 3.70e-01 1s
8 -3.56123436e+04 -9.93769585e+04 5.58e+04 6.36e-16 6.95e+01 0s
18 3.48182953e+03 3.33959879e+03 2.28e+02 7.61e-09 7.73e-02 1s
32 -2.78107127e+03 -2.78098205e+03 5.83e-06 1.86e-10 1.88e-07 1s
19 3.45467701e+03 3.41629330e+03 5.64e+01 1.80e-16 2.08e-02 1s
9 -4.00999579e+04 -9.02012384e+04 3.92e+04 6.90e-16 5.34e+01 0s
33 -2.78107159e+03 -2.78106704e+03 1.03e-07 9.68e-12 7.29e-10 1s
Barrier solved model in 33 iterations and 0.93 seconds (0.20 work units)
Optimal objective -2.78107159e+03
20 3.44496224e+03 3.43520437e+03 4.96e+00 3.27e-10 4.96e-03 1s
Crossover log...
10 -4.10598914e+04 -8.23956693e+04 3.58e+04 5.25e-16 4.42e+01 0s
21 3.44380903e+03 3.44399415e+03 1.28e-01 8.05e-09 1.87e-04 1s
22 3.44377126e+03 3.44379855e+03 3.60e-04 8.72e-10 1.46e-05 1s
11 -4.33998101e+04 -7.42194771e+04 1.42e+04 4.31e-16 3.13e+01 0s
23 3.44375210e+03 3.44384794e+03 5.96e-05 1.64e-09 2.32e-06 1s
12 -4.65352055e+04 -7.02213478e+04 9.48e+03 1.91e-16 2.38e+01 0s
24 3.44374908e+03 3.44378619e+03 1.96e-06 6.17e-10 3.20e-07 1s
3 DPushes remaining with DInf 0.0000000e+00 1s
25 3.44374866e+03 3.44375083e+03 3.03e-08 3.58e-11 1.88e-09 1s
Barrier solved model in 25 iterations and 0.73 seconds (0.16 work units)
Optimal objective 3.44374866e+03
0 DPushes remaining with DInf 0.0000000e+00 1s
1615 PPushes remaining with PInf 0.0000000e+00 1s
Crossover log...
13 -4.69690661e+04 -6.50527493e+04 8.67e+03 1.49e-16 1.83e+01 1s
22 DPushes remaining with DInf 0.0000000e+00 1s
14 -4.87719066e+04 -5.62653561e+04 4.31e+03 3.59e-16 7.65e+00 1s
0 DPushes remaining with DInf 0.0000000e+00 1s
1350 PPushes remaining with PInf 0.0000000e+00 1s
15 -4.91426788e+04 -5.57170490e+04 3.70e+03 2.70e-16 6.70e+00 1s
16 -4.96445265e+04 -5.49500048e+04 2.26e+03 3.04e-16 5.34e+00 1s
0 PPushes remaining with PInf 0.0000000e+00 1s
17 -4.96238327e+04 -5.20710498e+04 1.95e+03 2.41e-16 2.53e+00 1s
Push phase complete: Pinf 0.0000000e+00, Dinf 3.1641356e-15 1s
Crossover time: 0.14 seconds (0.05 work units)
Solved with barrier
0 PPushes remaining with PInf 0.0000000e+00 1s
Push phase complete: Pinf 0.0000000e+00, Dinf 1.9914626e-15 1s
Crossover time: 0.23 seconds (0.07 work units)
18 -5.02657255e+04 -5.10860099e+04 6.76e+02 3.17e-16 8.48e-01 1s
Iteration Objective Primal Inf. Dual Inf. Time
1375 3.4437487e+03 0.000000e+00 0.000000e+00 1s
Solved in 1375 iterations and 0.88 seconds (0.21 work units)
Optimal objective 3.443748662e+03
Solved with barrier
19 -5.04442428e+04 -5.07514009e+04 3.35e+02 1.83e-09 3.24e-01 1s
20 -5.05797405e+04 -5.06656563e+04 9.54e+01 2.76e-09 9.07e-02 1s
Iteration Objective Primal Inf. Dual Inf. Time
1621 -2.7810716e+03 0.000000e+00 0.000000e+00 1s
Solved in 1621 iterations and 1.20 seconds (0.27 work units)
Optimal objective -2.781071592e+03
21 -5.06306241e+04 -5.06527961e+04 6.63e+00 2.78e-09 2.19e-02 1s
22 -5.06328093e+04 -5.06380579e+04 3.39e+00 7.49e-10 5.33e-03 1s
23 -5.06339486e+04 -5.06362525e+04 1.70e+00 5.64e-10 2.36e-03 1s
24 -5.06347052e+04 -5.06352029e+04 4.99e-01 2.53e-10 5.20e-04 1s
25 -5.06350020e+04 -5.06350313e+04 2.35e-02 8.44e-11 3.02e-05 1s
26 -5.06350236e+04 -5.06350236e+04 2.13e-07 1.27e-11 4.91e-08 1s
27 -5.06350236e+04 -5.06350236e+04 8.66e-08 1.86e-14 4.91e-11 1s
Barrier solved model in 27 iterations and 0.87 seconds (0.17 work units)
Optimal objective -5.06350236e+04
Crossover log...
6 DPushes remaining with DInf 0.0000000e+00 1s
0 DPushes remaining with DInf 0.0000000e+00 1s
1968 PPushes remaining with PInf 0.0000000e+00 1s
0 PPushes remaining with PInf 0.0000000e+00 1s
Push phase complete: Pinf 0.0000000e+00, Dinf 9.1419927e-15 1s
Crossover time: 0.21 seconds (0.06 work units)
Solved with barrier
Iteration Objective Primal Inf. Dual Inf. Time
1977 -5.0635024e+04 0.000000e+00 0.000000e+00 1s
Solved in 1977 iterations and 1.11 seconds (0.23 work units)
Optimal objective -5.063502359e+04
Warning: environment still referenced so free is deferred (Continue to use WLS)
Warning: environment still referenced so free is deferred (Continue to use WLS)
Warning: environment still referenced so free is deferred (Continue to use WLS)
Warning: environment still referenced so free is deferred (Continue to use WLS)
Warning: environment still referenced so free is deferred (Continue to use WLS)
Warning: environment still referenced so free is deferred (Continue to use WLS)
/home/runner/work/PyPSA/PyPSA/pypsa/network/io.py:2085: FutureWarning: pandas infers the `str` dtype for string data since its version 3.0. PyPSA still converts it back to numpy object dtype on import, but will keep it from PyPSA 2.0 on. Set `pypsa.options.api.legacy_string_dtype` explicitly to suppress this warning. new_static = _coerce_string_dtypes(new_static)
/home/runner/work/PyPSA/PyPSA/pypsa/network/io.py:2085: FutureWarning: pandas infers the `str` dtype for string data since its version 3.0. PyPSA still converts it back to numpy object dtype on import, but will keep it from PyPSA 2.0 on. Set `pypsa.options.api.legacy_string_dtype` explicitly to suppress this warning. new_static = _coerce_string_dtypes(new_static)
/home/runner/work/PyPSA/PyPSA/pypsa/network/io.py:2085: FutureWarning: pandas infers the `str` dtype for string data since its version 3.0. PyPSA still converts it back to numpy object dtype on import, but will keep it from PyPSA 2.0 on. Set `pypsa.options.api.legacy_string_dtype` explicitly to suppress this warning. new_static = _coerce_string_dtypes(new_static)
/home/runner/work/PyPSA/PyPSA/pypsa/network/io.py:2085: FutureWarning: pandas infers the `str` dtype for string data since its version 3.0. PyPSA still converts it back to numpy object dtype on import, but will keep it from PyPSA 2.0 on. Set `pypsa.options.api.legacy_string_dtype` explicitly to suppress this warning. new_static = _coerce_string_dtypes(new_static) /home/runner/work/PyPSA/PyPSA/pypsa/network/io.py:2085: FutureWarning: pandas infers the `str` dtype for string data since its version 3.0. PyPSA still converts it back to numpy object dtype on import, but will keep it from PyPSA 2.0 on. Set `pypsa.options.api.legacy_string_dtype` explicitly to suppress this warning. new_static = _coerce_string_dtypes(new_static)
/home/runner/work/PyPSA/PyPSA/pypsa/network/io.py:2085: FutureWarning: pandas infers the `str` dtype for string data since its version 3.0. PyPSA still converts it back to numpy object dtype on import, but will keep it from PyPSA 2.0 on. Set `pypsa.options.api.legacy_string_dtype` explicitly to suppress this warning. new_static = _coerce_string_dtypes(new_static)
/home/runner/work/PyPSA/PyPSA/pypsa/network/io.py:2085: FutureWarning: pandas infers the `str` dtype for string data since its version 3.0. PyPSA still converts it back to numpy object dtype on import, but will keep it from PyPSA 2.0 on. Set `pypsa.options.api.legacy_string_dtype` explicitly to suppress this warning. new_static = _coerce_string_dtypes(new_static)
/opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/contextlib.py:85: FutureWarning: The default value of `include_objective_constant` will change from True to False in version 2.0. Set `include_objective_constant` explicitly to suppress this warning. Using False improves LP numerical conditioning by not including the objective constant as a variable. return func(*args, **kwds) /opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/contextlib.py:85: FutureWarning: The default value of `include_objective_constant` will change from True to False in version 2.0. Set `include_objective_constant` explicitly to suppress this warning. Using False improves LP numerical conditioning by not including the objective constant as a variable. return func(*args, **kwds)
/opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/contextlib.py:85: FutureWarning: The default value of `include_objective_constant` will change from True to False in version 2.0. Set `include_objective_constant` explicitly to suppress this warning. Using False improves LP numerical conditioning by not including the objective constant as a variable. return func(*args, **kwds)
/home/runner/work/PyPSA/PyPSA/pypsa/network/io.py:2085: FutureWarning: pandas infers the `str` dtype for string data since its version 3.0. PyPSA still converts it back to numpy object dtype on import, but will keep it from PyPSA 2.0 on. Set `pypsa.options.api.legacy_string_dtype` explicitly to suppress this warning. new_static = _coerce_string_dtypes(new_static) /opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/contextlib.py:85: FutureWarning: The default value of `include_objective_constant` will change from True to False in version 2.0. Set `include_objective_constant` explicitly to suppress this warning. Using False improves LP numerical conditioning by not including the objective constant as a variable. return func(*args, **kwds)
/opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/contextlib.py:85: FutureWarning: The default value of `include_objective_constant` will change from True to False in version 2.0. Set `include_objective_constant` explicitly to suppress this warning. Using False improves LP numerical conditioning by not including the objective constant as a variable. return func(*args, **kwds)
/opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/contextlib.py:85: FutureWarning: The default value of `include_objective_constant` will change from True to False in version 2.0. Set `include_objective_constant` explicitly to suppress this warning. Using False improves LP numerical conditioning by not including the objective constant as a variable. return func(*args, **kwds)
/opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/contextlib.py:85: FutureWarning: The default value of `include_objective_constant` will change from True to False in version 2.0. Set `include_objective_constant` explicitly to suppress this warning. Using False improves LP numerical conditioning by not including the objective constant as a variable. return func(*args, **kwds)
/opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/contextlib.py:85: FutureWarning: The default value of `include_objective_constant` will change from True to False in version 2.0. Set `include_objective_constant` explicitly to suppress this warning. Using False improves LP numerical conditioning by not including the objective constant as a variable. return func(*args, **kwds)
Writing constraints.: 0%| | 0/26 [00:00<?, ?it/s] Writing constraints.: 0%| | 0/26 [00:00<?, ?it/s] Writing constraints.: 31%|███ | 8/26 [00:00<00:00, 68.96it/s] Writing constraints.: 15%|█▌ | 4/26 [00:00<00:00, 34.32it/s]
Writing constraints.: 65%|██████▌ | 17/26 [00:00<00:00, 71.35it/s] Writing constraints.: 31%|███ | 8/26 [00:00<00:00, 31.34it/s] Writing constraints.: 0%| | 0/26 [00:00<?, ?it/s] Writing constraints.: 46%|████▌ | 12/26 [00:00<00:00, 33.82it/s] Writing constraints.: 96%|█████████▌| 25/26 [00:00<00:00, 61.59it/s] Writing constraints.: 100%|██████████| 26/26 [00:00<00:00, 64.67it/s] Writing continuous variables.: 0%| | 0/12 [00:00<?, ?it/s] Writing constraints.: 19%|█▉ | 5/26 [00:00<00:00, 49.64it/s]
Writing constraints.: 73%|███████▎ | 19/26 [00:00<00:00, 43.73it/s] Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 115.45it/s] Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 115.21it/s] Writing constraints.: 0%| | 0/26 [00:00<?, ?it/s] Writing constraints.: 100%|██████████| 26/26 [00:00<00:00, 46.40it/s] Writing continuous variables.: 0%| | 0/12 [00:00<?, ?it/s] Writing constraints.: 38%|███▊ | 10/26 [00:00<00:00, 37.27it/s] Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 251.04it/s] Writing constraints.: 19%|█▉ | 5/26 [00:00<00:00, 36.99it/s] Writing constraints.: 65%|██████▌ | 17/26 [00:00<00:00, 48.54it/s]
Set parameter WLSAccessID
Set parameter WLSSecret
Set parameter LicenseID to value 2537914
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Set parameter WLSAccessID
Set parameter WLSSecret
Set parameter LicenseID to value 2537914
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Read LP format model from file /tmp/linopy-problem-yktp0gdp.lp
Reading time = 0.12 seconds
obj: 23383 rows, 10720 columns, 44348 nonzeros
Gurobi Optimizer version 13.0.2 build v13.0.2rc1 (linux64 - "Ubuntu 24.04.5 LTS")
CPU model: AMD EPYC 7763 64-Core Processor, instruction set [SSE2|AVX|AVX2]
Thread count: 2 physical cores, 4 logical processors, using up to 4 threads
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Optimize a model with 23383 rows, 10720 columns and 44348 nonzeros (Min)
Model fingerprint: 0x4e5cc8ed
Model has 2 linear objective coefficients
Coefficient statistics:
Matrix range [1e-03, 2e+05]
Objective range [7e-01, 8e-01]
Bounds range [0e+00, 0e+00]
RHS range [5e+03, 8e+09]
Warning: Model contains large rhs
Consider reformulating model or setting NumericFocus parameter
to avoid numerical issues.
Read LP format model from file /tmp/linopy-problem-q47inn6w.lp
Reading time = 0.06 seconds
obj: 23383 rows, 10720 columns, 44348 nonzeros
Gurobi Optimizer version 13.0.2 build v13.0.2rc1 (linux64 - "Ubuntu 24.04.5 LTS")
CPU model: AMD EPYC 7763 64-Core Processor, instruction set [SSE2|AVX|AVX2]
Thread count: 2 physical cores, 4 logical processors, using up to 4 threads
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Optimize a model with 23383 rows, 10720 columns and 44348 nonzeros (Min)
Model fingerprint: 0xd1ac6ba7
Model has 2 linear objective coefficients
Coefficient statistics:
Matrix range [1e-03, 2e+05]
Objective range [5e-01, 8e-01]
Bounds range [0e+00, 0e+00]
RHS range [5e+03, 8e+09]
Warning: Model contains large rhs
Consider reformulating model or setting NumericFocus parameter
to avoid numerical issues.
Presolve removed 13136 rows and 2416 columns
Presolve time: 0.04s
Presolved: 10247 rows, 8304 columns, 29770 nonzeros
Concurrent LP optimizer: dual simplex and barrier
Showing barrier log only...
Ordering time: 0.02s
Presolve removed 13136 rows and 2416 columns
Presolve time: 0.09s
Presolved: 10247 rows, 8304 columns, 29770 nonzeros
Concurrent LP optimizer: dual simplex and barrier
Showing barrier log only...
Barrier statistics:
Dense cols : 6
AA' NZ : 2.537e+04
Factor NZ : 1.718e+05 (roughly 9 MB of memory)
Factor Ops : 2.974e+06 (less than 1 second per iteration)
Threads : 1
Objective Residual
Iter Primal Dual Primal Dual Compl Time
0 5.23804771e+03 -9.61937235e+06 7.39e+08 5.03e-02 9.45e+04 0s
Ordering time: 0.02s
Barrier statistics:
Dense cols : 6
AA' NZ : 2.537e+04
Factor NZ : 1.718e+05 (roughly 9 MB of memory)
Factor Ops : 2.974e+06 (less than 1 second per iteration)
1 -1.32165989e+05 -8.45078634e+06 1.06e+08 9.83e-02 4.60e+04 0s
Threads : 1
2 -8.06532936e+04 -3.03852630e+06 5.67e+07 1.12e-03 7.34e+03 0s
Objective Residual
Iter Primal Dual Primal Dual Compl Time
0 -1.24165026e+04 -1.37319655e+07 7.39e+08 7.19e-02 1.35e+05 0s
3 -1.12796177e+04 -1.39495890e+06 1.58e+06 2.37e-05 3.51e+02 0s
1 -3.60465678e+05 -1.27128049e+07 1.13e+08 1.32e-01 6.90e+04 0s
4 -1.09557719e+04 -3.54163096e+05 4.54e+05 6.01e-16 6.72e+01 0s
5 -1.37095298e+04 -1.76145066e+05 2.13e+05 2.06e-16 2.65e+01 0s
2 -2.59420961e+05 -4.44558269e+06 6.21e+07 2.45e-03 1.13e+04 0s
6 -1.78634229e+04 -1.11295593e+05 1.46e+05 1.38e-16 1.46e+01 0s
3 -1.50747874e+04 -1.97942380e+06 2.30e+06 1.35e-04 6.22e+02 0s
7 -2.37863057e+04 -8.84621975e+04 9.00e+04 8.89e-17 9.63e+00 0s
8 -2.80386231e+04 -7.73437508e+04 6.66e+04 8.36e-17 7.20e+00 0s
Writing constraints.: 35%|███▍ | 9/26 [00:00<00:00, 33.67it/s] Writing constraints.: 65%|██████▌ | 17/26 [00:00<00:00, 47.73it/s] Writing constraints.: 88%|████████▊ | 23/26 [00:00<00:00, 34.99it/s]
9 -2.68635637e+04 -7.15273893e+04 6.51e+04 7.14e-17 6.56e+00 0s 4 -9.87742089e+03 -6.20783943e+05 4.54e+05 3.40e-06 1.17e+02 0s 10 -3.08315800e+04 -6.20297392e+04 2.75e+04 7.18e-17 4.22e+00 0s 5 -1.13503570e+04 -2.80903054e+05 1.38e+05 4.36e-07 3.98e+01 0s 11 -3.37666194e+04 -5.24101654e+04 1.81e+04 7.19e-17 2.53e+00 0s 12 -3.47553308e+04 -5.15689894e+04 1.34e+04 8.60e-17 2.24e+00 0s 6 -1.48543534e+04 -1.15736505e+05 8.11e+04 1.76e-16 1.46e+01 0s 13 -3.48306707e+04 -4.95513200e+04 1.18e+04 6.34e-17 1.96e+00 0s 7 -1.70519438e+04 -8.66625448e+04 6.51e+04 1.41e-16 9.92e+00 0s 14 -3.58408599e+04 -4.73171562e+04 8.92e+03 6.92e-17 1.52e+00 0s 15 -3.58371354e+04 -4.63732973e+04 6.91e+03 2.79e-10 1.37e+00 0s 8 -2.25314438e+04 -7.75274148e+04 2.97e+04 1.10e-16 7.30e+00 0s 16 -3.65781973e+04 -4.08202234e+04 3.61e+03 1.42e-09 5.62e-01 0s 9 -2.49578226e+04 -6.15143159e+04 2.20e+04 9.87e-17 4.85e+00 0s 17 -3.69708516e+04 -3.83830472e+04 1.97e+03 1.11e-09 1.97e-01 0s 10 -2.77051983e+04 -5.88027056e+04 1.63e+04 9.15e-17 4.07e+00 0s 18 -3.71847959e+04 -3.79339600e+04 1.11e+03 1.65e-08 1.05e-01 0s 19 -3.72474350e+04 -3.77796335e+04 8.69e+02 1.53e-08 7.53e-02 0s 11 -2.87061596e+04 -4.99046378e+04 1.42e+04 6.58e-17 2.82e+00 0s 20 -3.73898927e+04 -3.76410005e+04 2.89e+02 8.64e-09 3.39e-02 0s
Writing constraints.: 88%|████████▊ | 23/26 [00:00<00:00, 49.14it/s] Writing constraints.: 100%|██████████| 26/26 [00:00<00:00, 35.33it/s] Writing continuous variables.: 0%| | 0/12 [00:00<?, ?it/s] Writing constraints.: 100%|██████████| 26/26 [00:00<00:00, 46.78it/s] Writing continuous variables.: 0%| | 0/12 [00:00<?, ?it/s] Writing continuous variables.: 58%|█████▊ | 7/12 [00:00<00:00, 68.53it/s] Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 136.95it/s]
12 -3.03000550e+04 -4.72483375e+04 1.11e+04 2.99e-08 2.25e+00 1s
Set parameter WLSAccessID
Set parameter WLSSecret
Set parameter LicenseID to value 2537914
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
21 -3.74303479e+04 -3.74977415e+04 1.32e+02 6.36e-09 9.71e-03 1s
22 -3.74558051e+04 -3.74705131e+04 4.41e+01 2.58e-09 2.36e-03 1s
13 -3.05766950e+04 -4.58070189e+04 1.05e+04 5.20e-08 2.03e+00 1s
23 -3.74677894e+04 -3.74687642e+04 1.77e+00 4.84e-10 1.47e-04 1s
14 -3.18179159e+04 -4.23001752e+04 5.51e+03 1.27e-07 1.37e+00 1s
24 -3.74686194e+04 -3.74686341e+04 2.52e-02 3.28e-11 2.05e-06 1s
25 -3.74686309e+04 -3.74686308e+04 2.70e-07 6.76e-13 1.84e-10 1s
Barrier solved model in 25 iterations and 0.58 seconds (0.16 work units)
Optimal objective -3.74686309e+04
15 -3.29209330e+04 -3.91635502e+04 3.10e+03 1.38e-07 8.17e-01 1s
Crossover log...
Set parameter WLSAccessID
Read LP format model from file /tmp/linopy-problem-2hd8y6l3.lp
Reading time = 0.10 seconds
obj: 23383 rows, 10720 columns, 44348 nonzeros
Gurobi Optimizer version 13.0.2 build v13.0.2rc1 (linux64 - "Ubuntu 24.04.5 LTS")
CPU model: AMD EPYC 7763 64-Core Processor, instruction set [SSE2|AVX|AVX2]
Thread count: 2 physical cores, 4 logical processors, using up to 4 threads
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Optimize a model with 23383 rows, 10720 columns and 44348 nonzeros (Min)
Set parameter WLSSecret
Set parameter LicenseID to value 2537914
Model fingerprint: 0xe40a8546
Model has 2 linear objective coefficients
Coefficient statistics:
Matrix range [1e-03, 2e+05]
Objective range [5e-01, 9e-01]
Bounds range [0e+00, 0e+00]
RHS range [5e+03, 8e+09]
Warning: Model contains large rhs
Consider reformulating model or setting NumericFocus parameter
to avoid numerical issues.
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
16 -3.32521850e+04 -3.85347294e+04 2.32e+03 1.16e-07 6.86e-01 1s
11 DPushes remaining with DInf 0.0000000e+00 1s
0 DPushes remaining with DInf 0.0000000e+00 1s
1702 PPushes remaining with PInf 0.0000000e+00 1s
17 -3.38186121e+04 -3.58852982e+04 9.63e+02 1.28e-07 2.75e-01 1s
18 -3.40683556e+04 -3.50769750e+04 5.15e+02 1.07e-07 1.39e-01 1s
Presolve removed 13136 rows and 2416 columns
Presolve time: 0.07s
Presolved: 10247 rows, 8304 columns, 29770 nonzeros
Concurrent LP optimizer: dual simplex and barrier
Showing barrier log only...
19 -3.42950433e+04 -3.45243375e+04 5.99e+01 4.37e-08 3.23e-02 1s
Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 63.25it/s] Writing constraints.: 0%| | 0/26 [00:00<?, ?it/s] Writing constraints.: 0%| | 0/26 [00:00<?, ?it/s]
Ordering time: 0.02s
20 -3.43352789e+04 -3.43585679e+04 1.04e+01 4.28e-08 6.54e-03 1s
0 PPushes remaining with PInf 0.0000000e+00 1s
Push phase complete: Pinf 0.0000000e+00, Dinf 1.1449175e-15 1s
Barrier statistics:
Dense cols : 6
AA' NZ : 2.537e+04
Factor NZ : 1.718e+05 (roughly 9 MB of memory)
Factor Ops : 2.974e+06 (less than 1 second per iteration)
Threads : 1
Crossover time: 0.14 seconds (0.06 work units)
Solved with barrier
21 -3.43443245e+04 -3.43338787e+04 7.81e-01 1.82e-08 2.70e-04 1s
Iteration Objective Primal Inf. Dual Inf. Time
1716 -3.7468631e+04 0.000000e+00 0.000000e+00 1s
Solved in 1716 iterations and 0.73 seconds (0.22 work units)
Optimal objective -3.746863085e+04
Objective Residual
Iter Primal Dual Primal Dual Compl Time
Read LP format model from file /tmp/linopy-problem-6h_8iwtz.lp
Reading time = 0.14 seconds
obj: 23383 rows, 10720 columns, 44348 nonzeros
Gurobi Optimizer version 13.0.2 build v13.0.2rc1 (linux64 - "Ubuntu 24.04.5 LTS")
CPU model: AMD EPYC 7763 64-Core Processor, instruction set [SSE2|AVX|AVX2]
Thread count: 2 physical cores, 4 logical processors, using up to 4 threads
0 -5.01424328e+04 -1.82730917e+07 7.39e+08 9.57e-02 1.79e+05 0s
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Optimize a model with 23383 rows, 10720 columns and 44348 nonzeros (Min)
Model fingerprint: 0x15ea1e34
Model has 2 linear objective coefficients
Coefficient statistics:
Matrix range [1e-03, 2e+05]
Objective range [5e-01, 9e-01]
Bounds range [0e+00, 0e+00]
RHS range [5e+03, 8e+09]
Warning: Model contains large rhs
Consider reformulating model or setting NumericFocus parameter
to avoid numerical issues.
22 -3.43452796e+04 -3.43452286e+04 1.05e-06 8.62e-11 7.50e-07 1s
1 -7.46287516e+05 -1.71241772e+07 1.11e+08 1.92e-01 9.43e+04 0s
23 -3.43452827e+04 -3.43452620e+04 4.98e-08 3.19e-11 1.37e-09 1s
Barrier solved model in 23 iterations and 0.78 seconds (0.15 work units)
Optimal objective -3.43452827e+04
Crossover log...
2 -6.45863548e+05 -6.22117813e+06 6.32e+07 3.60e-03 1.62e+04 0s
Presolve removed 13136 rows and 2416 columns
Presolve time: 0.08s
Presolved: 10247 rows, 8304 columns, 29770 nonzeros
Concurrent LP optimizer: dual simplex and barrier
Showing barrier log only...
4 DPushes remaining with DInf 0.0000000e+00 1s
3 -5.88130076e+04 -2.72791414e+06 2.29e+06 1.53e-04 8.61e+02 0s
0 DPushes remaining with DInf 0.0000000e+00 1s
1926 PPushes remaining with PInf 0.0000000e+00 1s
Ordering time: 0.02s
Barrier statistics:
Dense cols : 6
AA' NZ : 2.537e+04
Factor NZ : 1.718e+05 (roughly 9 MB of memory)
Factor Ops : 2.974e+06 (less than 1 second per iteration)
Threads : 1
4 -4.76844102e+04 -9.19107272e+05 5.17e+05 7.15e-16 1.76e+02 0s
Objective Residual
Iter Primal Dual Primal Dual Compl Time
0 1.06404212e+03 -1.00687702e+07 7.39e+08 5.27e-02 9.89e+04 0s
1 -1.69757865e+05 -8.84390100e+06 1.06e+08 1.03e-01 4.82e+04 0s
Writing constraints.: 12%|█▏ | 3/26 [00:00<00:00, 24.47it/s] Writing constraints.: 19%|█▉ | 5/26 [00:00<00:00, 46.17it/s] Writing constraints.: 27%|██▋ | 7/26 [00:00<00:00, 28.50it/s] Writing constraints.: 38%|███▊ | 10/26 [00:00<00:00, 41.27it/s]
5 -4.75126295e+04 -4.39454591e+05 1.69e+05 4.49e-16 6.00e+01 0s
2 -1.07287735e+05 -3.18551344e+06 5.67e+07 1.15e-03 7.69e+03 0s
0 PPushes remaining with PInf 0.0000000e+00 1s
Push phase complete: Pinf 0.0000000e+00, Dinf 1.6046192e-15 1s
Crossover time: 0.17 seconds (0.08 work units)
Solved with barrier
3 -1.42096697e+04 -1.46307192e+06 1.55e+06 2.34e-05 3.64e+02 0s
6 -4.93206941e+04 -1.77006011e+05 1.02e+05 3.09e-16 1.90e+01 0s
Iteration Objective Primal Inf. Dual Inf. Time
1933 -3.4345283e+04 0.000000e+00 0.000000e+00 1s
Solved in 1933 iterations and 0.97 seconds (0.23 work units)
Optimal objective -3.434528269e+04
4 -1.35555801e+04 -3.92314221e+05 4.50e+05 4.69e-16 7.34e+01 0s
7 -5.28618646e+04 -1.40189950e+05 6.45e+04 2.07e-16 1.23e+01 0s
5 -1.66012714e+04 -1.72826466e+05 1.68e+05 1.52e-16 2.41e+01 0s
6 -2.01390029e+04 -1.08937991e+05 1.18e+05 1.15e-16 1.34e+01 0s
8 -5.65777813e+04 -1.07521684e+05 3.50e+04 1.36e-16 6.85e+00 0s
7 -2.55902719e+04 -9.47704974e+04 7.96e+04 1.27e-16 1.00e+01 0s
8 -2.95845802e+04 -7.85205677e+04 5.91e+04 8.72e-17 7.00e+00 0s
9 -5.86988723e+04 -1.00442789e+05 2.82e+04 1.22e-16 5.58e+00 0s
9 -3.15900326e+04 -7.36770068e+04 4.38e+04 6.69e-17 5.86e+00 0s
10 -3.27459497e+04 -6.50311400e+04 3.09e+04 5.97e-17 4.40e+00 0s
10 -6.01307508e+04 -9.59082121e+04 2.47e+04 1.06e-16 4.77e+00 0s
11 -3.52936415e+04 -5.79188417e+04 2.23e+04 7.00e-17 3.08e+00 0s
12 -3.69254333e+04 -5.21150769e+04 1.68e+04 4.94e-17 2.09e+00 0s
Writing constraints.: 50%|█████ | 13/26 [00:00<00:00, 39.25it/s] Writing constraints.: 58%|█████▊ | 15/26 [00:00<00:00, 42.28it/s] Writing constraints.: 69%|██████▉ | 18/26 [00:00<00:00, 41.59it/s] Writing constraints.: 77%|███████▋ | 20/26 [00:00<00:00, 39.77it/s]
11 -6.23191718e+04 -8.85526856e+04 1.99e+04 7.31e-17 3.53e+00 1s 13 -3.76391272e+04 -5.17680135e+04 1.47e+04 4.33e-17 1.93e+00 0s 14 -3.73032568e+04 -5.07042455e+04 1.42e+04 4.58e-17 1.83e+00 0s 12 -6.49713218e+04 -8.37278295e+04 1.33e+04 3.05e-17 2.50e+00 1s 15 -3.83208777e+04 -4.82294517e+04 8.41e+03 5.28e-17 1.32e+00 0s 16 -3.96485963e+04 -4.17585357e+04 1.79e+03 3.88e-17 2.79e-01 0s 13 -6.57350387e+04 -8.25614938e+04 1.14e+04 5.26e-17 2.23e+00 1s 17 -3.98540825e+04 -4.16591474e+04 1.11e+03 6.86e-10 2.32e-01 0s 18 -3.99730054e+04 -4.08942942e+04 7.53e+02 1.24e-09 1.21e-01 0s 14 -6.80280784e+04 -7.73863602e+04 4.84e+03 7.06e-17 1.21e+00 1s 19 -4.00667803e+04 -4.05336132e+04 4.58e+02 6.94e-09 6.21e-02 0s 20 -4.02015470e+04 -4.03410789e+04 9.20e+01 9.44e-09 1.79e-02 1s 21 -4.02354096e+04 -4.03001158e+04 1.01e+01 5.93e-09 7.87e-03 1s 22 -4.02389773e+04 -4.02437930e+04 3.17e+00 2.25e-10 6.17e-04 1s 15 -6.81523213e+04 -7.69081265e+04 4.25e+03 5.75e-17 1.13e+00 1s 23 -4.02412009e+04 -4.02413666e+04 9.18e-02 1.55e-10 1.98e-05 1s 24 -4.02412856e+04 -4.02412864e+04 2.09e-06 9.02e-12 2.63e-08 1s 16 -6.83552750e+04 -7.25538145e+04 3.73e+03 6.69e-17 5.70e-01 1s 25 -4.02412856e+04 -4.02412856e+04 8.61e-09 7.53e-15 2.63e-11 1s Barrier solved model in 25 iterations and 0.56 seconds (0.16 work units) Optimal objective -4.02412856e+04 Crossover log...
Writing constraints.: 0%| | 0/26 [00:00<?, ?it/s] Writing constraints.: 88%|████████▊ | 23/26 [00:00<00:00, 39.20it/s] Writing constraints.: 96%|█████████▌| 25/26 [00:00<00:00, 36.05it/s] Writing constraints.: 19%|█▉ | 5/26 [00:00<00:00, 47.28it/s] Writing constraints.: 100%|██████████| 26/26 [00:00<00:00, 37.52it/s] Writing continuous variables.: 0%| | 0/12 [00:00<?, ?it/s] Writing constraints.: 100%|██████████| 26/26 [00:00<00:00, 35.71it/s] Writing continuous variables.: 0%| | 0/12 [00:00<?, ?it/s]
8 DPushes remaining with DInf 0.0000000e+00 1s
17 -6.90641754e+04 -7.03661602e+04 1.82e+03 2.74e-08 1.89e-01 1s
0 DPushes remaining with DInf 0.0000000e+00 1s
1757 PPushes remaining with PInf 0.0000000e+00 1s
18 -6.96907778e+04 -6.99303019e+04 3.76e+02 2.71e-08 3.64e-02 1s
0 PPushes remaining with PInf 0.0000000e+00 1s
Push phase complete: Pinf 0.0000000e+00, Dinf 6.2493413e-16 1s
Crossover time: 0.07 seconds (0.06 work units)
Solved with barrier
19 -6.97903968e+04 -6.98882695e+04 1.61e+02 7.68e-09 1.48e-02 1s
Iteration Objective Primal Inf. Dual Inf. Time
1768 -4.0241286e+04 0.000000e+00 0.000000e+00 1s
Solved in 1768 iterations and 0.65 seconds (0.22 work units)
Optimal objective -4.024128564e+04
20 -6.98458903e+04 -6.98767065e+04 4.71e+01 5.27e-09 4.74e-03 1s
21 -6.98687188e+04 -6.98688220e+04 1.50e+00 4.83e-09 2.49e-04 1s
22 -6.98697577e+04 -6.98697171e+04 5.66e-07 1.22e-10 3.48e-07 1s
23 -6.98697590e+04 -6.98697588e+04 7.88e-09 5.06e-13 3.48e-10 1s
Barrier solved model in 23 iterations and 0.85 seconds (0.15 work units)
Optimal objective -6.98697590e+04
Crossover log...
119 DPushes remaining with DInf 0.0000000e+00 1s
Writing constraints.: 38%|███▊ | 10/26 [00:00<00:00, 47.49it/s] Writing continuous variables.: 50%|█████ | 6/12 [00:00<00:00, 54.64it/s] Writing continuous variables.: 58%|█████▊ | 7/12 [00:00<00:00, 59.53it/s] Writing constraints.: 65%|██████▌ | 17/26 [00:00<00:00, 52.58it/s] Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 57.36it/s] Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 61.37it/s]
0 DPushes remaining with DInf 0.0000000e+00 1s
2097 PPushes remaining with PInf 0.0000000e+00 1s
Set parameter WLSAccessID
Set parameter WLSSecret
Set parameter LicenseID to value 2537914
Set parameter WLSAccessID
Set parameter WLSSecret
Set parameter LicenseID to value 2537914
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
0 PPushes remaining with PInf 0.0000000e+00 1s
Push phase complete: Pinf 0.0000000e+00, Dinf 2.2655489e-15 1s
Crossover time: 0.26 seconds (0.08 work units)
Solved with barrier
Iteration Objective Primal Inf. Dual Inf. Time
2219 -6.9869759e+04 0.000000e+00 0.000000e+00 1s
Solved in 2219 iterations and 1.14 seconds (0.24 work units)
Optimal objective -6.986975898e+04
Writing constraints.: 88%|████████▊ | 23/26 [00:00<00:00, 53.16it/s] Writing constraints.: 100%|██████████| 26/26 [00:00<00:00, 52.87it/s] Writing continuous variables.: 0%| | 0/12 [00:00<?, ?it/s] Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 122.49it/s]
Read LP format model from file /tmp/linopy-problem-xbhddk54.lp
Reading time = 0.11 seconds
obj: 23383 rows, 10720 columns, 44348 nonzeros
Gurobi Optimizer version 13.0.2 build v13.0.2rc1 (linux64 - "Ubuntu 24.04.5 LTS")
CPU model: AMD EPYC 7763 64-Core Processor, instruction set [SSE2|AVX|AVX2]
Thread count: 2 physical cores, 4 logical processors, using up to 4 threads
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Optimize a model with 23383 rows, 10720 columns and 44348 nonzeros (Min)
Read LP format model from file /tmp/linopy-problem-tps44bxp.lp
Reading time = 0.11 seconds
obj: 23383 rows, 10720 columns, 44348 nonzeros
Gurobi Optimizer version 13.0.2 build v13.0.2rc1 (linux64 - "Ubuntu 24.04.5 LTS")
CPU model: AMD EPYC 7763 64-Core Processor, instruction set [SSE2|AVX|AVX2]
Thread count: 2 physical cores, 4 logical processors, using up to 4 threads
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Optimize a model with 23383 rows, 10720 columns and 44348 nonzeros (Min)
Model fingerprint: 0x931844c0
Model has 2 linear objective coefficients
Coefficient statistics:
Matrix range [1e-03, 2e+05]
Objective range [4e-01, 9e-01]
Bounds range [0e+00, 0e+00]
RHS range [5e+03, 8e+09]
Warning: Model contains large rhs
Consider reformulating model or setting NumericFocus parameter
to avoid numerical issues.
Model fingerprint: 0x97a0b115
Model has 2 linear objective coefficients
Coefficient statistics:
Matrix range [1e-03, 2e+05]
Objective range [4e-01, 9e-01]
Bounds range [0e+00, 0e+00]
RHS range [5e+03, 8e+09]
Warning: Model contains large rhs
Consider reformulating model or setting NumericFocus parameter
to avoid numerical issues.
Warning: environment still referenced so free is deferred (Continue to use WLS)
Presolve removed 13136 rows and 2416 columns
Presolve time: 0.07s
Presolved: 10247 rows, 8304 columns, 29770 nonzeros
Concurrent LP optimizer: dual simplex and barrier
Showing barrier log only...
Presolve removed 13136 rows and 2416 columns
Presolve time: 0.07s
Presolved: 10247 rows, 8304 columns, 29770 nonzeros
Concurrent LP optimizer: dual simplex and barrier
Showing barrier log only...
Ordering time: 0.02s
Ordering time: 0.02s
Set parameter WLSAccessID
Set parameter WLSSecret
Set parameter LicenseID to value 2537914
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Barrier statistics:
Dense cols : 6
AA' NZ : 2.537e+04
Factor NZ : 1.718e+05 (roughly 9 MB of memory)
Factor Ops : 2.974e+06 (less than 1 second per iteration)
Threads : 1
Barrier statistics:
Dense cols : 6
AA' NZ : 2.537e+04
Factor NZ : 1.718e+05 (roughly 9 MB of memory)
Factor Ops : 2.974e+06 (less than 1 second per iteration)
Threads : 1
Objective Residual
Iter Primal Dual Primal Dual Compl Time
Objective Residual
Iter Primal Dual Primal Dual Compl Time
0 4.97691886e+04 -8.49418387e+06 7.34e+08 0.00e+00 8.29e+04 0s
0 3.82232835e+04 -8.49418387e+06 7.35e+08 0.00e+00 8.30e+04 0s
1 3.43686086e+05 -7.94402463e+06 1.12e+08 8.05e-02 4.26e+04 0s
1 2.70460912e+05 -7.92955939e+06 1.13e+08 6.96e-02 4.26e+04 0s
Read LP format model from file /tmp/linopy-problem-n9vkbfkv.lp
Reading time = 0.08 seconds
obj: 23383 rows, 10720 columns, 44348 nonzeros
Gurobi Optimizer version 13.0.2 build v13.0.2rc1 (linux64 - "Ubuntu 24.04.5 LTS")
CPU model: AMD EPYC 7763 64-Core Processor, instruction set [SSE2|AVX|AVX2]
Thread count: 2 physical cores, 4 logical processors, using up to 4 threads
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Optimize a model with 23383 rows, 10720 columns and 44348 nonzeros (Min)
Model fingerprint: 0x58f712b7
Model has 2 linear objective coefficients
Coefficient statistics:
Matrix range [1e-03, 2e+05]
Objective range [7e-01, 7e-01]
Bounds range [0e+00, 0e+00]
RHS range [5e+03, 8e+09]
Warning: Model contains large rhs
Consider reformulating model or setting NumericFocus parameter
to avoid numerical issues.
2 3.78070751e+05 -2.41211563e+06 5.55e+07 1.58e-03 5.83e+03 0s
2 3.31567017e+05 -2.41956135e+06 5.54e+07 1.52e-03 5.80e+03 0s
3 5.30279744e+04 -1.10616654e+06 3.23e+06 1.05e-04 4.48e+02 0s
3 4.84382284e+04 -1.09367193e+06 2.97e+06 8.76e-05 4.19e+02 0s
Warning: environment still referenced so free is deferred (Continue to use WLS)
Presolve removed 13136 rows and 2416 columns
Presolve time: 0.06s
Presolved: 10247 rows, 8304 columns, 29770 nonzeros
Concurrent LP optimizer: dual simplex and barrier
Showing barrier log only...
4 3.98430437e+04 -3.81404034e+05 4.40e+05 3.63e-16 7.86e+01 0s
4 3.81960615e+04 -3.66636623e+05 4.09e+05 1.61e-06 7.37e+01 0s
5 3.81946519e+04 -1.45745807e+05 2.19e+05 1.69e-16 2.96e+01 0s
Ordering time: 0.01s
Barrier statistics:
Dense cols : 6
AA' NZ : 2.537e+04
Factor NZ : 1.718e+05 (roughly 9 MB of memory)
Factor Ops : 2.974e+06 (less than 1 second per iteration)
Threads : 1
6 3.65562787e+04 -2.22711325e+04 1.33e+05 8.02e-17 9.35e+00 0s
5 3.75991883e+04 -1.49255397e+05 1.74e+05 2.58e-07 2.85e+01 0s
Objective Residual
Iter Primal Dual Primal Dual Compl Time
0 -4.80531592e+04 -1.51723394e+07 7.39e+08 7.94e-02 1.49e+05 0s
7 3.11328094e+04 -2.98781047e+03 4.38e+04 7.49e-17 4.68e+00 0s
6 3.70432703e+04 -1.66972190e+04 1.01e+05 8.76e-17 7.92e+00 0s
8 2.93604096e+04 9.79956011e+03 2.90e+04 2.72e-17 2.64e+00 0s
1 -7.02808913e+05 -1.37195685e+07 1.10e+08 1.60e-01 7.66e+04 0s
7 3.46332141e+04 1.43154487e+04 1.08e+04 3.70e-17 2.53e+00 0s
9 2.77830054e+04 1.51973465e+04 1.93e+04 2.68e-17 1.68e+00 0s
2 -5.79132624e+05 -5.05779909e+06 6.08e+07 2.50e-03 1.27e+04 0s
8 3.35063030e+04 2.43638370e+04 5.52e+03 1.87e-07 1.14e+00 0s
10 2.64408368e+04 1.86931386e+04 1.20e+04 1.72e-17 1.02e+00 0s
9 3.23384538e+04 2.70367488e+04 2.47e+03 3.02e-07 6.74e-01 0s 3 -5.34237998e+04 -2.21525225e+06 1.86e+06 1.17e-04 6.19e+02 0s 11 2.56197162e+04 2.05515886e+04 7.32e+03 1.66e-17 6.65e-01 0s 10 3.17927204e+04 2.87735326e+04 1.21e+03 3.24e-07 3.98e-01 0s 12 2.54056741e+04 2.13454415e+04 5.85e+03 9.10e-09 5.32e-01 0s 4 -4.58229938e+04 -7.09072960e+05 4.86e+05 9.43e-16 1.30e+02 0s 13 2.48998729e+04 2.23845590e+04 3.45e+03 6.79e-08 3.29e-01 0s 11 3.14633443e+04 2.94795634e+04 5.57e+02 2.73e-07 2.67e-01 0s 5 -4.58243292e+04 -3.26892345e+05 1.68e+05 2.81e-16 4.31e+01 0s 14 2.44783236e+04 2.37916526e+04 1.36e+03 9.80e-08 9.52e-02 0s 12 3.12802602e+04 3.01757374e+04 2.83e+02 2.63e-07 1.61e-01 0s 6 -4.76483987e+04 -1.58522440e+05 9.73e+04 2.51e-16 1.60e+01 0s 13 3.11508999e+04 3.06402651e+04 1.18e+02 2.37e-07 8.68e-02 1s 7 -5.02064589e+04 -1.23364860e+05 6.16e+04 1.32e-16 1.01e+01 0s 15 2.42707261e+04 2.40160735e+04 4.69e+02 7.30e-08 3.68e-02 1s 16 2.41863042e+04 2.41265008e+04 1.19e+02 3.33e-08 9.41e-03 1s 8 -5.23209310e+04 -1.01751002e+05 4.76e+04 9.86e-17 6.74e+00 0s 14 3.10537399e+04 3.09198133e+04 4.82e+01 2.49e-07 4.46e-02 1s 17 2.41682722e+04 2.41528770e+04 4.33e+01 7.37e-09 2.40e-03 1s 9 -5.45502073e+04 -9.31599772e+04 3.40e+04 9.96e-17 5.17e+00 0s 15 3.10261775e+04 3.11157584e+04 2.98e+01 1.71e-07 8.87e-03 1s 18 2.41636460e+04 2.41560212e+04 2.57e+01 5.59e-09 1.33e-03 1s 10 -5.56612506e+04 -8.90369034e+04 2.88e+04 9.33e-17 4.45e+00 0s
16 3.10225867e+04 3.10524547e+04 2.73e+01 8.32e-08 6.08e-03 1s
11 -5.88413979e+04 -7.18077242e+04 1.35e+04 3.53e-17 1.75e+00 0s
19 2.41567750e+04 2.41573743e+04 1.20e-01 2.00e-09 2.15e-05 1s
12 -6.11293500e+04 -6.77030239e+04 6.86e+03 5.23e-17 8.84e-01 0s
17 3.10009474e+04 3.10146404e+04 9.24e+00 3.16e-08 1.99e-03 1s
20 2.41566942e+04 2.41568401e+04 8.17e-07 4.32e-10 8.05e-07 1s
13 -6.24373673e+04 -6.65050278e+04 3.00e+03 4.35e-17 5.30e-01 0s
18 3.09937008e+04 3.10309304e+04 3.50e+00 4.80e-08 8.41e-04 1s
21 2.41566900e+04 2.41567726e+04 8.21e-08 2.44e-10 1.94e-08 1s
14 -6.27069789e+04 -6.51658105e+04 2.13e+03 6.61e-17 3.25e-01 1s
19 3.09891093e+04 3.10041949e+04 1.47e-01 1.75e-08 1.05e-04 1s
22 2.41566900e+04 2.41566900e+04 1.23e-08 8.29e-14 5.96e-12 1s
Barrier solved model in 22 iterations and 0.72 seconds (0.15 work units)
Optimal objective 2.41566900e+04
15 -6.31763727e+04 -6.39220408e+04 6.62e+02 2.44e-09 9.93e-02 1s
Crossover log...
20 3.09885637e+04 3.09961217e+04 1.53e-02 9.07e-09 1.29e-05 1s
16 -6.33611967e+04 -6.33982126e+04 3.53e+01 1.13e-08 5.36e-03 1s
17 -6.33791702e+04 -6.33811409e+04 2.40e-07 7.49e-10 2.62e-04 1s
21 3.09885043e+04 3.09892178e+04 1.08e-07 8.91e-10 2.27e-07 1s
21 DPushes remaining with DInf 0.0000000e+00 1s
18 -6.33792836e+04 -6.33793240e+04 1.50e-08 1.41e-10 1.80e-06 1s
0 DPushes remaining with DInf 0.0000000e+00 1s
1058 PPushes remaining with PInf 0.0000000e+00 1s
22 3.09885039e+04 3.09885040e+04 1.37e-08 2.78e-13 2.26e-10 1s
Barrier solved model in 22 iterations and 0.81 seconds (0.14 work units)
Optimal objective 3.09885039e+04
Crossover log...
19 -6.33792851e+04 -6.33792851e+04 4.54e-08 1.70e-13 1.80e-09 1s
Barrier solved model in 19 iterations and 0.63 seconds (0.13 work units)
Optimal objective -6.33792851e+04
Crossover log...
461 DPushes remaining with DInf 0.0000000e+00 1s
3 DPushes remaining with DInf 0.0000000e+00 1s
0 DPushes remaining with DInf 0.0000000e+00 1s
582 PPushes remaining with PInf 0.0000000e+00 1s
0 PPushes remaining with PInf 0.0000000e+00 1s
Push phase complete: Pinf 0.0000000e+00, Dinf 6.5225603e-16 1s
Crossover time: 0.19 seconds (0.04 work units)
Solved with barrier
0 PPushes remaining with PInf 0.0000000e+00 1s
Push phase complete: Pinf 0.0000000e+00, Dinf 2.0643209e-16 1s
Crossover time: 0.14 seconds (0.02 work units)
Solved with barrier
Iteration Objective Primal Inf. Dual Inf. Time
1082 2.4156690e+04 0.000000e+00 0.000000e+00 1s
Solved in 1082 iterations and 0.95 seconds (0.19 work units)
Optimal objective 2.415669002e+04
0 DPushes remaining with DInf 0.0000000e+00 1s
Iteration Objective Primal Inf. Dual Inf. Time
588 3.0988504e+04 0.000000e+00 0.000000e+00 1s
Solved in 588 iterations and 0.97 seconds (0.17 work units)
Optimal objective 3.098850394e+04
2193 PPushes remaining with PInf 0.0000000e+00 1s
0 PPushes remaining with PInf 0.0000000e+00 1s
Push phase complete: Pinf 0.0000000e+00, Dinf 1.4103302e-15 1s
Crossover time: 0.27 seconds (0.10 work units)
Warning: environment still referenced so free is deferred (Continue to use WLS)
Solved with barrier
Iteration Objective Primal Inf. Dual Inf. Time
2657 -6.3379285e+04 0.000000e+00 0.000000e+00 1s
Solved in 2657 iterations and 0.93 seconds (0.23 work units)
Optimal objective -6.337928506e+04
Writing constraints.: 0%| | 0/26 [00:00<?, ?it/s] Writing constraints.: 27%|██▋ | 7/26 [00:00<00:00, 59.12it/s]
Warning: environment still referenced so free is deferred (Continue to use WLS)
Writing constraints.: 58%|█████▊ | 15/26 [00:00<00:00, 64.47it/s]
Writing constraints.: 85%|████████▍ | 22/26 [00:00<00:00, 51.32it/s]
Writing constraints.: 100%|██████████| 26/26 [00:00<00:00, 47.77it/s] Writing continuous variables.: 0%| | 0/12 [00:00<?, ?it/s]
Writing continuous variables.: 67%|██████▋ | 8/12 [00:00<00:00, 67.12it/s] Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 68.77it/s]
Warning: environment still referenced so free is deferred (Continue to use WLS) Set parameter WLSAccessID Set parameter WLSSecret Set parameter LicenseID to value 2537914 Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Read LP format model from file /tmp/linopy-problem-9m0ed0ul.lp
Reading time = 0.09 seconds
obj: 23383 rows, 10720 columns, 44348 nonzeros
Gurobi Optimizer version 13.0.2 build v13.0.2rc1 (linux64 - "Ubuntu 24.04.5 LTS")
CPU model: AMD EPYC 7763 64-Core Processor, instruction set [SSE2|AVX|AVX2]
Thread count: 2 physical cores, 4 logical processors, using up to 4 threads
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Optimize a model with 23383 rows, 10720 columns and 44348 nonzeros (Min)
Model fingerprint: 0x27910563
Model has 2 linear objective coefficients
Coefficient statistics:
Matrix range [1e-03, 2e+05]
Objective range [6e-01, 8e-01]
Bounds range [0e+00, 0e+00]
RHS range [5e+03, 8e+09]
Warning: Model contains large rhs
Consider reformulating model or setting NumericFocus parameter
to avoid numerical issues.
Presolve removed 13136 rows and 2416 columns
Presolve time: 0.06s
Presolved: 10247 rows, 8304 columns, 29770 nonzeros
Concurrent LP optimizer: dual simplex and barrier
Showing barrier log only...
Ordering time: 0.01s
Barrier statistics:
Dense cols : 6
AA' NZ : 2.537e+04
Factor NZ : 1.718e+05 (roughly 9 MB of memory)
Factor Ops : 2.974e+06 (less than 1 second per iteration)
Threads : 1
Objective Residual
Iter Primal Dual Primal Dual Compl Time
0 -4.56302429e+04 -1.30679348e+07 7.39e+08 6.84e-02 1.28e+05 0s
1 -6.74484043e+05 -1.17442097e+07 1.09e+08 1.37e-01 6.55e+04 0s
2 -5.19310499e+05 -4.45539453e+06 6.02e+07 2.01e-03 1.11e+04 0s
3 -4.87963527e+04 -1.87840169e+06 1.66e+06 8.52e-05 5.01e+02 0s
4 -4.35599577e+04 -6.39766880e+05 4.56e+05 6.04e-16 1.14e+02 0s
Warning: environment still referenced so free is deferred (Continue to use WLS) 5 -4.36196115e+04 -3.05800813e+05 1.74e+05 3.34e-16 4.02e+01 0s 6 -4.50646072e+04 -1.35553103e+05 9.25e+04 1.97e-16 1.29e+01 0s 7 -4.74675951e+04 -1.07470441e+05 5.51e+04 1.53e-16 8.16e+00 0s 8 -5.02402846e+04 -9.24464754e+04 4.15e+04 1.09e-16 5.65e+00 0s 9 -5.03062775e+04 -8.72881628e+04 3.90e+04 8.85e-17 4.95e+00 0s 10 -5.40913215e+04 -7.21715427e+04 1.78e+04 2.90e-17 2.37e+00 0s 11 -5.70570733e+04 -6.31444706e+04 5.59e+03 2.94e-17 7.93e-01 0s Warning: environment still referenced so free is deferred (Continue to use WLS) 12 -5.78630380e+04 -6.03396622e+04 2.55e+03 3.40e-17 3.25e-01 0s
13 -5.82799654e+04 -5.98762392e+04 8.40e+02 3.49e-17 2.01e-01 0s
14 -5.83476152e+04 -5.87989691e+04 5.89e+02 3.12e-17 6.06e-02 0s
15 -5.85019531e+04 -5.85503090e+04 6.16e+01 2.07e-09 6.56e-03 0s
16 -5.85208878e+04 -5.85219284e+04 1.79e-01 8.48e-10 1.45e-04 1s
17 -5.85211638e+04 -5.85211667e+04 6.21e-08 1.92e-11 1.48e-07 1s
18 -5.85211641e+04 -5.85211641e+04 1.63e-09 2.88e-14 1.15e-12 1s
Barrier solved model in 18 iterations and 0.57 seconds (0.12 work units)
Optimal objective -5.85211641e+04
Crossover log...
695 DPushes remaining with DInf 0.0000000e+00 1s
0 DPushes remaining with DInf 0.0000000e+00 1s
2209 PPushes remaining with PInf 0.0000000e+00 1s
0 PPushes remaining with PInf 0.0000000e+00 1s
Push phase complete: Pinf 0.0000000e+00, Dinf 1.0503751e-15 1s
Crossover time: 0.51 seconds (0.20 work units)
Solved with barrier
Iteration Objective Primal Inf. Dual Inf. Time
2907 -5.8521164e+04 0.000000e+00 0.000000e+00 1s
Solved in 2907 iterations and 1.11 seconds (0.33 work units)
Optimal objective -5.852116407e+04
Warning: environment still referenced so free is deferred (Continue to use WLS)
/home/runner/work/PyPSA/PyPSA/pypsa/network/io.py:2085: FutureWarning: pandas infers the `str` dtype for string data since its version 3.0. PyPSA still converts it back to numpy object dtype on import, but will keep it from PyPSA 2.0 on. Set `pypsa.options.api.legacy_string_dtype` explicitly to suppress this warning. new_static = _coerce_string_dtypes(new_static)
/opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/contextlib.py:85: FutureWarning: The default value of `include_objective_constant` will change from True to False in version 2.0. Set `include_objective_constant` explicitly to suppress this warning. Using False improves LP numerical conditioning by not including the objective constant as a variable. return func(*args, **kwds)
/home/runner/work/PyPSA/PyPSA/pypsa/network/io.py:2085: FutureWarning: pandas infers the `str` dtype for string data since its version 3.0. PyPSA still converts it back to numpy object dtype on import, but will keep it from PyPSA 2.0 on. Set `pypsa.options.api.legacy_string_dtype` explicitly to suppress this warning. new_static = _coerce_string_dtypes(new_static)
/home/runner/work/PyPSA/PyPSA/pypsa/network/io.py:2085: FutureWarning: pandas infers the `str` dtype for string data since its version 3.0. PyPSA still converts it back to numpy object dtype on import, but will keep it from PyPSA 2.0 on. Set `pypsa.options.api.legacy_string_dtype` explicitly to suppress this warning. new_static = _coerce_string_dtypes(new_static)
/home/runner/work/PyPSA/PyPSA/pypsa/network/io.py:2085: FutureWarning: pandas infers the `str` dtype for string data since its version 3.0. PyPSA still converts it back to numpy object dtype on import, but will keep it from PyPSA 2.0 on. Set `pypsa.options.api.legacy_string_dtype` explicitly to suppress this warning. new_static = _coerce_string_dtypes(new_static)
/opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/contextlib.py:85: FutureWarning: The default value of `include_objective_constant` will change from True to False in version 2.0. Set `include_objective_constant` explicitly to suppress this warning. Using False improves LP numerical conditioning by not including the objective constant as a variable. return func(*args, **kwds)
/opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/contextlib.py:85: FutureWarning: The default value of `include_objective_constant` will change from True to False in version 2.0. Set `include_objective_constant` explicitly to suppress this warning. Using False improves LP numerical conditioning by not including the objective constant as a variable. return func(*args, **kwds)
/opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/contextlib.py:85: FutureWarning: The default value of `include_objective_constant` will change from True to False in version 2.0. Set `include_objective_constant` explicitly to suppress this warning. Using False improves LP numerical conditioning by not including the objective constant as a variable. return func(*args, **kwds)
Writing constraints.: 0%| | 0/26 [00:00<?, ?it/s] Writing constraints.: 65%|██████▌ | 17/26 [00:00<00:00, 167.31it/s] Writing constraints.: 100%|██████████| 26/26 [00:00<00:00, 152.00it/s] Writing continuous variables.: 0%| | 0/12 [00:00<?, ?it/s]
Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 289.79it/s]
Set parameter WLSAccessID
Set parameter WLSSecret
Set parameter LicenseID to value 2537914
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Read LP format model from file /tmp/linopy-problem-34lc51_a.lp
Reading time = 0.05 seconds
obj: 23383 rows, 10720 columns, 44348 nonzeros
Gurobi Optimizer version 13.0.2 build v13.0.2rc1 (linux64 - "Ubuntu 24.04.5 LTS")
CPU model: AMD EPYC 7763 64-Core Processor, instruction set [SSE2|AVX|AVX2]
Thread count: 2 physical cores, 4 logical processors, using up to 4 threads
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Optimize a model with 23383 rows, 10720 columns and 44348 nonzeros (Min)
Model fingerprint: 0x7156e6bf
Model has 2 linear objective coefficients
Coefficient statistics:
Matrix range [1e-03, 2e+05]
Objective range [2e-01, 1e+00]
Bounds range [0e+00, 0e+00]
RHS range [5e+03, 8e+09]
Warning: Model contains large rhs
Consider reformulating model or setting NumericFocus parameter
to avoid numerical issues.
Presolve removed 13136 rows and 2416 columns
Presolve time: 0.03s
Presolved: 10247 rows, 8304 columns, 29770 nonzeros
Concurrent LP optimizer: dual simplex and barrier
Showing barrier log only...
Ordering time: 0.01s
Barrier statistics:
Dense cols : 6
AA' NZ : 2.537e+04
Factor NZ : 1.718e+05 (roughly 9 MB of memory)
Factor Ops : 2.974e+06 (less than 1 second per iteration)
Threads : 1
Objective Residual
Iter Primal Dual Primal Dual Compl Time
0 3.20948078e+04 -4.24709194e+06 7.33e+08 0.00e+00 8.27e+04 0s
1 2.06178934e+05 -3.94574913e+06 1.13e+08 7.41e-02 4.20e+04 0s
2 2.64117909e+05 -1.18303117e+06 5.40e+07 1.38e-03 5.54e+03 0s
3 4.02458036e+04 -5.20691466e+05 2.60e+06 8.13e-05 3.77e+02 0s
4 3.22454860e+04 -1.56113079e+05 3.64e+05 3.45e-06 6.64e+01 0s
5 3.14295341e+04 -4.55956795e+04 1.21e+05 7.29e-07 2.23e+01 0s
6 3.00037961e+04 3.20159150e+03 6.03e+04 2.82e-07 7.43e+00 0s
7 2.81307798e+04 8.31461902e+03 2.39e+04 4.76e-07 5.14e+00 0s
8 2.71709388e+04 1.62821514e+04 1.53e+04 6.33e-07 2.83e+00 0s 9 2.65079613e+04 1.83680613e+04 1.06e+04 7.22e-07 2.13e+00 0s 10 2.61048745e+04 1.92653988e+04 6.90e+03 7.01e-07 1.79e+00 0s 11 2.55022582e+04 2.20417000e+04 3.93e+03 6.86e-07 9.50e-01 0s 12 2.51093800e+04 2.27469794e+04 1.94e+03 6.12e-07 6.67e-01 0s 13 2.49284838e+04 2.38169335e+04 1.19e+03 4.39e-07 3.39e-01 0s 14 2.48203082e+04 2.41073998e+04 7.18e+02 3.40e-07 2.26e-01 0s 15 2.47023526e+04 2.44544191e+04 1.65e+02 2.05e-07 9.19e-02 0s 16 2.46848468e+04 2.45262908e+04 1.20e+02 1.78e-07 6.61e-02 0s 17 2.46714091e+04 2.45763616e+04 8.64e+01 1.47e-07 4.59e-02 0s 18 2.46537328e+04 2.46296166e+04 3.92e+01 6.08e-08 1.55e-02 0s 19 2.46411948e+04 2.46341131e+04 8.79e+00 5.13e-08 9.72e-03 0s
20 2.46376395e+04 2.46384326e+04 4.96e-01 3.73e-09 4.00e-04 0s
21 2.46373993e+04 2.46376010e+04 8.56e-08 4.12e-10 5.10e-06 0s
22 2.46373950e+04 2.46373859e+04 3.07e-08 1.79e-11 1.16e-08 0s
23 2.46373949e+04 2.46373949e+04 1.32e-07 7.10e-14 1.16e-11 0s
Barrier solved model in 23 iterations and 0.41 seconds (0.15 work units)
Optimal objective 2.46373949e+04
Crossover log...
2 DPushes remaining with DInf 0.0000000e+00 0s
0 DPushes remaining with DInf 0.0000000e+00 0s
842 PPushes remaining with PInf 0.0000000e+00 0s
0 PPushes remaining with PInf 0.0000000e+00 1s
Push phase complete: Pinf 0.0000000e+00, Dinf 7.6848250e-16 1s
Crossover time: 0.13 seconds (0.03 work units)
Solved with barrier
Iteration Objective Primal Inf. Dual Inf. Time
847 2.4637395e+04 0.000000e+00 0.000000e+00 1s
Solved in 847 iterations and 0.55 seconds (0.19 work units)
Optimal objective 2.463739495e+04
Writing constraints.: 0%| | 0/26 [00:00<?, ?it/s] Writing constraints.: 65%|██████▌ | 17/26 [00:00<00:00, 154.60it/s]
Writing constraints.: 100%|██████████| 26/26 [00:00<00:00, 128.67it/s] Writing continuous variables.: 0%| | 0/12 [00:00<?, ?it/s] Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 249.16it/s] Writing constraints.: 0%| | 0/26 [00:00<?, ?it/s]
Set parameter WLSAccessID
Set parameter WLSSecret
Set parameter LicenseID to value 2537914
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Read LP format model from file /tmp/linopy-problem-7vlfm2p3.lp
Reading time = 0.05 seconds
obj: 23383 rows, 10720 columns, 44348 nonzeros
Gurobi Optimizer version 13.0.2 build v13.0.2rc1 (linux64 - "Ubuntu 24.04.5 LTS")
CPU model: AMD EPYC 7763 64-Core Processor, instruction set [SSE2|AVX|AVX2]
Thread count: 2 physical cores, 4 logical processors, using up to 4 threads
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Optimize a model with 23383 rows, 10720 columns and 44348 nonzeros (Min)
Model fingerprint: 0x7652b762
Model has 2 linear objective coefficients
Coefficient statistics:
Matrix range [1e-03, 2e+05]
Objective range [5e-01, 8e-01]
Bounds range [0e+00, 0e+00]
RHS range [5e+03, 8e+09]
Warning: Model contains large rhs
Consider reformulating model or setting NumericFocus parameter
to avoid numerical issues.
Presolve removed 13136 rows and 2416 columns
Presolve time: 0.03s
Presolved: 10247 rows, 8304 columns, 29770 nonzeros
Concurrent LP optimizer: dual simplex and barrier
Showing barrier log only...
Ordering time: 0.01s
Barrier statistics:
Dense cols : 6
AA' NZ : 2.537e+04
Factor NZ : 1.718e+05 (roughly 9 MB of memory)
Factor Ops : 2.974e+06 (less than 1 second per iteration)
Threads : 1
Warning: environment still referenced so free is deferred (Continue to use WLS)
Objective Residual
Iter Primal Dual Primal Dual Compl Time
0 2.56258960e+04 -8.49418387e+06 7.39e+08 3.40e-02 8.34e+04 0s
1 9.83403749e+04 -7.76490733e+06 1.08e+08 9.03e-02 4.30e+04 0s
2 9.18464618e+04 -2.52259738e+06 5.96e+07 1.27e-03 6.50e+03 0s
3 8.88799173e+03 -1.20511116e+06 2.68e+06 5.48e-05 4.13e+02 0s
4 5.48249249e+03 -3.47926670e+05 4.55e+05 2.94e-15 6.84e+01 0s
5 2.49062807e+03 -1.92973935e+05 1.97e+05 9.16e-16 3.08e+01 0s
6 -2.12986990e+02 -8.25721258e+04 1.41e+05 2.32e-16 1.32e+01 0s
7 -5.46114774e+03 -6.46353289e+04 8.11e+04 1.84e-16 8.80e+00 0s
8 -1.02395379e+04 -5.46985848e+04 5.66e+04 3.02e-16 6.42e+00 0s
9 -1.11162294e+04 -5.30674082e+04 5.19e+04 5.05e-16 6.02e+00 0s
10 -1.34763579e+04 -4.55946540e+04 3.03e+04 2.78e-16 4.39e+00 0s
11 -1.57727236e+04 -3.50023165e+04 1.93e+04 4.39e-16 2.62e+00 0s
12 -1.61751664e+04 -3.47422643e+04 1.75e+04 4.23e-16 2.51e+00 0s
13 -1.70887330e+04 -3.39364090e+04 1.50e+04 5.99e-16 2.26e+00 0s
14 -1.71369044e+04 -3.34988592e+04 1.32e+04 3.55e-16 2.17e+00 0s
15 -1.71251593e+04 -3.29928555e+04 1.06e+04 4.79e-16 2.07e+00 0s
16 -1.79708341e+04 -2.88294511e+04 7.75e+03 2.23e-16 1.42e+00 0s
17 -1.86953612e+04 -2.44763732e+04 5.32e+03 8.53e-10 7.68e-01 0s
18 -1.92464509e+04 -2.29711352e+04 3.24e+03 5.49e-10 4.91e-01 0s
19 -1.96973697e+04 -2.07098454e+04 1.22e+03 3.42e-09 1.37e-01 0s
20 -2.00256700e+04 -2.02283541e+04 1.78e+02 1.23e-08 2.64e-02 0s
21 -2.00522511e+04 -2.01361674e+04 1.24e+02 1.30e-08 1.13e-02 0s
22 -2.00853194e+04 -2.01142974e+04 4.80e+01 8.79e-09 3.88e-03 0s
23 -2.01027844e+04 -2.01098263e+04 9.18e+00 4.18e-09 8.69e-04 0s
24 -2.01049336e+04 -2.01090475e+04 4.53e+00 3.10e-09 4.84e-04 0s
25 -2.01069802e+04 -2.01073045e+04 4.21e-01 5.22e-10 3.37e-05 0s
26 -2.01071923e+04 -2.01071996e+04 1.00e-07 4.32e-11 6.68e-08 0s
27 -2.01071925e+04 -2.01071925e+04 1.22e-09 4.72e-14 6.68e-11 0s
Barrier solved model in 27 iterations and 0.32 seconds (0.17 work units)
Optimal objective -2.01071925e+04
Crossover log...
12 DPushes remaining with DInf 0.0000000e+00 0s
0 DPushes remaining with DInf 0.0000000e+00 0s
1537 PPushes remaining with PInf 0.0000000e+00 0s
Writing constraints.: 27%|██▋ | 7/26 [00:00<00:00, 67.71it/s] Writing constraints.: 0%| | 0/26 [00:00<?, ?it/s] Writing constraints.: 54%|█████▍ | 14/26 [00:00<00:00, 60.84it/s] Writing constraints.: 100%|██████████| 26/26 [00:00<00:00, 88.21it/s] Writing continuous variables.: 0%| | 0/12 [00:00<?, ?it/s]
Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 360.00it/s] Writing constraints.: 12%|█▏ | 3/26 [00:00<00:00, 25.85it/s] Writing constraints.: 62%|██████▏ | 16/26 [00:00<00:00, 82.27it/s] Writing constraints.: 100%|██████████| 26/26 [00:00<00:00, 90.87it/s] Writing continuous variables.: 0%| | 0/12 [00:00<?, ?it/s]
0 PPushes remaining with PInf 0.0000000e+00 0s
Push phase complete: Pinf 0.0000000e+00, Dinf 1.3608906e-15 0s
Crossover time: 0.07 seconds (0.06 work units)
Solved with barrier
Set parameter WLSAccessID
Set parameter WLSSecret
Set parameter LicenseID to value 2537914
Iteration Objective Primal Inf. Dual Inf. Time
1552 -2.0107193e+04 0.000000e+00 0.000000e+00 0s
Solved in 1552 iterations and 0.41 seconds (0.23 work units)
Optimal objective -2.010719254e+04
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Read LP format model from file /tmp/linopy-problem-k7aycuhx.lp
Reading time = 0.04 seconds
obj: 23383 rows, 10720 columns, 44348 nonzeros
Gurobi Optimizer version 13.0.2 build v13.0.2rc1 (linux64 - "Ubuntu 24.04.5 LTS")
CPU model: AMD EPYC 7763 64-Core Processor, instruction set [SSE2|AVX|AVX2]
Thread count: 2 physical cores, 4 logical processors, using up to 4 threads
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Optimize a model with 23383 rows, 10720 columns and 44348 nonzeros (Min)
Model fingerprint: 0xac8dda08
Model has 2 linear objective coefficients
Coefficient statistics:
Matrix range [1e-03, 2e+05]
Objective range [2e-01, 1e+00]
Bounds range [0e+00, 0e+00]
RHS range [5e+03, 8e+09]
Warning: Model contains large rhs
Consider reformulating model or setting NumericFocus parameter
to avoid numerical issues.
Presolve removed 13136 rows and 2416 columns
Presolve time: 0.04s
Presolved: 10247 rows, 8304 columns, 29770 nonzeros
Concurrent LP optimizer: dual simplex and barrier
Showing barrier log only...
Ordering time: 0.01s
Barrier statistics:
Dense cols : 6
AA' NZ : 2.537e+04
Factor NZ : 1.718e+05 (roughly 9 MB of memory)
Factor Ops : 2.974e+06 (less than 1 second per iteration)
Threads : 1
Objective Residual
Iter Primal Dual Primal Dual Compl Time
0 -4.10167623e+04 -2.06835161e+07 7.39e+08 2.17e-01 4.06e+05 0s
1 -6.96598376e+05 -1.92647056e+07 1.12e+08 4.29e-01 2.11e+05 0s
2 -5.89745148e+05 -6.83335377e+06 6.27e+07 7.92e-03 3.51e+04 0s
3 -4.93672932e+04 -2.99321551e+06 2.41e+06 3.86e-04 1.96e+03 0s
4 -3.72371182e+04 -9.91996719e+05 4.60e+05 4.38e-06 3.68e+02 0s
5 -3.76698628e+04 -4.46406630e+05 1.53e+05 9.97e-16 1.23e+02 0s
6 -4.02749724e+04 -1.85196240e+05 9.36e+04 7.99e-16 4.31e+01 0s
7 -4.49312805e+04 -1.38116164e+05 6.43e+04 5.42e-16 2.65e+01 0s
8 -5.06887792e+04 -1.17028033e+05 2.96e+04 4.61e-16 1.76e+01 0s
9 -5.41923041e+04 -1.02655181e+05 2.12e+04 2.98e-16 1.28e+01 0s
10 -5.70593394e+04 -9.45008603e+04 1.80e+04 2.73e-16 9.90e+00 0s
11 -6.04078330e+04 -8.91054559e+04 1.28e+04 2.16e-16 7.52e+00 0s
12 -6.22359739e+04 -8.22173068e+04 9.17e+03 1.73e-16 5.24e+00 0s
Set parameter WLSAccessID
Set parameter WLSSecret
Set parameter LicenseID to value 2537914
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
13 -6.46235205e+04 -7.73660306e+04 4.19e+03 2.24e-16 3.26e+00 0s
14 -6.57212230e+04 -7.03680713e+04 2.23e+03 1.25e-16 1.22e+00 0s
15 -6.65941622e+04 -6.95537885e+04 7.96e+02 1.06e-16 7.51e-01 0s
16 -6.66450231e+04 -6.79013494e+04 6.98e+02 3.90e-09 3.33e-01 0s
17 -6.69565446e+04 -6.72021508e+04 1.40e+02 8.77e-09 6.46e-02 0s
18 -6.70394759e+04 -6.70554624e+04 1.61e-01 3.82e-09 3.62e-03 0s
Read LP format model from file /tmp/linopy-problem-cpyzu8fk.lp
Reading time = 0.05 seconds
obj: 23383 rows, 10720 columns, 44348 nonzeros
Gurobi Optimizer version 13.0.2 build v13.0.2rc1 (linux64 - "Ubuntu 24.04.5 LTS")
CPU model: AMD EPYC 7763 64-Core Processor, instruction set [SSE2|AVX|AVX2]
Thread count: 2 physical cores, 4 logical processors, using up to 4 threads
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Optimize a model with 23383 rows, 10720 columns and 44348 nonzeros (Min)
19 -6.70404423e+04 -6.70409179e+04 1.23e-05 1.86e-10 1.03e-04 0s
Model fingerprint: 0xe95cfdae
Model has 2 linear objective coefficients
Coefficient statistics:
Matrix range [1e-03, 2e+05]
Objective range [8e-02, 1e+00]
Bounds range [0e+00, 0e+00]
RHS range [5e+03, 8e+09]
Warning: Model contains large rhs
Consider reformulating model or setting NumericFocus parameter
to avoid numerical issues.
20 -6.70405303e+04 -6.70405366e+04 1.35e-07 1.07e-10 8.92e-07 0s
21 -6.70405311e+04 -6.70405312e+04 7.01e-08 3.92e-14 8.92e-10 0s
Barrier solved model in 21 iterations and 0.24 seconds (0.14 work units)
Optimal objective -6.70405311e+04
Crossover log...
Presolve removed 13136 rows and 2416 columns
Presolve time: 0.03s
Presolved: 10247 rows, 8304 columns, 29770 nonzeros
Concurrent LP optimizer: dual simplex and barrier
Showing barrier log only...
4 DPushes remaining with DInf 0.0000000e+00 0s
0 DPushes remaining with DInf 0.0000000e+00 0s
2041 PPushes remaining with PInf 0.0000000e+00 0s
Ordering time: 0.01s
Barrier statistics:
Dense cols : 6
AA' NZ : 2.537e+04
Factor NZ : 1.718e+05 (roughly 9 MB of memory)
Factor Ops : 2.974e+06 (less than 1 second per iteration)
Threads : 1
Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 310.32it/s]
0 PPushes remaining with PInf 0.0000000e+00 0s
Objective Residual
Iter Primal Dual Primal Dual Compl Time
0 -2.58070542e+04 -1.11731914e+07 7.39e+08 2.34e-01 4.39e+05 0s
Push phase complete: Pinf 0.0000000e+00, Dinf 2.3765712e-15 0s
Crossover time: 0.07 seconds (0.06 work units)
Solved with barrier
1 -3.99731476e+05 -9.73151123e+06 1.06e+08 4.54e-01 2.12e+05 0s
Iteration Objective Primal Inf. Dual Inf. Time
2048 -6.7040531e+04 0.000000e+00 0.000000e+00 0s
Solved in 2048 iterations and 0.34 seconds (0.20 work units)
Optimal objective -6.704053115e+04
2 -2.65108567e+05 -3.67066304e+06 5.64e+07 5.14e-03 3.48e+04 0s
3 -3.09576973e+04 -1.67595473e+06 1.34e+06 7.58e-05 1.54e+03 0s 4 -2.99390325e+04 -4.32482520e+05 4.25e+05 2.43e-15 3.07e+02 0s 5 -3.14319005e+04 -2.16767522e+05 1.72e+05 1.06e-15 1.13e+02 0s 6 -3.31233606e+04 -1.34854834e+05 9.83e+04 4.67e-16 5.77e+01 0s 7 -3.52578027e+04 -1.07608003e+05 6.22e+04 2.80e-16 3.93e+01 0s 8 -3.84181038e+04 -1.01063809e+05 4.77e+04 2.95e-16 3.34e+01 0s 9 -4.18331246e+04 -9.09266083e+04 3.54e+04 2.96e-16 2.58e+01 0s 10 -4.24412624e+04 -8.24285965e+04 3.32e+04 2.25e-16 2.11e+01 0s 11 -4.56600068e+04 -7.70132034e+04 1.65e+04 2.72e-16 1.60e+01 0s 12 -4.80703189e+04 -6.89072554e+04 1.00e+04 1.73e-16 1.06e+01 0s
13 -4.74716770e+04 -6.52639160e+04 9.13e+03 2.08e-16 9.02e+00 0s 14 -5.00432042e+04 -5.71989348e+04 3.58e+03 1.33e-16 3.62e+00 0s 15 -5.00784522e+04 -5.68924968e+04 3.50e+03 7.96e-17 3.45e+00 0s
16 -5.03415047e+04 -5.67629207e+04 3.02e+03 9.13e-17 3.24e+00 0s 17 -5.05253989e+04 -5.62776364e+04 2.61e+03 1.15e-16 2.89e+00 0s 18 -5.05933822e+04 -5.54512961e+04 2.45e+03 7.89e-17 2.45e+00 0s 19 -5.10264858e+04 -5.35941506e+04 1.34e+03 8.03e-17 1.30e+00 0s 20 -5.12144730e+04 -5.25216926e+04 8.78e+02 1.35e-16 6.66e-01 0s 21 -5.14533280e+04 -5.17205484e+04 2.60e+02 2.34e-09 1.39e-01 0s 22 -5.14874616e+04 -5.16343748e+04 1.86e+02 4.01e-09 7.81e-02 0s 23 -5.15465663e+04 -5.15874674e+04 5.69e+01 2.46e-09 2.19e-02 0s 24 -5.15604301e+04 -5.15785387e+04 2.70e+01 1.04e-09 9.78e-03 0s
25 -5.15633032e+04 -5.15782576e+04 2.11e+01 9.87e-10 8.03e-03 0s 26 -5.15725170e+04 -5.15733984e+04 1.52e+00 2.28e-10 4.84e-04 1s 27 -5.15732571e+04 -5.15732584e+04 3.29e-07 1.98e-11 5.49e-07 1s Warning: environment still referenced so free is deferred (Continue to use WLS)
28 -5.15732579e+04 -5.15732579e+04 2.10e-09 2.47e-14 5.49e-10 1s
Barrier solved model in 28 iterations and 0.55 seconds (0.17 work units)
Optimal objective -5.15732579e+04
Crossover log...
5 DPushes remaining with DInf 0.0000000e+00 1s
0 DPushes remaining with DInf 0.0000000e+00 1s
1995 PPushes remaining with PInf 0.0000000e+00 1s
0 PPushes remaining with PInf 0.0000000e+00 1s
Push phase complete: Pinf 0.0000000e+00, Dinf 8.3440199e-15 1s
Crossover time: 0.11 seconds (0.06 work units)
Solved with barrier
Iteration Objective Primal Inf. Dual Inf. Time
2003 -5.1573258e+04 0.000000e+00 0.000000e+00 1s
Solved in 2003 iterations and 0.67 seconds (0.24 work units)
Optimal objective -5.157325794e+04
Warning: environment still referenced so free is deferred (Continue to use WLS)
While more difficult to visualize, more than two dimensions can be used to analyse near-optimal spaces. Suppose we are interested in the mutual trade-offs between wind, solar and energy storage. Storage, as a sum of battery and hydrogen storage, is easily defined as a third dimension. In this case, since we are comparing different kinds of components with heterogenous units, it makes sense to scale our dimensions by capital cost in order to get comparable investment numbers.
dimensions = {
"wind": {"Generator": {"p_nom": {"wind": n.generators.at["wind", "capital_cost"]}}},
"solar": {
"Generator": {"p_nom": {"solar": n.generators.at["solar", "capital_cost"]}}
},
"storage": {
"StorageUnit": {
"p_nom": {
"battery storage": n.storage_units.at["battery storage", "capital_cost"]
}
},
"Store": {
"e_nom": {
"hydrogen storage": n.stores.at["hydrogen storage", "capital_cost"]
}
},
"Link": {"p_nom": n.links.capital_cost},
},
}
directions = pypsa.optimization.mga.generate_directions_halton(
dimensions.keys(), 50, seed=0
)
dirs, pts = n.optimize.optimize_mga_in_multiple_directions(
dimensions=dimensions,
directions=directions,
slack=0.05,
solver_name="gurobi",
max_parallel=8,
)
INFO:pypsa.network.io:Exported network 'Model-Energy' saved to '/tmp/tmp8wsfy7c4.nc contains: carriers, generators, links, loads, stores, buses, storage_units
/home/runner/work/PyPSA/PyPSA/pypsa/network/io.py:2085: FutureWarning: pandas infers the `str` dtype for string data since its version 3.0. PyPSA still converts it back to numpy object dtype on import, but will keep it from PyPSA 2.0 on. Set `pypsa.options.api.legacy_string_dtype` explicitly to suppress this warning. new_static = _coerce_string_dtypes(new_static)
/home/runner/work/PyPSA/PyPSA/pypsa/network/io.py:2085: FutureWarning: pandas infers the `str` dtype for string data since its version 3.0. PyPSA still converts it back to numpy object dtype on import, but will keep it from PyPSA 2.0 on. Set `pypsa.options.api.legacy_string_dtype` explicitly to suppress this warning. new_static = _coerce_string_dtypes(new_static) /home/runner/work/PyPSA/PyPSA/pypsa/network/io.py:2085: FutureWarning: pandas infers the `str` dtype for string data since its version 3.0. PyPSA still converts it back to numpy object dtype on import, but will keep it from PyPSA 2.0 on. Set `pypsa.options.api.legacy_string_dtype` explicitly to suppress this warning. new_static = _coerce_string_dtypes(new_static)
/home/runner/work/PyPSA/PyPSA/pypsa/network/io.py:2085: FutureWarning: pandas infers the `str` dtype for string data since its version 3.0. PyPSA still converts it back to numpy object dtype on import, but will keep it from PyPSA 2.0 on. Set `pypsa.options.api.legacy_string_dtype` explicitly to suppress this warning. new_static = _coerce_string_dtypes(new_static) /home/runner/work/PyPSA/PyPSA/pypsa/network/io.py:2085: FutureWarning: pandas infers the `str` dtype for string data since its version 3.0. PyPSA still converts it back to numpy object dtype on import, but will keep it from PyPSA 2.0 on. Set `pypsa.options.api.legacy_string_dtype` explicitly to suppress this warning. new_static = _coerce_string_dtypes(new_static) /home/runner/work/PyPSA/PyPSA/pypsa/network/io.py:2085: FutureWarning: pandas infers the `str` dtype for string data since its version 3.0. PyPSA still converts it back to numpy object dtype on import, but will keep it from PyPSA 2.0 on. Set `pypsa.options.api.legacy_string_dtype` explicitly to suppress this warning. new_static = _coerce_string_dtypes(new_static)
/home/runner/work/PyPSA/PyPSA/pypsa/network/io.py:2085: FutureWarning: pandas infers the `str` dtype for string data since its version 3.0. PyPSA still converts it back to numpy object dtype on import, but will keep it from PyPSA 2.0 on. Set `pypsa.options.api.legacy_string_dtype` explicitly to suppress this warning. new_static = _coerce_string_dtypes(new_static) /home/runner/work/PyPSA/PyPSA/pypsa/network/io.py:2085: FutureWarning: pandas infers the `str` dtype for string data since its version 3.0. PyPSA still converts it back to numpy object dtype on import, but will keep it from PyPSA 2.0 on. Set `pypsa.options.api.legacy_string_dtype` explicitly to suppress this warning. new_static = _coerce_string_dtypes(new_static)
/opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/contextlib.py:85: FutureWarning: The default value of `include_objective_constant` will change from True to False in version 2.0. Set `include_objective_constant` explicitly to suppress this warning. Using False improves LP numerical conditioning by not including the objective constant as a variable. return func(*args, **kwds)
/opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/contextlib.py:85: FutureWarning: The default value of `include_objective_constant` will change from True to False in version 2.0. Set `include_objective_constant` explicitly to suppress this warning. Using False improves LP numerical conditioning by not including the objective constant as a variable. return func(*args, **kwds) /opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/contextlib.py:85: FutureWarning: The default value of `include_objective_constant` will change from True to False in version 2.0. Set `include_objective_constant` explicitly to suppress this warning. Using False improves LP numerical conditioning by not including the objective constant as a variable. return func(*args, **kwds)
/opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/contextlib.py:85: FutureWarning: The default value of `include_objective_constant` will change from True to False in version 2.0. Set `include_objective_constant` explicitly to suppress this warning. Using False improves LP numerical conditioning by not including the objective constant as a variable. return func(*args, **kwds)
/opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/contextlib.py:85: FutureWarning: The default value of `include_objective_constant` will change from True to False in version 2.0. Set `include_objective_constant` explicitly to suppress this warning. Using False improves LP numerical conditioning by not including the objective constant as a variable. return func(*args, **kwds) /opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/contextlib.py:85: FutureWarning: The default value of `include_objective_constant` will change from True to False in version 2.0. Set `include_objective_constant` explicitly to suppress this warning. Using False improves LP numerical conditioning by not including the objective constant as a variable. return func(*args, **kwds)
/opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/contextlib.py:85: FutureWarning: The default value of `include_objective_constant` will change from True to False in version 2.0. Set `include_objective_constant` explicitly to suppress this warning. Using False improves LP numerical conditioning by not including the objective constant as a variable. return func(*args, **kwds)
/opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/contextlib.py:85: FutureWarning: The default value of `include_objective_constant` will change from True to False in version 2.0. Set `include_objective_constant` explicitly to suppress this warning. Using False improves LP numerical conditioning by not including the objective constant as a variable. return func(*args, **kwds)
/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:226: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError.
Dim: 'name': left=['battery storage'], right=['hydrogen storage']
Resolve: `.sel(...)` / `.reindex(...)` to align
`.assign_coords(...)` to relabel one side
`linopy.align(...)` to pre-align several operands
or pass an explicit `join=` argument.
Opt in: linopy.options['semantics'] = 'v1'
Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning)
return merge(expr)
/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:567: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError.
Dim: 'name': left=['wind', 'solar'], right=['battery storage', 'electrolysis', 'hydrogen storage', 'turbine']
Resolve: `.sel(...)` / `.reindex(...)` to align
`.assign_coords(...)` to relabel one side
`linopy.align(...)` to pre-align several operands
or pass an explicit `join=` argument.
Opt in: linopy.options['semantics'] = 'v1'
Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning)
-sum(
Writing constraints.: 0%| | 0/26 [00:00<?, ?it/s]/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:226: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError. Dim: 'name': left=['battery storage'], right=['hydrogen storage'] Resolve: `.sel(...)` / `.reindex(...)` to align `.assign_coords(...)` to relabel one side `linopy.align(...)` to pre-align several operands or pass an explicit `join=` argument. Opt in: linopy.options['semantics'] = 'v1' Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning) return merge(expr) /home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:567: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError. Dim: 'name': left=['wind', 'solar'], right=['battery storage', 'electrolysis', 'hydrogen storage', 'turbine'] Resolve: `.sel(...)` / `.reindex(...)` to align `.assign_coords(...)` to relabel one side `linopy.align(...)` to pre-align several operands or pass an explicit `join=` argument. Opt in: linopy.options['semantics'] = 'v1' Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning) -sum( Writing constraints.: 23%|██▎ | 6/26 [00:00<00:00, 54.59it/s]
Writing constraints.: 46%|████▌ | 12/26 [00:00<00:00, 47.22it/s] Writing constraints.: 77%|███████▋ | 20/26 [00:00<00:00, 52.62it/s]
/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:226: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError.
Dim: 'name': left=['battery storage'], right=['hydrogen storage']
Resolve: `.sel(...)` / `.reindex(...)` to align
`.assign_coords(...)` to relabel one side
`linopy.align(...)` to pre-align several operands
or pass an explicit `join=` argument.
Opt in: linopy.options['semantics'] = 'v1'
Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning)
return merge(expr)
/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:226: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError.
Dim: 'name': left=['battery storage'], right=['hydrogen storage']
Resolve: `.sel(...)` / `.reindex(...)` to align
`.assign_coords(...)` to relabel one side
`linopy.align(...)` to pre-align several operands
or pass an explicit `join=` argument.
Opt in: linopy.options['semantics'] = 'v1'
Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning)
return merge(expr)
Writing constraints.: 100%|██████████| 26/26 [00:00<00:00, 38.41it/s]
Writing constraints.: 100%|██████████| 26/26 [00:00<00:00, 42.17it/s]
Writing continuous variables.: 0%| | 0/12 [00:00<?, ?it/s]/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:567: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError.
Dim: 'name': left=['wind', 'solar'], right=['battery storage', 'electrolysis', 'hydrogen storage', 'turbine']
Resolve: `.sel(...)` / `.reindex(...)` to align
`.assign_coords(...)` to relabel one side
`linopy.align(...)` to pre-align several operands
or pass an explicit `join=` argument.
Opt in: linopy.options['semantics'] = 'v1'
Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning)
-sum(
/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:567: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError.
Dim: 'name': left=['wind', 'solar'], right=['battery storage', 'electrolysis', 'hydrogen storage', 'turbine']
Resolve: `.sel(...)` / `.reindex(...)` to align
`.assign_coords(...)` to relabel one side
`linopy.align(...)` to pre-align several operands
or pass an explicit `join=` argument.
Opt in: linopy.options['semantics'] = 'v1'
Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning)
-sum(
/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:226: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError.
Dim: 'name': left=['battery storage'], right=['hydrogen storage']
Resolve: `.sel(...)` / `.reindex(...)` to align
`.assign_coords(...)` to relabel one side
`linopy.align(...)` to pre-align several operands
or pass an explicit `join=` argument.
Opt in: linopy.options['semantics'] = 'v1'
Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning)
return merge(expr)
Writing continuous variables.: 75%|███████▌ | 9/12 [00:00<00:00, 82.71it/s]
Writing constraints.: 0%| | 0/26 [00:00<?, ?it/s]
Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 96.12it/s]
/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:567: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError.
Dim: 'name': left=['wind', 'solar'], right=['battery storage', 'electrolysis', 'hydrogen storage', 'turbine']
Resolve: `.sel(...)` / `.reindex(...)` to align
`.assign_coords(...)` to relabel one side
`linopy.align(...)` to pre-align several operands
or pass an explicit `join=` argument.
Opt in: linopy.options['semantics'] = 'v1'
Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning)
-sum(
/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:226: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError.
Dim: 'name': left=['battery storage'], right=['hydrogen storage']
Resolve: `.sel(...)` / `.reindex(...)` to align
`.assign_coords(...)` to relabel one side
`linopy.align(...)` to pre-align several operands
or pass an explicit `join=` argument.
Opt in: linopy.options['semantics'] = 'v1'
Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning)
return merge(expr)
Set parameter WLSAccessID
Set parameter WLSSecret
Set parameter LicenseID to value 2537914
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Read LP format model from file /tmp/linopy-problem-50g3o81c.lp
Reading time = 0.13 seconds
obj: 23383 rows, 10720 columns, 44348 nonzeros
Gurobi Optimizer version 13.0.2 build v13.0.2rc1 (linux64 - "Ubuntu 24.04.5 LTS")
CPU model: AMD EPYC 7763 64-Core Processor, instruction set [SSE2|AVX|AVX2]
Thread count: 2 physical cores, 4 logical processors, using up to 4 threads
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Optimize a model with 23383 rows, 10720 columns and 44348 nonzeros (Min)
Model fingerprint: 0x3a9898ae
Model has 6 linear objective coefficients
Coefficient statistics:
Matrix range [1e-03, 2e+05]
Objective range [9e+01, 1e+05]
Bounds range [0e+00, 0e+00]
RHS range [5e+03, 8e+09]
Warning: Model contains large rhs
Consider reformulating model or setting NumericFocus parameter
to avoid numerical issues.
/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:567: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError.
Dim: 'name': left=['wind', 'solar'], right=['battery storage', 'electrolysis', 'hydrogen storage', 'turbine']
Resolve: `.sel(...)` / `.reindex(...)` to align
`.assign_coords(...)` to relabel one side
`linopy.align(...)` to pre-align several operands
or pass an explicit `join=` argument.
Opt in: linopy.options['semantics'] = 'v1'
Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning)
-sum(
Writing constraints.: 23%|██▎ | 6/26 [00:00<00:00, 56.34it/s]
Writing constraints.: 46%|████▌ | 12/26 [00:00<00:00, 46.18it/s]
Presolve removed 13136 rows and 2416 columns
Presolve time: 0.10s
Presolved: 10247 rows, 8304 columns, 29770 nonzeros
Concurrent LP optimizer: dual simplex and barrier
Showing barrier log only...
Ordering time: 0.02s
Barrier statistics:
Dense cols : 6
AA' NZ : 2.537e+04
Factor NZ : 1.718e+05 (roughly 9 MB of memory)
Factor Ops : 2.974e+06 (less than 1 second per iteration)
Threads : 1
Objective Residual
Iter Primal Dual Primal Dual Compl Time
0 -7.31880475e+09 -7.65113109e+11 7.39e+08 2.01e+03 3.75e+09 0s
1 -1.67709934e+11 -7.31286239e+11 1.37e+08 4.10e+03 2.15e+09 0s
2 -1.53742264e+11 -2.64269434e+11 7.04e+07 9.82e+01 3.52e+08 0s
3 -1.21732323e+10 -1.15454602e+11 3.75e+06 5.96e+00 2.40e+07 0s
4 -5.29792051e+09 -4.02204390e+10 5.31e+05 7.42e-02 3.68e+06 0s
5 -4.57493918e+09 -2.27515336e+10 1.80e+05 7.14e-03 1.43e+06 0s
Writing constraints.: 73%|███████▎ | 19/26 [00:00<00:00, 50.80it/s] Writing constraints.: 0%| | 0/26 [00:00<?, ?it/s] Writing constraints.: 100%|██████████| 26/26 [00:00<00:00, 57.80it/s] Writing continuous variables.: 0%| | 0/12 [00:00<?, ?it/s] Writing constraints.: 0%| | 0/26 [00:00<?, ?it/s] Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 289.87it/s] Writing constraints.: 15%|█▌ | 4/26 [00:00<00:00, 36.56it/s] Writing constraints.: 0%| | 0/26 [00:00<?, ?it/s] Writing constraints.: 15%|█▌ | 4/26 [00:00<00:00, 39.46it/s]
6 -4.46494029e+09 -9.16494177e+09 1.04e+05 6.82e-12 3.71e+05 0s
Set parameter WLSAccessID
Set parameter WLSSecret
Set parameter LicenseID to value 2537914
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
7 -4.45945523e+09 -6.95281056e+09 3.52e+03 5.46e-12 1.52e+05 0s
8 -4.51930734e+09 -6.35349263e+09 2.51e+03 4.66e-12 1.12e+05 0s
9 -4.64854001e+09 -5.73369221e+09 1.00e+03 3.08e-12 6.59e+04 0s
10 -4.69753214e+09 -5.41735796e+09 7.07e+02 1.71e-12 4.37e+04 0s
11 -4.74770343e+09 -5.25948088e+09 5.37e+02 1.65e-12 3.11e+04 0s
Read LP format model from file /tmp/linopy-problem-ue_gjrbt.lp
Reading time = 0.06 seconds
obj: 23383 rows, 10720 columns, 44348 nonzeros
Gurobi Optimizer version 13.0.2 build v13.0.2rc1 (linux64 - "Ubuntu 24.04.5 LTS")
CPU model: AMD EPYC 7763 64-Core Processor, instruction set [SSE2|AVX|AVX2]
Thread count: 2 physical cores, 4 logical processors, using up to 4 threads
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Optimize a model with 23383 rows, 10720 columns and 44348 nonzeros (Min)
Model fingerprint: 0xbd2cca74
Model has 6 linear objective coefficients
Coefficient statistics:
Matrix range [1e-03, 2e+05]
Objective range [2e-01, 7e+04]
Bounds range [0e+00, 0e+00]
RHS range [5e+03, 8e+09]
Warning: Model contains large rhs
Consider reformulating model or setting NumericFocus parameter
to avoid numerical issues.
12 -4.78486134e+09 -5.21998867e+09 4.19e+02 1.58e-12 2.64e+04 0s
13 -4.81500274e+09 -5.16937448e+09 3.13e+02 1.42e-12 2.15e+04 0s
14 -4.81695726e+09 -5.15881077e+09 2.65e+02 1.04e-12 2.07e+04 0s
Presolve removed 13136 rows and 2416 columns
Presolve time: 0.04s
Presolved: 10247 rows, 8304 columns, 29770 nonzeros
Concurrent LP optimizer: dual simplex and barrier
Showing barrier log only...
Ordering time: 0.01s
15 -4.84943646e+09 -5.07108701e+09 1.76e+02 1.03e-12 1.34e+04 0s
Barrier statistics:
Dense cols : 6
AA' NZ : 2.537e+04
Factor NZ : 1.718e+05 (roughly 9 MB of memory)
Factor Ops : 2.974e+06 (less than 1 second per iteration)
Threads : 1
16 -4.86023160e+09 -5.03784654e+09 1.41e+02 1.24e-12 1.08e+04 0s
Objective Residual
Iter Primal Dual Primal Dual Compl Time
0 -4.94776732e+07 -8.32589054e+11 7.39e+08 2.18e+03 4.09e+09 0s
1 -1.52291908e+10 -7.31333242e+11 1.06e+08 4.26e+03 1.99e+09 0s
17 -4.87509226e+09 -4.97744373e+09 9.37e+01 1.16e-12 6.21e+03 0s
2 -9.81742341e+09 -2.63508906e+11 5.68e+07 4.74e+01 3.18e+08 0s
18 -4.89022666e+09 -4.96256180e+09 4.94e+01 1.48e-12 4.39e+03 0s
3 -1.25840891e+09 -1.21073615e+11 1.55e+06 9.58e-01 1.50e+07 0s
19 -4.89437769e+09 -4.93811963e+09 3.72e+01 1.09e-12 2.65e+03 1s
4 -1.19216032e+09 -3.24604438e+10 4.49e+05 1.42e-11 3.02e+06 0s
Writing constraints.: 0%| | 0/26 [00:00<?, ?it/s] Writing constraints.: 31%|███ | 8/26 [00:00<00:00, 34.64it/s] Writing constraints.: 31%|███ | 8/26 [00:00<00:00, 68.38it/s] Writing constraints.: 35%|███▍ | 9/26 [00:00<00:00, 44.14it/s] Writing constraints.: 27%|██▋ | 7/26 [00:00<00:00, 62.63it/s] Writing constraints.: 62%|██████▏ | 16/26 [00:00<00:00, 53.82it/s] Writing constraints.: 62%|██████▏ | 16/26 [00:00<00:00, 68.50it/s]
5 -1.43034581e+09 -1.41912834e+10 1.66e+05 6.00e-12 9.85e+05 0s 20 -4.89612107e+09 -4.93236693e+09 3.13e+01 1.18e-12 2.20e+03 1s 21 -4.90083315e+09 -4.92708786e+09 1.78e+01 9.98e-13 1.59e+03 1s 6 -1.70801303e+09 -8.89091562e+09 1.18e+05 5.06e-12 5.43e+05 0s 22 -4.90383234e+09 -4.91600082e+09 9.46e+00 1.56e-12 7.38e+02 1s 7 -2.15466007e+09 -7.76557146e+09 7.96e+04 4.80e-12 4.06e+05 0s 8 -2.47913356e+09 -6.44577270e+09 5.94e+04 3.44e-12 2.84e+05 0s 23 -4.90537218e+09 -4.91226418e+09 5.05e+00 1.23e-12 4.18e+02 1s 9 -2.65871362e+09 -6.03195132e+09 4.44e+04 3.29e-12 2.35e+05 0s 24 -4.90629432e+09 -4.90868163e+09 2.49e+00 1.35e-12 1.45e+02 1s 25 -4.90639204e+09 -4.90809783e+09 2.22e+00 1.35e-12 1.04e+02 1s 10 -2.97990782e+09 -5.01335237e+09 2.65e+04 1.90e-12 1.40e+05 0s 11 -3.10644744e+09 -4.24928607e+09 1.94e+04 2.37e-12 8.08e+04 0s 26 -4.90716518e+09 -4.90771015e+09 1.05e-01 6.67e-13 3.30e+01 1s 12 -3.10159564e+09 -4.15660083e+09 1.81e+04 2.32e-12 7.44e+04 0s 27 -4.90721073e+09 -4.90723237e+09 1.74e-02 2.96e-12 1.31e+00 1s 13 -3.16368857e+09 -4.08395572e+09 1.34e+04 3.45e-12 6.33e+04 0s 14 -3.16869239e+09 -3.93166838e+09 1.26e+04 2.50e-12 5.32e+04 0s 28 -4.90722048e+09 -4.90722056e+09 9.42e-06 4.42e-10 4.60e-03 1s 15 -3.29122632e+09 -3.60607532e+09 4.12e+03 2.03e-12 2.13e+04 0s 29 -4.90722050e+09 -4.90722050e+09 1.89e-08 1.17e-11 2.56e-08 1s 30 -4.90722050e+09 -4.90722050e+09 1.63e-09 1.06e-09 2.56e-11 1s 16 -3.33061101e+09 -3.43482649e+09 1.59e+03 2.67e-12 7.15e+03 0s Barrier solved model in 30 iterations and 0.71 seconds (0.18 work units) Optimal objective -4.90722050e+09 Crossover log... 17 -3.34477086e+09 -3.39631703e+09 7.96e+02 2.06e-12 3.54e+03 0s
Writing constraints.: 46%|████▌ | 12/26 [00:00<00:00, 27.81it/s] Writing constraints.: 54%|█████▍ | 14/26 [00:00<00:00, 49.83it/s] Writing constraints.: 85%|████████▍ | 22/26 [00:00<00:00, 46.20it/s] Writing constraints.: 65%|██████▌ | 17/26 [00:00<00:00, 31.89it/s]/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:226: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError. Dim: 'name': left=['battery storage'], right=['hydrogen storage'] Resolve: `.sel(...)` / `.reindex(...)` to align `.assign_coords(...)` to relabel one side `linopy.align(...)` to pre-align several operands or pass an explicit `join=` argument. Opt in: linopy.options['semantics'] = 'v1' Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning) return merge(expr) /home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:226: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError. Dim: 'name': left=['battery storage'], right=['hydrogen storage'] Resolve: `.sel(...)` / `.reindex(...)` to align `.assign_coords(...)` to relabel one side `linopy.align(...)` to pre-align several operands or pass an explicit `join=` argument. Opt in: linopy.options['semantics'] = 'v1' Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning) return merge(expr) Writing constraints.: 88%|████████▊ | 23/26 [00:00<00:00, 45.21it/s]
18 -3.35103680e+09 -3.37298299e+09 4.77e+02 2.75e-12 1.57e+03 0s
3 DPushes remaining with DInf 0.0000000e+00 1s
19 -3.35758546e+09 -3.36465944e+09 1.20e+02 2.55e-12 4.87e+02 0s
0 DPushes remaining with DInf 0.0000000e+00 1s
1464 PPushes remaining with PInf 0.0000000e+00 1s
20 -3.35956967e+09 -3.36102533e+09 3.23e+01 1.91e-12 1.03e+02 0s
21 -3.36032240e+09 -3.36042689e+09 3.17e+00 2.77e-11 7.84e+00 0s
22 -3.36040033e+09 -3.36041425e+09 3.17e-01 1.91e-11 9.93e-01 0s
23 -3.36041010e+09 -3.36041013e+09 7.76e-06 3.47e-11 1.55e-03 0s
24 -3.36041011e+09 -3.36041011e+09 9.70e-07 1.15e-10 1.37e-06 0s
0 PPushes remaining with PInf 0.0000000e+00 1s
Push phase complete: Pinf 0.0000000e+00, Dinf 2.3540281e-11 1s
25 -3.36041011e+09 -3.36041011e+09 1.33e-08 1.24e-10 1.37e-09 0s
Barrier solved model in 25 iterations and 0.48 seconds (0.16 work units)
Optimal objective -3.36041011e+09
Crossover time: 0.16 seconds (0.06 work units)
Solved with barrier
Crossover log...
Iteration Objective Primal Inf. Dual Inf. Time
1470 -4.9072205e+09 0.000000e+00 0.000000e+00 1s
Solved in 1470 iterations and 0.89 seconds (0.24 work units)
Optimal objective -4.907220499e+09
8 DPushes remaining with DInf 0.0000000e+00 1s
0 DPushes remaining with DInf 0.0000000e+00 1s
1757 PPushes remaining with PInf 0.0000000e+00 1s
/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:567: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError.
Dim: 'name': left=['wind', 'solar'], right=['battery storage', 'electrolysis', 'hydrogen storage', 'turbine']
Resolve: `.sel(...)` / `.reindex(...)` to align
`.assign_coords(...)` to relabel one side
`linopy.align(...)` to pre-align several operands
or pass an explicit `join=` argument.
Opt in: linopy.options['semantics'] = 'v1'
Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning)
-sum(
Writing constraints.: 77%|███████▋ | 20/26 [00:00<00:00, 45.60it/s]
Writing constraints.: 100%|██████████| 26/26 [00:00<00:00, 43.16it/s]
/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:567: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError.
Dim: 'name': left=['wind', 'solar'], right=['battery storage', 'electrolysis', 'hydrogen storage', 'turbine']
Resolve: `.sel(...)` / `.reindex(...)` to align
`.assign_coords(...)` to relabel one side
`linopy.align(...)` to pre-align several operands
or pass an explicit `join=` argument.
Opt in: linopy.options['semantics'] = 'v1'
Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning)
-sum(
Writing continuous variables.: 0%| | 0/12 [00:00<?, ?it/s]
Writing constraints.: 100%|██████████| 26/26 [00:00<00:00, 47.54it/s]
Writing continuous variables.: 0%| | 0/12 [00:00<?, ?it/s]
Writing constraints.: 81%|████████ | 21/26 [00:00<00:00, 30.26it/s]
Writing continuous variables.: 75%|███████▌ | 9/12 [00:00<00:00, 89.44it/s]
Writing constraints.: 96%|█████████▌| 25/26 [00:00<00:00, 42.36it/s]
Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 92.42it/s]
Writing continuous variables.: 92%|█████████▏| 11/12 [00:00<00:00, 107.02it/s]
Writing constraints.: 100%|██████████| 26/26 [00:00<00:00, 45.03it/s]
Writing continuous variables.: 0%| | 0/12 [00:00<?, ?it/s]
Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 106.22it/s]
Writing constraints.: 96%|█████████▌| 25/26 [00:00<00:00, 30.62it/s]
0 PPushes remaining with PInf 0.0000000e+00 1s
Push phase complete: Pinf 0.0000000e+00, Dinf 4.9567461e-11 1s
Crossover time: 0.14 seconds (0.06 work units)
Solved with barrier
Iteration Objective Primal Inf. Dual Inf. Time
1768 -3.3604101e+09 0.000000e+00 0.000000e+00 1s
Solved in 1768 iterations and 0.66 seconds (0.22 work units)
Optimal objective -3.360410114e+09
Set parameter WLSAccessID
Set parameter WLSSecret
Set parameter LicenseID to value 2537914
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Set parameter WLSAccessID
Set parameter WLSSecret
Set parameter LicenseID to value 2537914
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Read LP format model from file /tmp/linopy-problem-4pdkjvjj.lp
Reading time = 0.11 seconds
obj: 23383 rows, 10720 columns, 44348 nonzeros
Gurobi Optimizer version 13.0.2 build v13.0.2rc1 (linux64 - "Ubuntu 24.04.5 LTS")
CPU model: AMD EPYC 7763 64-Core Processor, instruction set [SSE2|AVX|AVX2]
Thread count: 2 physical cores, 4 logical processors, using up to 4 threads
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Optimize a model with 23383 rows, 10720 columns and 44348 nonzeros (Min)
Model fingerprint: 0x9e9a24df
Model has 6 linear objective coefficients
Coefficient statistics:
Matrix range [1e-03, 2e+05]
Objective range [1e+02, 2e+05]
Bounds range [0e+00, 0e+00]
RHS range [5e+03, 8e+09]
Warning: Model contains large rhs
Consider reformulating model or setting NumericFocus parameter
to avoid numerical issues.
Set parameter WLSAccessID
Set parameter WLSSecret
Set parameter LicenseID to value 2537914
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Read LP format model from file /tmp/linopy-problem-ew170xmy.lp
Reading time = 0.12 seconds
obj: 23383 rows, 10720 columns, 44348 nonzeros
Gurobi Optimizer version 13.0.2 build v13.0.2rc1 (linux64 - "Ubuntu 24.04.5 LTS")
CPU model: AMD EPYC 7763 64-Core Processor, instruction set [SSE2|AVX|AVX2]
Thread count: 2 physical cores, 4 logical processors, using up to 4 threads
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Optimize a model with 23383 rows, 10720 columns and 44348 nonzeros (Min)
Model fingerprint: 0xdef07286
Model has 6 linear objective coefficients
Coefficient statistics:
Matrix range [1e-03, 2e+05]
Objective range [1e+02, 1e+05]
Bounds range [0e+00, 0e+00]
RHS range [5e+03, 8e+09]
Warning: Model contains large rhs
Consider reformulating model or setting NumericFocus parameter
to avoid numerical issues.
Presolve removed 13136 rows and 2416 columns
Presolve time: 0.04s
Presolved: 10247 rows, 8304 columns, 29770 nonzeros
Concurrent LP optimizer: dual simplex and barrier
Showing barrier log only...
Writing constraints.: 100%|██████████| 26/26 [00:00<00:00, 31.13it/s] Writing continuous variables.: 0%| | 0/12 [00:00<?, ?it/s] Writing continuous variables.: 67%|██████▋ | 8/12 [00:00<00:00, 78.58it/s] Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 88.31it/s] Writing constraints.: 0%| | 0/26 [00:00<?, ?it/s] Writing continuous variables.: 83%|████████▎ | 10/12 [00:00<00:00, 88.50it/s] Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 90.10it/s]
Ordering time: 0.01s
Barrier statistics:
Dense cols : 6
AA' NZ : 2.537e+04
Factor NZ : 1.718e+05 (roughly 9 MB of memory)
Factor Ops : 2.974e+06 (less than 1 second per iteration)
Threads : 1
Set parameter WLSAccessID
Set parameter WLSSecret
Set parameter LicenseID to value 2537914
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Objective Residual
Iter Primal Dual Primal Dual Compl Time
0 6.65797534e+09 -3.44286610e+11 7.39e+08 4.73e+02 1.70e+09 0s
1 1.48151570e+11 -3.11864422e+11 9.62e+07 1.78e+03 8.27e+08 0s
2 1.34264160e+11 -1.10291226e+11 5.28e+07 2.25e+01 1.35e+08 0s
Read LP format model from file /tmp/linopy-problem-aftfgigm.lp
Reading time = 0.10 seconds
obj: 23383 rows, 10720 columns, 44348 nonzeros
Gurobi Optimizer version 13.0.2 build v13.0.2rc1 (linux64 - "Ubuntu 24.04.5 LTS")
CPU model: AMD EPYC 7763 64-Core Processor, instruction set [SSE2|AVX|AVX2]
Thread count: 2 physical cores, 4 logical processors, using up to 4 threads
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Optimize a model with 23383 rows, 10720 columns and 44348 nonzeros (Min)
Model fingerprint: 0xf287f444
Model has 6 linear objective coefficients
Coefficient statistics:
Matrix range [1e-03, 2e+05]
Objective range [9e+01, 1e+05]
Bounds range [0e+00, 0e+00]
RHS range [5e+03, 8e+09]
Warning: Model contains large rhs
Consider reformulating model or setting NumericFocus parameter
to avoid numerical issues.
Presolve removed 13136 rows and 2416 columns
Presolve time: 0.11s
Presolved: 10247 rows, 8304 columns, 29770 nonzeros
Concurrent LP optimizer: dual simplex and barrier
Showing barrier log only...
3 5.85728168e+09 -5.00790932e+10 1.30e+06 4.42e-01 6.15e+06 0s
4 3.18326573e+09 -1.13952404e+10 3.82e+05 7.30e-12 1.24e+06 0s
Ordering time: 0.03s
Read LP format model from file /tmp/linopy-problem-qy15yx1s.lp
Reading time = 0.10 seconds
obj: 23383 rows, 10720 columns, 44348 nonzeros
Gurobi Optimizer version 13.0.2 build v13.0.2rc1 (linux64 - "Ubuntu 24.04.5 LTS")
CPU model: AMD EPYC 7763 64-Core Processor, instruction set [SSE2|AVX|AVX2]
Thread count: 2 physical cores, 4 logical processors, using up to 4 threads
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Optimize a model with 23383 rows, 10720 columns and 44348 nonzeros (Min)
5 2.30226455e+09 -4.41591814e+09 1.89e+05 2.84e-12 4.86e+05 0s
Model fingerprint: 0x93d099a9
Model has 6 linear objective coefficients
Coefficient statistics:
Matrix range [1e-03, 2e+05]
Objective range [3e+01, 5e+04]
Bounds range [0e+00, 0e+00]
RHS range [5e+03, 8e+09]
Warning: Model contains large rhs
Consider reformulating model or setting NumericFocus parameter
to avoid numerical issues.
Presolve removed 13136 rows and 2416 columns
Presolve time: 0.07s
Presolved: 10247 rows, 8304 columns, 29770 nonzeros
Concurrent LP optimizer: dual simplex and barrier
Showing barrier log only...
6 1.57451666e+09 -3.17339926e+09 1.10e+05 2.02e-12 3.24e+05 0s
Barrier statistics:
Dense cols : 6
AA' NZ : 2.537e+04
Factor NZ : 1.718e+05 (roughly 9 MB of memory)
Factor Ops : 2.974e+06 (less than 1 second per iteration)
Threads : 1
7 1.45021854e+09 -2.27782477e+09 9.86e+04 1.18e-12 2.58e+05 0s
Ordering time: 0.02s
8 1.51148266e+09 -1.62835947e+09 8.61e+04 1.06e-12 2.17e+05 0s
Objective Residual
Iter Primal Dual Primal Dual Compl Time
Barrier statistics:
Dense cols : 6
AA' NZ : 2.537e+04
Factor NZ : 1.718e+05 (roughly 9 MB of memory)
Factor Ops : 2.974e+06 (less than 1 second per iteration)
Threads : 1
0 5.64559307e+09 -4.86721086e+11 7.39e+08 1.27e+03 2.39e+09 0s
9 1.19973685e+09 -1.37201875e+09 4.82e+04 2.30e-12 1.71e+05 0s
Writing constraints.: 31%|███ | 8/26 [00:00<00:00, 66.32it/s] Writing constraints.: 58%|█████▊ | 15/26 [00:00<00:00, 67.95it/s]
10 1.05042045e+09 -1.14476440e+09 4.31e+04 2.11e-12 1.47e+05 0s
Objective Residual
Iter Primal Dual Primal Dual Compl Time
0 -2.45258929e+09 -5.75752496e+11 7.39e+08 1.51e+03 2.82e+09 0s
1 1.07538059e+11 -4.34453615e+11 1.01e+08 1.81e+03 1.15e+09 0s
Presolve removed 13136 rows and 2416 columns
Presolve time: 0.09s
Presolved: 10247 rows, 8304 columns, 29770 nonzeros
Concurrent LP optimizer: dual simplex and barrier
Showing barrier log only...
11 7.98537565e+08 -5.43355556e+08 3.43e+04 9.71e-13 9.40e+04 0s
1 -1.09707402e+11 -5.46821733e+11 1.46e+08 3.03e+03 1.60e+09 0s
12 7.39904657e+08 -3.16897730e+08 2.94e+04 6.03e-13 7.48e+04 0s
2 1.03461010e+11 -1.52123380e+11 5.38e+07 2.79e+01 1.78e+08 0s
13 6.77258187e+08 -2.16272757e+08 2.34e+04 8.17e-13 6.27e+04 0s
Ordering time: 0.03s
Barrier statistics:
Dense cols : 6
AA' NZ : 2.537e+04
Factor NZ : 1.718e+05 (roughly 9 MB of memory)
Factor Ops : 2.974e+06 (less than 1 second per iteration)
Threads : 1
14 6.10138322e+08 -6.85044809e+07 1.78e+04 1.22e-12 4.77e+04 0s
2 -1.02677105e+11 -1.70384513e+11 7.02e+07 7.46e+01 2.27e+08 0s
3 5.20627413e+09 -6.44929273e+10 1.35e+06 1.29e+00 8.13e+06 0s
15 5.58527650e+08 4.15740525e+07 1.32e+04 8.30e-13 3.61e+04 0s
16 5.35817413e+08 2.25119505e+08 8.74e+03 2.27e-12 2.19e+04 0s
3 -9.99833331e+09 -7.98185157e+10 5.98e+06 7.59e+00 2.27e+07 0s
Objective Residual
Iter Primal Dual Primal Dual Compl Time
0 -1.24072175e+09 -9.04639276e+11 7.39e+08 2.37e+03 4.44e+09 0s
17 4.86416999e+08 2.37393094e+08 4.90e+03 1.19e-12 1.68e+04 0s
4 3.18300604e+09 -1.68745856e+10 3.56e+05 1.98e-02 1.73e+06 0s
18 4.64882316e+08 2.84426557e+08 3.01e+03 1.28e-12 1.20e+04 0s
1 -4.39101628e+09 -8.12247705e+11 1.04e+08 4.72e+03 2.23e+09 0s
4 -1.43330964e+09 -3.28583815e+10 5.12e+05 3.17e-01 3.12e+06 0s
19 4.61298668e+08 3.05138589e+08 2.65e+03 8.53e-13 1.04e+04 0s
5 2.39448263e+09 -6.54314349e+09 1.42e+05 4.82e-12 6.45e+05 0s
20 4.53817631e+08 3.90584960e+08 2.01e+03 1.09e-11 4.57e+03 0s
2 4.05252050e+09 -3.11323964e+11 5.78e+07 6.56e+01 3.79e+08 0s
21 4.46751734e+08 4.05173244e+08 1.27e+03 8.89e-13 2.98e+03 0s
Writing constraints.: 85%|████████▍ | 22/26 [00:00<00:00, 57.80it/s] Writing constraints.: 100%|██████████| 26/26 [00:00<00:00, 57.57it/s] Writing continuous variables.: 0%| | 0/12 [00:00<?, ?it/s] Writing continuous variables.: 92%|█████████▏| 11/12 [00:00<00:00, 104.37it/s]
5 -9.35167613e+08 -1.31453365e+10 2.14e+05 3.96e-02 1.01e+06 0s 6 2.01607345e+09 -3.59951825e+09 1.05e+05 3.60e-12 4.02e+05 0s 22 4.36288349e+08 4.22319280e+08 2.14e+02 2.27e-12 9.22e+02 0s 3 -1.36450532e+09 -1.33972093e+11 1.52e+06 2.31e+00 1.71e+07 0s 23 4.34546933e+08 4.26458049e+08 5.50e+01 6.37e-12 5.08e+02 1s 6 -8.33438217e+08 -3.92390373e+09 1.19e+05 4.23e-12 2.57e+05 0s 7 1.96897236e+09 -2.82360392e+09 8.27e+04 2.79e-12 3.36e+05 0s 24 4.34070568e+08 4.31412859e+08 1.20e+01 1.37e-12 1.65e+02 1s 7 -1.07779243e+09 -2.26513409e+09 3.24e+04 1.80e-12 8.55e+04 0s 25 4.33925511e+08 4.33783364e+08 3.72e-01 1.05e-12 8.70e+00 1s 4 -1.80117423e+09 -4.21881638e+10 4.66e+05 2.78e-11 3.89e+06 0s 8 1.78273011e+09 -1.52453453e+09 5.81e+04 1.73e-12 2.29e+05 1s 26 4.33904989e+08 4.33904759e+08 1.20e-05 1.23e-11 1.39e-02 1s 8 -1.27655902e+09 -1.84374745e+09 1.22e+04 1.73e-12 3.87e+04 0s 9 1.69442087e+09 -1.42754353e+09 5.21e+04 2.07e-12 2.15e+05 1s 27 4.33904954e+08 4.33904954e+08 3.36e-07 3.82e-11 1.39e-05 1s 5 -2.08279664e+09 -1.74320380e+10 1.68e+05 1.36e-11 1.17e+06 0s 28 4.33904954e+08 4.33904954e+08 6.73e-08 9.32e-11 1.39e-08 1s 9 -1.33973448e+09 -1.66443293e+09 5.50e+03 1.11e-12 2.15e+04 0s 10 1.58889183e+09 -8.86242392e+08 4.51e+04 1.80e-12 1.71e+05 1s Set parameter WLSAccessID Set parameter WLSSecret Set parameter LicenseID to value 2537914 6 -2.34229584e+09 -8.78689499e+09 7.08e+04 4.76e-12 4.46e+05 0s Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de 10 -1.38691264e+09 -1.46724668e+09 1.54e+03 1.21e-12 5.32e+03 1s 11 1.43424456e+09 -1.87314056e+08 3.35e+04 9.51e-13 1.13e+05 1s 7 -2.48489706e+09 -7.20281323e+09 5.61e+04 3.87e-12 3.21e+05 0s 29 4.33904954e+08 4.33904954e+08 3.26e-09 1.04e-10 1.39e-11 1s Barrier solved model in 29 iterations and 0.66 seconds (0.18 work units) Optimal objective 4.33904954e+08
Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 100.06it/s] Writing constraints.: 0%| | 0/26 [00:00<?, ?it/s] Writing constraints.: 19%|█▉ | 5/26 [00:00<00:00, 38.96it/s]
Crossover log...
12 1.35635656e+09 2.85263870e+07 2.52e+04 1.06e-12 9.17e+04 1s
8 -2.57973143e+09 -5.82639185e+09 5.00e+04 3.08e-12 2.21e+05 1s
11 -1.40526214e+09 -1.41993097e+09 2.93e+02 1.29e-12 9.72e+02 1s
568 DPushes remaining with DInf 0.0000000e+00 1s
9 -2.71972333e+09 -5.33410310e+09 4.13e+04 2.22e-12 1.76e+05 1s
12 -1.40994419e+09 -1.41226488e+09 4.38e+01 1.11e-12 1.53e+02 1s
13 1.30081447e+09 3.13898320e+08 1.70e+04 9.08e-13 6.72e+04 1s
Read LP format model from file /tmp/linopy-problem-b_vdeybg.lp
Reading time = 0.10 seconds
obj: 23383 rows, 10720 columns, 44348 nonzeros
Gurobi Optimizer version 13.0.2 build v13.0.2rc1 (linux64 - "Ubuntu 24.04.5 LTS")
CPU model: AMD EPYC 7763 64-Core Processor, instruction set [SSE2|AVX|AVX2]
Thread count: 2 physical cores, 4 logical processors, using up to 4 threads
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Optimize a model with 23383 rows, 10720 columns and 44348 nonzeros (Min)
Model fingerprint: 0x6e2ae4cb
Model has 6 linear objective coefficients
Coefficient statistics:
Matrix range [1e-03, 2e+05]
Objective range [1e+02, 1e+05]
Bounds range [0e+00, 0e+00]
RHS range [5e+03, 8e+09]
Warning: Model contains large rhs
Consider reformulating model or setting NumericFocus parameter
to avoid numerical issues.
10 -2.79701987e+09 -5.18313985e+09 3.49e+04 2.65e-12 1.60e+05 1s
13 -1.41071354e+09 -1.41141188e+09 8.78e+00 9.85e-13 4.47e+01 1s
14 -1.41089002e+09 -1.41119600e+09 1.70e+00 9.97e-13 1.90e+01 1s
14 1.21850291e+09 9.68492410e+08 5.68e+03 1.37e-12 1.75e+04 1s
11 -3.10148672e+09 -4.24703315e+09 1.30e+04 1.47e-12 7.47e+04 1s
15 -1.41093724e+09 -1.41093805e+09 7.57e-03 1.22e-12 5.12e-02 1s
15 1.17219221e+09 1.03251163e+09 2.94e+03 1.45e-12 9.68e+03 1s
Presolve removed 13136 rows and 2416 columns
Presolve time: 0.08s
Presolved: 10247 rows, 8304 columns, 29770 nonzeros
Concurrent LP optimizer: dual simplex and barrier
Showing barrier log only...
12 -3.24317443e+09 -3.94412737e+09 6.53e+03 9.69e-13 4.50e+04 1s
16 1.14000566e+09 1.05762262e+09 8.13e+02 7.47e-13 5.31e+03 1s
16 -1.41093760e+09 -1.41093760e+09 2.96e-05 3.30e-12 5.29e-05 1s
13 -3.30481533e+09 -3.71968454e+09 3.64e+03 7.20e-13 2.65e+04 1s
0 DPushes remaining with DInf 0.0000000e+00 1s
2203 PPushes remaining with PInf 0.0000000e+00 1s
Ordering time: 0.02s
14 -3.36008234e+09 -3.51400840e+09 9.59e+02 8.89e-13 9.65e+03 1s
17 1.12749409e+09 1.09849787e+09 1.28e+02 1.12e-12 1.80e+03 1s
17 -1.41093760e+09 -1.41093760e+09 2.35e-05 1.32e-11 2.71e-06 1s
Barrier statistics:
Dense cols : 6
AA' NZ : 2.537e+04
Factor NZ : 1.718e+05 (roughly 9 MB of memory)
Factor Ops : 2.974e+06 (less than 1 second per iteration)
Threads : 1
15 -3.36838390e+09 -3.42399375e+09 6.21e+02 1.75e-12 3.60e+03 1s
18 -1.41093760e+09 -1.41093760e+09 2.30e-07 3.01e-10 1.30e-09 1s
Barrier solved model in 18 iterations and 0.77 seconds (0.13 work units)
Optimal objective -1.41093760e+09
Objective Residual
Iter Primal Dual Primal Dual Compl Time
0 3.60208621e+09 -7.91807881e+11 7.39e+08 2.07e+03 3.89e+09 0s
Crossover log...
18 1.12510384e+09 1.12400962e+09 1.87e+01 1.58e-12 7.39e+01 1s
16 -3.38127416e+09 -3.38594532e+09 7.78e+01 1.73e-12 3.12e+02 1s
1 8.24753368e+10 -7.22815725e+11 1.01e+08 4.06e+03 1.92e+09 0s
19 1.12483885e+09 1.12432694e+09 5.40e+00 1.12e-12 3.31e+01 1s
17 -3.38323720e+09 -3.38369705e+09 6.22e+00 1.72e-12 3.02e+01 1s
2 8.22389727e+10 -2.61323805e+11 5.64e+07 6.01e+01 3.18e+08 0s
18 -3.38342565e+09 -3.38343043e+09 4.82e-02 1.43e-11 3.07e-01 1s
13 DPushes remaining with DInf 0.0000000e+00 1s
20 1.12467550e+09 1.12464947e+09 5.94e-01 7.28e-12 1.82e+00 1s
0 DPushes remaining with DInf 0.0000000e+00 1s
3 3.73797450e+09 -1.16310683e+11 1.72e+06 2.37e+00 1.59e+07 0s
Warning: Markowitz tolerance tightened to 0.25
757 PPushes remaining with PInf 0.0000000e+00 1s
19 -3.38342766e+09 -3.38342767e+09 4.54e-07 2.91e-11 3.07e-04 1s
0 PPushes remaining with PInf 0.0000000e+00 1s
Push phase complete: Pinf 0.0000000e+00, Dinf 5.7639227e-11 1s
21 1.12465618e+09 1.12465569e+09 3.07e-04 2.69e-11 2.97e-02 1s
Crossover time: 0.36 seconds (0.08 work units)
4 1.59979770e+09 -3.54836460e+10 4.61e+05 2.54e-11 3.49e+06 0s
Solved with barrier
20 -3.38342767e+09 -3.38342767e+09 3.03e-08 6.93e-12 3.07e-07 1s
5 8.54805149e+08 -1.37050642e+10 1.55e+05 1.07e-11 1.08e+06 0s
22 1.12465589e+09 1.12465589e+09 3.70e-07 5.73e-11 7.79e-05 1s
21 -3.38342767e+09 -3.38342767e+09 3.19e-08 2.11e-11 3.07e-10 1s
6 3.58698544e+08 -6.86074207e+09 8.66e+04 4.40e-12 5.08e+05 0s
Barrier solved model in 21 iterations and 0.87 seconds (0.14 work units)
Optimal objective -3.38342767e+09
0 PPushes remaining with PInf 0.0000000e+00 1s
7 2.48505733e+08 -5.60915742e+09 6.05e+04 3.71e-12 3.99e+05 0s
Crossover log...
Iteration Objective Primal Inf. Dual Inf. Time
2771 4.3390495e+08 0.000000e+00 0.000000e+00 1s
Solved in 2771 iterations and 1.08 seconds (0.27 work units)
Optimal objective 4.339049537e+08
Push phase complete: Pinf 0.0000000e+00, Dinf 3.1207037e-11 1s
Crossover time: 0.18 seconds (0.03 work units)
Solved with barrier
670 DPushes remaining with DInf 0.0000000e+00 1s
/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:226: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError.
Dim: 'name': left=['battery storage'], right=['hydrogen storage']
Resolve: `.sel(...)` / `.reindex(...)` to align
`.assign_coords(...)` to relabel one side
`linopy.align(...)` to pre-align several operands
or pass an explicit `join=` argument.
Opt in: linopy.options['semantics'] = 'v1'
Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning)
return merge(expr)
Writing constraints.: 35%|███▍ | 9/26 [00:00<00:00, 28.31it/s]
Writing constraints.: 46%|████▌ | 12/26 [00:00<00:00, 28.13it/s]
8 8.87904671e+07 -4.12065852e+09 4.62e+04 2.19e-12 2.83e+05 0s
Iteration Objective Primal Inf. Dual Inf. Time
773 -1.4109376e+09 0.000000e+00 0.000000e+00 1s
Solved in 773 iterations and 0.97 seconds (0.16 work units)
Optimal objective -1.410937604e+09
23 1.12465589e+09 1.12465589e+09 1.82e-08 1.12e-10 7.79e-08 1s
9 -3.33282469e+07 -3.14204976e+09 3.98e+04 1.95e-12 2.10e+05 0s
10 -3.12592202e+08 -2.22170097e+09 2.16e+04 1.59e-12 1.27e+05 0s
24 1.12465589e+09 1.12465589e+09 1.91e-08 9.00e-11 7.79e-11 1s
Barrier solved model in 24 iterations and 1.12 seconds (0.15 work units)
Optimal objective 1.12465589e+09
Crossover log...
11 -4.29642706e+08 -1.27862738e+09 1.70e+04 2.28e-12 6.01e+04 0s
12 -5.95258798e+08 -1.11322126e+09 9.73e+03 1.49e-12 3.63e+04 0s
13 -7.18188952e+08 -9.92876889e+08 4.14e+03 2.46e-12 1.87e+04 0s
14 -7.44062909e+08 -8.62956436e+08 2.89e+03 1.07e-12 8.64e+03 1s
0 DPushes remaining with DInf 0.0000000e+00 1s
2209 PPushes remaining with PInf 0.0000000e+00 1s
74 DPushes remaining with DInf 0.0000000e+00 1s
15 -7.88758174e+08 -8.42586010e+08 6.83e+02 1.15e-12 3.59e+03 1s
Writing constraints.: 65%|██████▌ | 17/26 [00:00<00:00, 34.28it/s] Writing constraints.: 81%|████████ | 21/26 [00:00<00:00, 35.62it/s]
16 -8.01752352e+08 -8.08869592e+08 8.13e+01 2.34e-12 4.70e+02 1s
0 DPushes remaining with DInf 0.0000000e+00 1s
2071 PPushes remaining with PInf 0.0000000e+00 1s
17 -8.03749247e+08 -8.04755817e+08 4.74e+00 1.88e-12 6.30e+01 1s
18 -8.03875367e+08 -8.04111913e+08 5.84e-01 2.72e-12 1.45e+01 1s
0 PPushes remaining with PInf 0.0000000e+00 1s
Push phase complete: Pinf 0.0000000e+00, Dinf 2.6489033e-11 1s
Crossover time: 0.31 seconds (0.15 work units)
Solved with barrier
Iteration Objective Primal Inf. Dual Inf. Time
2882 -3.3834277e+09 0.000000e+00 0.000000e+00 1s
Solved in 2882 iterations and 1.20 seconds (0.30 work units)
Optimal objective -3.383427665e+09
19 -8.03904151e+08 -8.03904436e+08 1.96e-06 2.16e-10 1.71e-02 1s
20 -8.03904191e+08 -8.03904191e+08 1.11e-07 9.17e-12 1.75e-05 1s
0 PPushes remaining with PInf 0.0000000e+00 1s
Push phase complete: Pinf 0.0000000e+00, Dinf 6.0950356e-11 1s
Crossover time: 0.31 seconds (0.07 work units)
Solved with barrier
21 -8.03904191e+08 -8.03904191e+08 2.84e-09 8.37e-11 1.75e-08 1s
22 -8.03904191e+08 -8.03904191e+08 2.10e-09 5.73e-11 1.75e-11 1s
Barrier solved model in 22 iterations and 0.76 seconds (0.14 work units)
Optimal objective -8.03904191e+08
Iteration Objective Primal Inf. Dual Inf. Time
2148 1.1246559e+09 0.000000e+00 0.000000e+00 1s
Solved in 2148 iterations and 1.47 seconds (0.23 work units)
Optimal objective 1.124655890e+09
Crossover log...
Writing constraints.: 96%|█████████▌| 25/26 [00:00<00:00, 34.22it/s] Writing constraints.: 100%|██████████| 26/26 [00:00<00:00, 33.69it/s] Writing continuous variables.: 0%| | 0/12 [00:00<?, ?it/s] Writing continuous variables.: 75%|███████▌ | 9/12 [00:00<00:00, 83.67it/s] Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 85.66it/s]
376 DPushes remaining with DInf 0.0000000e+00 1s
Set parameter WLSAccessID
Set parameter WLSSecret
Set parameter LicenseID to value 2537914
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
0 DPushes remaining with DInf 0.0000000e+00 1s
2131 PPushes remaining with PInf 0.0000000e+00 1s
Read LP format model from file /tmp/linopy-problem-0t_67gw_.lp
Reading time = 0.13 seconds
obj: 23383 rows, 10720 columns, 44348 nonzeros
Gurobi Optimizer version 13.0.2 build v13.0.2rc1 (linux64 - "Ubuntu 24.04.5 LTS")
CPU model: AMD EPYC 7763 64-Core Processor, instruction set [SSE2|AVX|AVX2]
Thread count: 2 physical cores, 4 logical processors, using up to 4 threads
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Optimize a model with 23383 rows, 10720 columns and 44348 nonzeros (Min)
Model fingerprint: 0x40c3af4b
Model has 6 linear objective coefficients
Coefficient statistics:
Matrix range [1e-03, 2e+05]
Objective range [5e+01, 9e+04]
Bounds range [0e+00, 0e+00]
RHS range [5e+03, 8e+09]
Warning: Model contains large rhs
Consider reformulating model or setting NumericFocus parameter
to avoid numerical issues.
/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:226: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError.
Dim: 'name': left=['battery storage'], right=['hydrogen storage']
Resolve: `.sel(...)` / `.reindex(...)` to align
`.assign_coords(...)` to relabel one side
`linopy.align(...)` to pre-align several operands
or pass an explicit `join=` argument.
Opt in: linopy.options['semantics'] = 'v1'
Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning)
return merge(expr)
/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:226: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError.
Dim: 'name': left=['battery storage'], right=['hydrogen storage']
Resolve: `.sel(...)` / `.reindex(...)` to align
`.assign_coords(...)` to relabel one side
`linopy.align(...)` to pre-align several operands
or pass an explicit `join=` argument.
Opt in: linopy.options['semantics'] = 'v1'
Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning)
return merge(expr)
0 PPushes remaining with PInf 0.0000000e+00 1s
Push phase complete: Pinf 0.0000000e+00, Dinf 3.6379788e-11 1s
Crossover time: 0.26 seconds (0.10 work units)
Solved with barrier
Iteration Objective Primal Inf. Dual Inf. Time
2509 -8.0390419e+08 0.000000e+00 0.000000e+00 1s
Solved in 2509 iterations and 1.05 seconds (0.25 work units)
Optimal objective -8.039041907e+08
Presolve removed 13136 rows and 2416 columns
Presolve time: 0.06s
Presolved: 10247 rows, 8304 columns, 29770 nonzeros
Concurrent LP optimizer: dual simplex and barrier
Showing barrier log only...
Ordering time: 0.02s
Barrier statistics:
Dense cols : 6
AA' NZ : 2.537e+04
Factor NZ : 1.718e+05 (roughly 9 MB of memory)
Factor Ops : 2.974e+06 (less than 1 second per iteration)
Threads : 1
Objective Residual
Iter Primal Dual Primal Dual Compl Time
0 5.46392929e+09 -3.36053005e+09 7.56e+08 0.00e+00 1.72e+07 0s
1 4.42201020e+09 -2.81172345e+09 1.18e+07 1.16e-02 1.84e+06 0s
2 2.73564203e+09 1.40608614e+08 5.99e+06 7.13e-02 2.90e+05 0s
3 1.67139937e+09 9.33599161e+08 2.96e+06 3.24e-02 1.43e+05 0s
4 1.70985052e+09 1.55436113e+09 2.04e+06 1.45e-02 1.04e+05 0s 5 1.78364697e+09 1.86672143e+09 1.57e+06 1.11e-02 8.21e+04 0s 6 1.85789037e+09 2.14856342e+09 1.41e+06 8.60e-03 7.21e+04 0s 7 1.90676670e+09 2.21872695e+09 1.27e+06 7.78e-03 6.47e+04 0s 8 1.99252772e+09 2.25188637e+09 1.10e+06 6.56e-03 5.81e+04 0s 9 2.04183546e+09 2.37804087e+09 1.02e+06 4.76e-03 5.19e+04 0s 10 2.09342117e+09 2.42308319e+09 9.46e+05 4.14e-03 4.87e+04 0s 11 2.19184168e+09 2.48279303e+09 7.74e+05 3.38e-03 4.03e+04 0s
12 2.21575158e+09 2.49407195e+09 7.38e+05 3.21e-03 3.87e+04 0s 13 2.27740330e+09 2.56636937e+09 6.51e+05 2.56e-03 3.30e+04 0s 14 2.34980070e+09 2.57284326e+09 5.60e+05 2.44e-03 3.04e+04 1s 15 2.44224518e+09 2.64995636e+09 4.58e+05 2.12e-03 2.48e+04 1s 16 2.45607681e+09 2.66701403e+09 4.48e+05 2.05e-03 2.40e+04 1s 17 2.51106414e+09 2.69265691e+09 3.93e+05 1.90e-03 2.18e+04 1s 18 2.59241865e+09 2.77414860e+09 3.18e+05 1.45e-03 1.69e+04 1s 19 2.66291201e+09 2.80662121e+09 2.57e+05 1.29e-03 1.47e+04 1s
/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:226: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError.
Dim: 'name': left=['battery storage'], right=['hydrogen storage']
Resolve: `.sel(...)` / `.reindex(...)` to align
`.assign_coords(...)` to relabel one side
`linopy.align(...)` to pre-align several operands
or pass an explicit `join=` argument.
Opt in: linopy.options['semantics'] = 'v1'
Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning)
return merge(expr)
20 2.71418464e+09 2.84010623e+09 2.19e+05 1.14e-03 1.29e+04 1s 21 2.72753286e+09 2.84770388e+09 2.09e+05 1.10e-03 1.24e+04 1s 22 2.75836654e+09 2.88902107e+09 1.84e+05 8.51e-04 1.01e+04 1s 23 2.77250521e+09 2.90547655e+09 1.73e+05 7.99e-04 9.29e+03 1s 24 2.79879856e+09 2.91612795e+09 1.56e+05 7.39e-04 8.75e+03 1s 25 2.82763390e+09 2.93180169e+09 1.37e+05 6.68e-04 7.82e+03 1s 26 2.84132768e+09 2.95283497e+09 1.27e+05 4.83e-04 6.46e+03 1s 27 2.85644659e+09 2.97550980e+09 1.14e+05 3.81e-04 5.17e+03 1s
28 2.86658888e+09 2.98791075e+09 1.07e+05 3.27e-04 4.57e+03 1s 29 2.87112141e+09 2.98977133e+09 1.04e+05 3.17e-04 4.45e+03 1s 30 2.89964701e+09 2.99058931e+09 8.92e+04 2.60e-04 4.29e+03 1s 31 2.91501638e+09 3.00776347e+09 7.83e+04 1.68e-04 3.27e+03 1s 32 2.91665504e+09 3.01671993e+09 7.73e+04 1.47e-04 3.04e+03 1s 33 2.93287894e+09 3.02046522e+09 6.69e+04 1.10e-04 2.59e+03 1s 34 2.93452057e+09 3.02454375e+09 6.59e+04 9.47e-05 2.42e+03 1s 35 2.94266096e+09 3.02608435e+09 6.11e+04 7.89e-05 2.24e+03 1s 36 2.94640885e+09 3.03078424e+09 5.87e+04 6.26e-05 2.03e+03 1s 37 2.96083763e+09 3.03564295e+09 4.97e+04 4.92e-05 1.68e+03 1s 38 2.96606932e+09 3.03662107e+09 4.65e+04 4.68e-05 1.59e+03 1s
/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:226: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError.
Dim: 'name': left=['battery storage'], right=['hydrogen storage']
Resolve: `.sel(...)` / `.reindex(...)` to align
`.assign_coords(...)` to relabel one side
`linopy.align(...)` to pre-align several operands
or pass an explicit `join=` argument.
Opt in: linopy.options['semantics'] = 'v1'
Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning)
return merge(expr)
/opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/contextlib.py:85: FutureWarning: The default value of `include_objective_constant` will change from True to False in version 2.0. Set `include_objective_constant` explicitly to suppress this warning. Using False improves LP numerical conditioning by not including the objective constant as a variable.
return func(*args, **kwds)
39 2.97325019e+09 3.04072899e+09 4.22e+04 3.82e-05 1.39e+03 1s 40 2.97550470e+09 3.04385617e+09 4.07e+04 3.52e-05 1.33e+03 1s 41 2.98533958e+09 3.04703057e+09 3.48e+04 3.29e-05 1.11e+03 1s 42 2.99475745e+09 3.04739346e+09 3.00e+04 2.51e-05 9.59e+02 1s 43 2.99892601e+09 3.05032902e+09 2.81e+04 1.71e-05 8.40e+02 1s 44 3.00651516e+09 3.05096336e+09 2.44e+04 1.41e-05 7.56e+02 1s 45 3.01928197e+09 3.05205220e+09 1.81e+04 8.71e-06 5.85e+02 1s 46 3.02371162e+09 3.05452053e+09 1.59e+04 3.32e-06 4.21e+02 1s
47 3.03051580e+09 3.05500839e+09 1.25e+04 2.27e-06 3.26e+02 1s 48 3.03226882e+09 3.05526464e+09 1.17e+04 1.95e-06 2.99e+02 1s 49 3.03265901e+09 3.05565958e+09 1.15e+04 1.66e-06 2.86e+02 1s 50 3.03297188e+09 3.05594854e+09 1.13e+04 1.53e-06 2.79e+02 1s 51 3.03358028e+09 3.05615414e+09 1.11e+04 1.04e-06 2.68e+02 1s 52 3.03431477e+09 3.05615671e+09 1.07e+04 6.59e-08 2.48e+02 1s 53 3.03910199e+09 3.05662145e+09 8.50e+03 4.77e-12 1.95e+02 1s 54 3.04675523e+09 3.05682409e+09 4.91e+03 7.96e-12 1.21e+02 1s 55 3.04789311e+09 3.05688769e+09 4.32e+03 2.96e-12 1.02e+02 2s
/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:226: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError.
Dim: 'name': left=['battery storage'], right=['hydrogen storage']
Resolve: `.sel(...)` / `.reindex(...)` to align
`.assign_coords(...)` to relabel one side
`linopy.align(...)` to pre-align several operands
or pass an explicit `join=` argument.
Opt in: linopy.options['semantics'] = 'v1'
Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning)
return merge(expr)
56 3.05060549e+09 3.05689461e+09 3.08e+03 5.46e-12 7.78e+01 2s 57 3.05254037e+09 3.05714319e+09 2.21e+03 3.18e-12 5.38e+01 2s 58 3.05286430e+09 3.05718733e+09 2.06e+03 1.82e-12 4.89e+01 2s 59 3.05352797e+09 3.05732769e+09 1.76e+03 4.32e-12 3.57e+01 2s 60 3.05519524e+09 3.05735259e+09 1.00e+03 2.05e-12 2.12e+01 2s 61 3.05662839e+09 3.05738808e+09 3.51e+02 1.41e-11 7.19e+00 2s 62 3.05739113e+09 3.05739550e+09 3.04e+00 9.21e-09 1.96e-01 2s 63 3.05739296e+09 3.05739744e+09 2.16e+00 1.07e-09 5.61e-02 2s 64 3.05739726e+09 3.05739755e+09 1.65e-01 1.45e-10 7.10e-03 2s 65 3.05739756e+09 3.05739756e+09 2.71e-06 4.66e-10 8.89e-06 2s 66 3.05739756e+09 3.05739756e+09 1.47e-08 1.96e-11 8.89e-09 2s Barrier solved model in 66 iterations and 1.70 seconds (0.36 work units) Optimal objective 3.05739756e+09 Crossover log...
/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:226: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError.
Dim: 'name': left=['battery storage'], right=['hydrogen storage']
Resolve: `.sel(...)` / `.reindex(...)` to align
`.assign_coords(...)` to relabel one side
`linopy.align(...)` to pre-align several operands
or pass an explicit `join=` argument.
Opt in: linopy.options['semantics'] = 'v1'
Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning)
return merge(expr)
/opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/contextlib.py:85: FutureWarning: The default value of `include_objective_constant` will change from True to False in version 2.0. Set `include_objective_constant` explicitly to suppress this warning. Using False improves LP numerical conditioning by not including the objective constant as a variable.
return func(*args, **kwds)
6 DPushes remaining with DInf 0.0000000e+00 2s
0 DPushes remaining with DInf 0.0000000e+00 2s
1484 PPushes remaining with PInf 0.0000000e+00 2s
0 PPushes remaining with PInf 0.0000000e+00 2s
Push phase complete: Pinf 0.0000000e+00, Dinf 2.7263525e-11 2s
Crossover time: 0.14 seconds (0.06 work units)
Solved with barrier
Iteration Objective Primal Inf. Dual Inf. Time
1492 3.0573976e+09 0.000000e+00 0.000000e+00 2s
Solved in 1492 iterations and 1.87 seconds (0.42 work units)
Optimal objective 3.057397558e+09
/opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/contextlib.py:85: FutureWarning: The default value of `include_objective_constant` will change from True to False in version 2.0. Set `include_objective_constant` explicitly to suppress this warning. Using False improves LP numerical conditioning by not including the objective constant as a variable. return func(*args, **kwds)
/opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/contextlib.py:85: FutureWarning: The default value of `include_objective_constant` will change from True to False in version 2.0. Set `include_objective_constant` explicitly to suppress this warning. Using False improves LP numerical conditioning by not including the objective constant as a variable. return func(*args, **kwds)
/opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/contextlib.py:85: FutureWarning: The default value of `include_objective_constant` will change from True to False in version 2.0. Set `include_objective_constant` explicitly to suppress this warning. Using False improves LP numerical conditioning by not including the objective constant as a variable. return func(*args, **kwds)
/opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/contextlib.py:85: FutureWarning: The default value of `include_objective_constant` will change from True to False in version 2.0. Set `include_objective_constant` explicitly to suppress this warning. Using False improves LP numerical conditioning by not including the objective constant as a variable.
return func(*args, **kwds)
/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:226: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError.
Dim: 'name': left=['battery storage'], right=['hydrogen storage']
Resolve: `.sel(...)` / `.reindex(...)` to align
`.assign_coords(...)` to relabel one side
`linopy.align(...)` to pre-align several operands
or pass an explicit `join=` argument.
Opt in: linopy.options['semantics'] = 'v1'
Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning)
return merge(expr)
/opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/contextlib.py:85: FutureWarning: The default value of `include_objective_constant` will change from True to False in version 2.0. Set `include_objective_constant` explicitly to suppress this warning. Using False improves LP numerical conditioning by not including the objective constant as a variable.
return func(*args, **kwds)
/opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/contextlib.py:85: FutureWarning: The default value of `include_objective_constant` will change from True to False in version 2.0. Set `include_objective_constant` explicitly to suppress this warning. Using False improves LP numerical conditioning by not including the objective constant as a variable. return func(*args, **kwds)
/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:226: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError.
Dim: 'name': left=['battery storage'], right=['hydrogen storage']
Resolve: `.sel(...)` / `.reindex(...)` to align
`.assign_coords(...)` to relabel one side
`linopy.align(...)` to pre-align several operands
or pass an explicit `join=` argument.
Opt in: linopy.options['semantics'] = 'v1'
Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning)
return merge(expr)
/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:567: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError.
Dim: 'name': left=['wind', 'solar'], right=['battery storage', 'electrolysis', 'hydrogen storage', 'turbine']
Resolve: `.sel(...)` / `.reindex(...)` to align
`.assign_coords(...)` to relabel one side
`linopy.align(...)` to pre-align several operands
or pass an explicit `join=` argument.
Opt in: linopy.options['semantics'] = 'v1'
Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning)
-sum(
Writing constraints.: 0%| | 0/26 [00:00<?, ?it/s] Writing constraints.: 27%|██▋ | 7/26 [00:00<00:00, 64.86it/s]
Writing constraints.: 54%|█████▍ | 14/26 [00:00<00:00, 60.82it/s] Writing constraints.: 81%|████████ | 21/26 [00:00<00:00, 49.31it/s]
Writing constraints.: 100%|██████████| 26/26 [00:00<00:00, 48.42it/s] Writing continuous variables.: 0%| | 0/12 [00:00<?, ?it/s] Writing continuous variables.: 75%|███████▌ | 9/12 [00:00<00:00, 80.07it/s] Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 79.24it/s]
Set parameter WLSAccessID
Set parameter WLSSecret
Set parameter LicenseID to value 2537914
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Read LP format model from file /tmp/linopy-problem-in5zd5yj.lp
Reading time = 0.10 seconds
obj: 23383 rows, 10720 columns, 44348 nonzeros
Gurobi Optimizer version 13.0.2 build v13.0.2rc1 (linux64 - "Ubuntu 24.04.5 LTS")
CPU model: AMD EPYC 7763 64-Core Processor, instruction set [SSE2|AVX|AVX2]
Thread count: 2 physical cores, 4 logical processors, using up to 4 threads
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Optimize a model with 23383 rows, 10720 columns and 44348 nonzeros (Min)
Model fingerprint: 0x45e9aeec
Model has 6 linear objective coefficients
Coefficient statistics:
Matrix range [1e-03, 2e+05]
Objective range [1e+02, 1e+05]
Bounds range [0e+00, 0e+00]
RHS range [5e+03, 8e+09]
Warning: Model contains large rhs
Consider reformulating model or setting NumericFocus parameter
to avoid numerical issues.
Presolve removed 13136 rows and 2416 columns
Presolve time: 0.07s
Presolved: 10247 rows, 8304 columns, 29770 nonzeros
Concurrent LP optimizer: dual simplex and barrier
Showing barrier log only...
Ordering time: 0.02s
Barrier statistics:
Dense cols : 6
AA' NZ : 2.537e+04
Factor NZ : 1.718e+05 (roughly 9 MB of memory)
Factor Ops : 2.974e+06 (less than 1 second per iteration)
Threads : 1
Objective Residual
Iter Primal Dual Primal Dual Compl Time
0 4.15566486e+09 -7.60411156e+11 7.39e+08 1.99e+03 3.74e+09 0s
1 9.79694797e+10 -6.62596036e+11 9.45e+07 3.33e+03 1.74e+09 0s
2 9.24124875e+10 -2.60691346e+11 5.06e+07 4.03e+01 2.95e+08 0s
3 2.93436309e+09 -1.16247458e+11 9.63e+05 2.99e-01 1.21e+07 0s
4 1.68023644e+09 -3.43338893e+10 4.39e+05 1.93e-11 3.31e+06 0s
5 7.72037924e+08 -1.62395627e+10 1.78e+05 6.89e-12 1.26e+06 0s
/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:226: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError.
Dim: 'name': left=['battery storage'], right=['hydrogen storage']
Resolve: `.sel(...)` / `.reindex(...)` to align
`.assign_coords(...)` to relabel one side
`linopy.align(...)` to pre-align several operands
or pass an explicit `join=` argument.
Opt in: linopy.options['semantics'] = 'v1'
Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning)
return merge(expr)
/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:567: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError.
Dim: 'name': left=['wind', 'solar'], right=['battery storage', 'electrolysis', 'hydrogen storage', 'turbine']
Resolve: `.sel(...)` / `.reindex(...)` to align
`.assign_coords(...)` to relabel one side
`linopy.align(...)` to pre-align several operands
or pass an explicit `join=` argument.
Opt in: linopy.options['semantics'] = 'v1'
Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning)
-sum(
6 3.47044445e+08 -9.00014719e+09 1.13e+05 4.63e-12 6.54e+05 0s 7 1.15478548e+08 -8.05424758e+09 9.16e+04 4.26e-12 5.60e+05 0s 8 -3.28946641e+08 -6.77967704e+09 7.15e+04 3.32e-12 4.36e+05 0s 9 -5.97555000e+08 -6.44431986e+09 5.92e+04 4.17e-12 3.91e+05 0s 10 -8.59045467e+08 -5.97525852e+09 5.23e+04 2.30e-12 3.41e+05 0s 11 -1.04743829e+09 -4.86250117e+09 4.32e+04 1.36e-12 2.54e+05 0s 12 -1.15722342e+09 -4.54632868e+09 3.56e+04 1.87e-12 2.24e+05 0s 13 -1.64588206e+09 -3.59312352e+09 2.42e+04 1.18e-12 1.32e+05 1s
/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:226: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError.
Dim: 'name': left=['battery storage'], right=['hydrogen storage']
Resolve: `.sel(...)` / `.reindex(...)` to align
`.assign_coords(...)` to relabel one side
`linopy.align(...)` to pre-align several operands
or pass an explicit `join=` argument.
Opt in: linopy.options['semantics'] = 'v1'
Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning)
return merge(expr)
/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:567: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError.
Dim: 'name': left=['wind', 'solar'], right=['battery storage', 'electrolysis', 'hydrogen storage', 'turbine']
Resolve: `.sel(...)` / `.reindex(...)` to align
`.assign_coords(...)` to relabel one side
`linopy.align(...)` to pre-align several operands
or pass an explicit `join=` argument.
Opt in: linopy.options['semantics'] = 'v1'
Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning)
-sum(
14 -1.82846867e+09 -2.72181640e+09 1.17e+04 2.34e-12 6.06e+04 1s 15 -1.91323996e+09 -2.64189246e+09 7.98e+03 2.70e-12 4.86e+04 1s 16 -1.93560906e+09 -2.51196456e+09 7.06e+03 2.07e-12 3.90e+04 1s 17 -1.99759909e+09 -2.47394235e+09 3.13e+03 2.37e-12 3.06e+04 1s 18 -2.02033971e+09 -2.36659096e+09 2.24e+03 1.76e-12 2.22e+04 1s 19 -2.02373084e+09 -2.34141758e+09 1.96e+03 2.05e-12 2.03e+04 1s 20 -2.03800192e+09 -2.27867416e+09 1.62e+03 1.61e-12 1.55e+04 1s 21 -2.04269979e+09 -2.26695591e+09 1.43e+03 2.09e-12 1.44e+04 1s
Writing constraints.: 0%| | 0/26 [00:00<?, ?it/s] Writing constraints.: 19%|█▉ | 5/26 [00:00<00:00, 43.27it/s]/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:226: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError. Dim: 'name': left=['battery storage'], right=['hydrogen storage'] Resolve: `.sel(...)` / `.reindex(...)` to align `.assign_coords(...)` to relabel one side `linopy.align(...)` to pre-align several operands or pass an explicit `join=` argument. Opt in: linopy.options['semantics'] = 'v1' Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning) return merge(expr)
22 -2.05551010e+09 -2.23409594e+09 6.97e+02 2.85e-12 1.12e+04 1s 23 -2.05505698e+09 -2.20956839e+09 6.77e+02 2.87e-12 9.72e+03 1s 24 -2.05679908e+09 -2.18536271e+09 5.13e+02 1.73e-12 8.05e+03 1s 25 -2.06162879e+09 -2.17934564e+09 3.66e+02 2.32e-12 7.31e+03 1s 26 -2.06138563e+09 -2.17482148e+09 3.53e+02 2.55e-12 7.04e+03 1s 27 -2.06392990e+09 -2.16162997e+09 2.52e+02 3.06e-12 6.04e+03 1s 28 -2.06625131e+09 -2.14851762e+09 1.40e+02 3.08e-12 5.04e+03 1s
Writing constraints.: 38%|███▊ | 10/26 [00:00<00:00, 42.95it/s]/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:567: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError. Dim: 'name': left=['wind', 'solar'], right=['battery storage', 'electrolysis', 'hydrogen storage', 'turbine'] Resolve: `.sel(...)` / `.reindex(...)` to align `.assign_coords(...)` to relabel one side `linopy.align(...)` to pre-align several operands or pass an explicit `join=` argument. Opt in: linopy.options['semantics'] = 'v1' Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning) -sum( /home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:226: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError. Dim: 'name': left=['battery storage'], right=['hydrogen storage'] Resolve: `.sel(...)` / `.reindex(...)` to align `.assign_coords(...)` to relabel one side `linopy.align(...)` to pre-align several operands or pass an explicit `join=` argument. Opt in: linopy.options['semantics'] = 'v1' Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning) return merge(expr) Writing constraints.: 62%|██████▏ | 16/26 [00:00<00:00, 47.54it/s]/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:567: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError. Dim: 'name': left=['wind', 'solar'], right=['battery storage', 'electrolysis', 'hydrogen storage', 'turbine'] Resolve: `.sel(...)` / `.reindex(...)` to align `.assign_coords(...)` to relabel one side `linopy.align(...)` to pre-align several operands or pass an explicit `join=` argument. Opt in: linopy.options['semantics'] = 'v1' Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning) -sum( /home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:226: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError. Dim: 'name': left=['battery storage'], right=['hydrogen storage'] Resolve: `.sel(...)` / `.reindex(...)` to align `.assign_coords(...)` to relabel one side `linopy.align(...)` to pre-align several operands or pass an explicit `join=` argument. Opt in: linopy.options['semantics'] = 'v1' Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning) return merge(expr)
29 -2.06808853e+09 -2.13816311e+09 5.69e+01 2.30e-12 4.25e+03 1s 30 -2.06820396e+09 -2.12187795e+09 4.43e+01 3.36e-12 3.26e+03 1s 31 -2.07032484e+09 -2.11595485e+09 2.72e+01 3.02e-12 2.76e+03 1s 32 -2.07038702e+09 -2.09565013e+09 2.64e+01 2.37e-12 1.54e+03 1s 33 -2.07149318e+09 -2.07335584e+09 1.04e+01 3.00e-12 1.18e+02 1s 34 -2.07218094e+09 -2.07253687e+09 1.20e+00 2.01e-12 2.22e+01 1s 35 -2.07229315e+09 -2.07231220e+09 5.59e-07 2.36e-12 1.15e+00 1s
/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:567: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError.
Dim: 'name': left=['wind', 'solar'], right=['battery storage', 'electrolysis', 'hydrogen storage', 'turbine']
Resolve: `.sel(...)` / `.reindex(...)` to align
`.assign_coords(...)` to relabel one side
`linopy.align(...)` to pre-align several operands
or pass an explicit `join=` argument.
Opt in: linopy.options['semantics'] = 'v1'
Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning)
-sum(
Writing constraints.: 81%|████████ | 21/26 [00:00<00:00, 44.89it/s]
Writing constraints.: 0%| | 0/26 [00:00<?, ?it/s]
Writing constraints.: 100%|██████████| 26/26 [00:00<00:00, 42.44it/s]
Writing constraints.: 100%|██████████| 26/26 [00:00<00:00, 43.54it/s]
Writing continuous variables.: 0%| | 0/12 [00:00<?, ?it/s]
Writing constraints.: 12%|█▏ | 3/26 [00:00<00:00, 23.63it/s]
36 -2.07229365e+09 -2.07229990e+09 3.77e-07 2.08e-12 3.76e-01 1s
37 -2.07229360e+09 -2.07229429e+09 9.12e-09 1.85e-11 4.17e-02 1s
38 -2.07229397e+09 -2.07229406e+09 2.82e-08 1.46e-11 5.12e-03 1s
39 -2.07229398e+09 -2.07229398e+09 6.85e-08 4.37e-11 5.12e-06 1s
40 -2.07229398e+09 -2.07229398e+09 1.02e-07 9.32e-11 5.12e-09 1s
Barrier solved model in 40 iterations and 1.31 seconds (0.24 work units)
Optimal objective -2.07229398e+09
Crossover log...
10 DPushes remaining with DInf 0.0000000e+00 1s
Writing continuous variables.: 83%|████████▎ | 10/12 [00:00<00:00, 91.69it/s] Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 90.94it/s] Writing constraints.: 23%|██▎ | 6/26 [00:00<00:00, 22.94it/s] Writing constraints.: 0%| | 0/26 [00:00<?, ?it/s]
0 DPushes remaining with DInf 0.0000000e+00 1s
1907 PPushes remaining with PInf 0.0000000e+00 1s
Set parameter WLSAccessID
Set parameter WLSSecret
Set parameter LicenseID to value 2537914
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Read LP format model from file /tmp/linopy-problem-sbrqhgmm.lp
Reading time = 0.09 seconds
obj: 23383 rows, 10720 columns, 44348 nonzeros
Gurobi Optimizer version 13.0.2 build v13.0.2rc1 (linux64 - "Ubuntu 24.04.5 LTS")
CPU model: AMD EPYC 7763 64-Core Processor, instruction set [SSE2|AVX|AVX2]
Thread count: 2 physical cores, 4 logical processors, using up to 4 threads
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Optimize a model with 23383 rows, 10720 columns and 44348 nonzeros (Min)
Model fingerprint: 0x05f0ff31
Model has 6 linear objective coefficients
Coefficient statistics:
Matrix range [1e-03, 2e+05]
Objective range [5e+01, 8e+04]
Bounds range [0e+00, 0e+00]
RHS range [5e+03, 8e+09]
Warning: Model contains large rhs
Consider reformulating model or setting NumericFocus parameter
to avoid numerical issues.
0 PPushes remaining with PInf 0.0000000e+00 2s
Push phase complete: Pinf 0.0000000e+00, Dinf 5.9401373e-11 2s
Crossover time: 0.21 seconds (0.06 work units)
Solved with barrier
Iteration Objective Primal Inf. Dual Inf. Time
1920 -2.0722940e+09 0.000000e+00 0.000000e+00 2s
Solved in 1920 iterations and 1.54 seconds (0.30 work units)
Optimal objective -2.072293976e+09
Presolve removed 13136 rows and 2416 columns
Presolve time: 0.07s
Presolved: 10247 rows, 8304 columns, 29770 nonzeros
Concurrent LP optimizer: dual simplex and barrier
Showing barrier log only...
Writing constraints.: 35%|███▍ | 9/26 [00:00<00:00, 19.99it/s] Writing constraints.: 0%| | 0/26 [00:00<?, ?it/s] Writing constraints.: 0%| | 0/26 [00:00<?, ?it/s] Writing constraints.: 38%|███▊ | 10/26 [00:00<00:00, 96.94it/s] Writing constraints.: 65%|██████▌ | 17/26 [00:00<00:00, 37.02it/s] Writing constraints.: 12%|█▏ | 3/26 [00:00<00:00, 23.91it/s]/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:226: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError. Dim: 'name': left=['battery storage'], right=['hydrogen storage'] Resolve: `.sel(...)` / `.reindex(...)` to align `.assign_coords(...)` to relabel one side `linopy.align(...)` to pre-align several operands or pass an explicit `join=` argument. Opt in: linopy.options['semantics'] = 'v1' Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning) return merge(expr) Writing constraints.: 15%|█▌ | 4/26 [00:00<00:00, 34.20it/s]
Ordering time: 0.02s
Barrier statistics:
Dense cols : 6
AA' NZ : 2.537e+04
Factor NZ : 1.718e+05 (roughly 9 MB of memory)
Factor Ops : 2.974e+06 (less than 1 second per iteration)
Threads : 1
Objective Residual
Iter Primal Dual Primal Dual Compl Time
0 -3.60951263e+09 -9.62831038e+11 7.39e+08 2.52e+03 4.73e+09 0s
1 -9.03020309e+10 -8.61691268e+11 1.15e+08 5.07e+03 2.44e+09 0s
2 -8.22763772e+10 -2.96709043e+11 6.26e+07 6.47e+01 3.79e+08 0s
3 -5.83295568e+09 -1.41844359e+11 2.40e+06 2.12e+00 2.16e+07 0s
4 -3.50159115e+09 -4.22371526e+10 4.85e+05 1.31e-11 3.86e+06 0s
5 -3.24535601e+09 -2.25183789e+10 1.70e+05 1.06e-11 1.48e+06 0s
6 -3.35447084e+09 -1.12433985e+10 1.08e+05 4.08e-12 5.88e+05 0s
Writing constraints.: 81%|████████ | 21/26 [00:00<00:00, 98.87it/s] Writing constraints.: 88%|████████▊ | 23/26 [00:00<00:00, 43.46it/s]/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:567: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError. Dim: 'name': left=['wind', 'solar'], right=['battery storage', 'electrolysis', 'hydrogen storage', 'turbine'] Resolve: `.sel(...)` / `.reindex(...)` to align `.assign_coords(...)` to relabel one side `linopy.align(...)` to pre-align several operands or pass an explicit `join=` argument. Opt in: linopy.options['semantics'] = 'v1' Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning) -sum( Writing constraints.: 100%|██████████| 26/26 [00:00<00:00, 37.46it/s] Writing continuous variables.: 0%| | 0/12 [00:00<?, ?it/s] Writing constraints.: 23%|██▎ | 6/26 [00:00<00:00, 24.20it/s] Writing constraints.: 100%|██████████| 26/26 [00:00<00:00, 88.04it/s] Writing continuous variables.: 0%| | 0/12 [00:00<?, ?it/s] Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 198.94it/s] Writing constraints.: 31%|███ | 8/26 [00:00<00:00, 29.66it/s] Writing continuous variables.: 67%|██████▋ | 8/12 [00:00<00:00, 76.76it/s]
7 -3.60576421e+09 -8.73657218e+09 6.46e+04 2.93e-12 3.64e+05 0s
8 -3.86410688e+09 -8.06790528e+09 4.56e+04 2.51e-12 2.89e+05 0s
9 -4.09585299e+09 -7.35562392e+09 3.34e+04 2.38e-12 2.20e+05 0s
10 -4.22508382e+09 -6.81507996e+09 2.70e+04 2.12e-12 1.74e+05 0s
11 -4.55402778e+09 -6.57337903e+09 1.32e+04 1.99e-12 1.30e+05 0s
Set parameter WLSAccessID
Set parameter WLSSecret
Set parameter LicenseID to value 2537914
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
12 -4.65801686e+09 -6.44166105e+09 8.11e+03 2.04e-12 1.13e+05 0s
13 -4.65510367e+09 -6.15949507e+09 5.26e+03 2.48e-12 9.38e+04 0s
14 -4.74910408e+09 -5.47718165e+09 3.20e+03 2.15e-12 4.56e+04 0s
Read LP format model from file /tmp/linopy-problem-2g77l0zt.lp
Reading time = 0.06 seconds
obj: 23383 rows, 10720 columns, 44348 nonzeros
Gurobi Optimizer version 13.0.2 build v13.0.2rc1 (linux64 - "Ubuntu 24.04.5 LTS")
CPU model: AMD EPYC 7763 64-Core Processor, instruction set [SSE2|AVX|AVX2]
Thread count: 2 physical cores, 4 logical processors, using up to 4 threads
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Optimize a model with 23383 rows, 10720 columns and 44348 nonzeros (Min)
Model fingerprint: 0xf075f918
Model has 6 linear objective coefficients
Coefficient statistics:
Matrix range [1e-03, 2e+05]
Objective range [1e+01, 1e+05]
Bounds range [0e+00, 0e+00]
RHS range [5e+03, 8e+09]
Warning: Model contains large rhs
Consider reformulating model or setting NumericFocus parameter
to avoid numerical issues.
15 -4.77758585e+09 -5.32038134e+09 2.64e+03 1.74e-12 3.41e+04 0s
Presolve removed 13136 rows and 2416 columns
Presolve time: 0.04s
Presolved: 10247 rows, 8304 columns, 29770 nonzeros
Concurrent LP optimizer: dual simplex and barrier
Showing barrier log only...
16 -4.79755201e+09 -5.16371472e+09 2.08e+03 2.47e-12 2.32e+04 1s
Ordering time: 0.01s
Barrier statistics:
Dense cols : 6
AA' NZ : 2.537e+04
Factor NZ : 1.718e+05 (roughly 9 MB of memory)
Factor Ops : 2.974e+06 (less than 1 second per iteration)
Threads : 1
17 -4.81542428e+09 -5.14904770e+09 1.46e+03 2.68e-12 2.09e+04 1s
Set parameter WLSAccessID
Objective Residual
Set parameter WLSSecret
Iter Primal Dual Primal Dual Compl Time
Set parameter LicenseID to value 2537914
0 2.30963708e+09 -3.66489471e+11 7.39e+08 6.70e+02 1.80e+09 0s
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
1 1.87701780e+10 -3.30865449e+11 1.09e+08 1.40e+03 8.78e+08 0s
18 -4.83712100e+09 -4.92346367e+09 8.47e+02 2.16e-12 5.63e+03 1s
2 1.79808352e+10 -1.08429529e+11 5.19e+07 2.47e+01 1.20e+08 0s
3 2.26616585e+09 -4.39755917e+10 1.81e+06 1.46e+00 6.59e+06 0s
19 -4.84662950e+09 -4.91911509e+09 6.93e+02 1.80e-12 4.71e+03 1s
4 1.86301211e+09 -1.24641611e+10 4.62e+05 4.19e-02 1.41e+06 0s
20 -4.86550291e+09 -4.90570279e+09 2.90e+02 2.18e-12 2.57e+03 1s
5 1.61399466e+09 -5.73026516e+09 1.81e+05 3.20e-12 5.78e+05 0s
6 1.43889815e+09 -2.49632530e+09 1.32e+05 2.07e-12 3.10e+05 0s
21 -4.87391242e+09 -4.88981361e+09 1.19e+02 2.15e-12 1.02e+03 1s
7 1.30282671e+09 -1.56781709e+09 9.26e+04 1.81e-12 2.18e+05 0s
8 1.17124233e+09 -9.08510125e+08 4.27e+04 1.36e-12 1.45e+05 0s
Writing constraints.: 35%|███▍ | 9/26 [00:00<00:00, 20.75it/s] Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 67.00it/s] Writing constraints.: 46%|████▌ | 12/26 [00:00<00:00, 26.83it/s] Writing constraints.: 58%|█████▊ | 15/26 [00:00<00:00, 27.40it/s] Writing constraints.: 46%|████▌ | 12/26 [00:00<00:00, 19.47it/s]
22 -4.87906271e+09 -4.88102985e+09 1.81e+01 2.70e-12 1.27e+02 1s
9 1.02228983e+09 -2.62035648e+08 2.57e+04 9.74e-13 8.82e+04 0s
10 9.59152963e+08 -1.96130615e+08 2.08e+04 4.55e-12 7.83e+04 0s
Read LP format model from file /tmp/linopy-problem-wwmlghkg.lp
Reading time = 0.18 seconds
obj: 23383 rows, 10720 columns, 44348 nonzeros
Gurobi Optimizer version 13.0.2 build v13.0.2rc1 (linux64 - "Ubuntu 24.04.5 LTS")
CPU model: AMD EPYC 7763 64-Core Processor, instruction set [SSE2|AVX|AVX2]
Thread count: 2 physical cores, 4 logical processors, using up to 4 threads
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Optimize a model with 23383 rows, 10720 columns and 44348 nonzeros (Min)
Model fingerprint: 0xe81d411c
Model has 6 linear objective coefficients
Coefficient statistics:
Matrix range [1e-03, 2e+05]
Objective range [1e+02, 2e+05]
Bounds range [0e+00, 0e+00]
RHS range [5e+03, 8e+09]
Warning: Model contains large rhs
Consider reformulating model or setting NumericFocus parameter
to avoid numerical issues.
23 -4.88011797e+09 -4.88026346e+09 5.38e-01 2.13e-12 9.03e+00 1s
11 8.94298952e+08 -3.62941752e+07 1.37e+04 1.23e-11 6.18e+04 0s
12 8.98890111e+08 7.54392858e+07 1.33e+04 9.09e-13 5.50e+04 0s
24 -4.88016959e+09 -4.88017549e+09 1.05e-02 9.71e-11 3.60e-01 1s
13 8.59742558e+08 1.77706186e+08 1.01e+04 1.10e-12 4.51e+04 0s
14 8.01302784e+08 3.51632312e+08 5.12e+03 6.82e-12 2.92e+04 0s
25 -4.88017113e+09 -4.88017113e+09 3.59e-07 8.37e-11 5.44e-06 1s
15 7.85165309e+08 4.51754385e+08 3.71e+03 1.49e-12 2.16e+04 0s
16 7.82439000e+08 5.32904002e+08 3.46e+03 7.73e-12 1.64e+04 0s
26 -4.88017113e+09 -4.88017113e+09 5.98e-08 1.39e-09 5.44e-09 1s
Barrier solved model in 26 iterations and 0.86 seconds (0.16 work units)
Optimal objective -4.88017113e+09
Crossover log...
17 7.67941048e+08 5.38151841e+08 2.18e+03 9.20e-13 1.47e+04 0s
Presolve removed 13136 rows and 2416 columns
Presolve time: 0.13s
Presolved: 10247 rows, 8304 columns, 29770 nonzeros
Concurrent LP optimizer: dual simplex and barrier
Showing barrier log only...
18 7.58005942e+08 6.57171024e+08 1.31e+03 1.20e-12 6.57e+03 0s
19 7.53694080e+08 6.70476456e+08 9.12e+02 9.90e-13 5.36e+03 0s
Writing constraints.: 69%|██████▉ | 18/26 [00:00<00:00, 25.87it/s] Writing constraints.: 58%|█████▊ | 15/26 [00:00<00:00, 21.45it/s] Writing constraints.: 0%| | 0/26 [00:00<?, ?it/s] Writing constraints.: 81%|████████ | 21/26 [00:00<00:00, 23.43it/s] Writing constraints.: 69%|██████▉ | 18/26 [00:00<00:00, 20.70it/s]
20 7.48222055e+08 6.88571656e+08 3.78e+02 4.55e-12 3.75e+03 0s
Ordering time: 0.03s
12 DPushes remaining with DInf 0.0000000e+00 1s
21 7.47145853e+08 7.03450592e+08 2.79e+02 1.07e-12 2.75e+03 0s
Barrier statistics:
Dense cols : 6
AA' NZ : 2.537e+04
Factor NZ : 1.718e+05 (roughly 9 MB of memory)
Factor Ops : 2.974e+06 (less than 1 second per iteration)
Threads : 1
0 DPushes remaining with DInf 0.0000000e+00 1s
22 7.45412588e+08 7.38404879e+08 1.25e+02 3.64e-11 4.67e+02 0s
1624 PPushes remaining with PInf 0.0000000e+00 1s
23 7.44035672e+08 7.40299290e+08 1.67e+01 2.14e-11 2.32e+02 1s
Objective Residual
Iter Primal Dual Primal Dual Compl Time
0 8.66751518e+09 -4.75621852e+09 7.59e+08 0.00e+00 2.45e+07 0s
24 7.43784214e+08 7.41669795e+08 4.04e-01 2.09e-11 1.28e+02 1s
25 7.43739041e+08 7.43558366e+08 8.17e-02 1.25e-12 1.09e+01 1s
1 5.03007160e+09 -3.53490613e+09 8.11e+06 1.61e-02 1.26e+06 0s
26 7.43736035e+08 7.43727346e+08 5.07e-02 2.58e-10 5.40e-01 1s
27 7.43728892e+08 7.43728639e+08 1.97e-04 2.06e-09 1.50e-02 1s
28 7.43728838e+08 7.43728837e+08 3.49e-05 1.72e-10 4.98e-05 1s
2 3.14568346e+09 1.42873908e+08 4.67e+06 3.84e-02 3.16e+05 0s
29 7.43728837e+08 7.43728837e+08 1.14e-08 5.37e-10 3.95e-10 1s
Barrier solved model in 29 iterations and 0.63 seconds (0.18 work units)
Optimal objective 7.43728837e+08
Crossover log...
Writing constraints.: 19%|█▉ | 5/26 [00:00<00:00, 41.09it/s]/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:226: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError. Dim: 'name': left=['battery storage'], right=['hydrogen storage'] Resolve: `.sel(...)` / `.reindex(...)` to align `.assign_coords(...)` to relabel one side `linopy.align(...)` to pre-align several operands or pass an explicit `join=` argument. Opt in: linopy.options['semantics'] = 'v1' Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning) return merge(expr) /home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:567: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError. Dim: 'name': left=['wind', 'solar'], right=['battery storage', 'electrolysis', 'hydrogen storage', 'turbine'] Resolve: `.sel(...)` / `.reindex(...)` to align `.assign_coords(...)` to relabel one side `linopy.align(...)` to pre-align several operands or pass an explicit `join=` argument. Opt in: linopy.options['semantics'] = 'v1' Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning) -sum( Writing constraints.: 81%|████████ | 21/26 [00:01<00:00, 20.02it/s] Writing constraints.: 92%|█████████▏| 24/26 [00:01<00:00, 20.01it/s]/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:226: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError. Dim: 'name': left=['battery storage'], right=['hydrogen storage'] Resolve: `.sel(...)` / `.reindex(...)` to align `.assign_coords(...)` to relabel one side `linopy.align(...)` to pre-align several operands or pass an explicit `join=` argument. Opt in: linopy.options['semantics'] = 'v1' Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning) return merge(expr) Writing constraints.: 38%|███▊ | 10/26 [00:00<00:00, 38.76it/s] Writing constraints.: 100%|██████████| 26/26 [00:01<00:00, 23.74it/s] Writing continuous variables.: 0%| | 0/12 [00:00<?, ?it/s]
3 2.33351508e+09 9.34805441e+08 2.58e+06 1.46e-11 1.83e+05 0s
3 DPushes remaining with DInf 0.0000000e+00 1s
0 DPushes remaining with DInf 0.0000000e+00 1s
1547 PPushes remaining with PInf 0.0000000e+00 1s
0 PPushes remaining with PInf 0.0000000e+00 1s
Push phase complete: Pinf 0.0000000e+00, Dinf 6.0012439e-11 1s
Crossover time: 0.33 seconds (0.06 work units)
4 1.99685811e+09 1.13520890e+09 1.82e+06 7.73e-12 1.28e+05 0s
Solved with barrier
5 1.84640155e+09 1.30497594e+09 1.38e+06 2.27e-12 9.67e+04 0s
Iteration Objective Primal Inf. Dual Inf. Time
1639 -4.8801711e+09 0.000000e+00 0.000000e+00 1s
Solved in 1639 iterations and 1.23 seconds (0.22 work units)
Optimal objective -4.880171132e+09
6 1.77685002e+09 1.43899820e+09 1.10e+06 8.64e-12 7.65e+04 0s
7 1.77119626e+09 1.55697906e+09 1.03e+06 5.46e-12 7.04e+04 1s
0 PPushes remaining with PInf 0.0000000e+00 1s
Push phase complete: Pinf 0.0000000e+00, Dinf 3.8909320e-11 1s
8 1.78276493e+09 1.68645528e+09 8.90e+05 9.09e-13 6.09e+04 1s
Crossover time: 0.17 seconds (0.06 work units)
Solved with barrier
9 1.81546060e+09 1.80263639e+09 8.07e+05 2.73e-12 5.49e+04 1s
Iteration Objective Primal Inf. Dual Inf. Time
1553 7.4372884e+08 0.000000e+00 0.000000e+00 1s
Solved in 1553 iterations and 0.83 seconds (0.24 work units)
Optimal objective 7.437288371e+08
10 1.87487577e+09 2.00602301e+09 7.18e+05 4.09e-12 4.75e+04 1s
11 1.95866543e+09 2.19537977e+09 6.40e+05 3.41e-13 4.22e+04 1s
Writing constraints.: 92%|█████████▏| 24/26 [00:01<00:00, 19.45it/s] Writing constraints.: 54%|█████▍ | 14/26 [00:00<00:00, 32.82it/s] Writing continuous variables.: 67%|██████▋ | 8/12 [00:00<00:00, 69.84it/s] Writing constraints.: 100%|██████████| 26/26 [00:01<00:00, 19.32it/s] Writing constraints.: 100%|██████████| 26/26 [00:01<00:00, 20.23it/s] Writing continuous variables.: 0%| | 0/12 [00:00<?, ?it/s] Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 70.70it/s] Writing constraints.: 0%| | 0/26 [00:00<?, ?it/s] Writing constraints.: 69%|██████▉ | 18/26 [00:00<00:00, 34.51it/s]
12 1.99880642e+09 2.22304246e+09 5.98e+05 3.41e-13 4.05e+04 1s
13 2.05367859e+09 2.29446362e+09 5.43e+05 2.27e-13 3.78e+04 1s
14 2.11624774e+09 2.33626055e+09 5.02e+05 2.27e-12 3.66e+04 1s
Warning: environment still referenced so free is deferred (Continue to use WLS)
Set parameter WLSAccessID
Set parameter WLSSecret
Set parameter LicenseID to value 2537914
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
15 2.18777083e+09 2.50046950e+09 4.55e+05 7.96e-13 3.13e+04 1s
16 2.27526516e+09 2.64662510e+09 3.96e+05 3.18e-12 2.55e+04 1s
Warning: environment still referenced so free is deferred (Continue to use WLS)
17 2.34276433e+09 2.76639927e+09 3.63e+05 1.82e-12 2.22e+04 1s
18 2.40030796e+09 2.82752941e+09 3.34e+05 6.82e-12 2.07e+04 1s
19 2.52942301e+09 2.87565689e+09 2.64e+05 4.09e-12 1.73e+04 1s
Read LP format model from file /tmp/linopy-problem-2mix5z_z.lp
Reading time = 0.10 seconds
obj: 23383 rows, 10720 columns, 44348 nonzeros
Gurobi Optimizer version 13.0.2 build v13.0.2rc1 (linux64 - "Ubuntu 24.04.5 LTS")
20 2.59771908e+09 2.93918100e+09 2.32e+05 6.82e-12 1.47e+04 1s
CPU model: AMD EPYC 7763 64-Core Processor, instruction set [SSE2|AVX|AVX2]
Thread count: 2 physical cores, 4 logical processors, using up to 4 threads
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Optimize a model with 23383 rows, 10720 columns and 44348 nonzeros (Min)
Model fingerprint: 0x187875a2
Model has 6 linear objective coefficients
Coefficient statistics:
Matrix range [1e-03, 2e+05]
Objective range [1e+01, 5e+04]
Bounds range [0e+00, 0e+00]
RHS range [5e+03, 8e+09]
Warning: Model contains large rhs
Consider reformulating model or setting NumericFocus parameter
to avoid numerical issues.
21 2.66217307e+09 2.95453161e+09 2.02e+05 1.82e-12 1.34e+04 1s
Presolve removed 13136 rows and 2416 columns
Presolve time: 0.04s
Presolved: 10247 rows, 8304 columns, 29770 nonzeros
Concurrent LP optimizer: dual simplex and barrier
Showing barrier log only...
22 2.69999627e+09 2.96429143e+09 1.85e+05 2.73e-12 1.27e+04 1s
Writing continuous variables.: 58%|█████▊ | 7/12 [00:00<00:00, 62.77it/s] Writing constraints.: 23%|██▎ | 6/26 [00:00<00:00, 50.39it/s] Writing constraints.: 85%|████████▍ | 22/26 [00:00<00:00, 32.78it/s] Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 59.18it/s] Writing constraints.: 100%|██████████| 26/26 [00:00<00:00, 35.54it/s] Writing continuous variables.: 0%| | 0/12 [00:00<?, ?it/s]
23 2.73418774e+09 2.98217016e+09 1.71e+05 8.64e-12 1.18e+04 1s
Ordering time: 0.01s
24 2.78254255e+09 3.03101108e+09 1.50e+05 5.46e-12 9.29e+03 1s
Barrier statistics:
Dense cols : 6
AA' NZ : 2.537e+04
Factor NZ : 1.718e+05 (roughly 9 MB of memory)
Factor Ops : 2.974e+06 (less than 1 second per iteration)
Threads : 1
Set parameter WLSAccessID
Set parameter WLSSecret
Set parameter LicenseID to value 2537914
Objective Residual
Iter Primal Dual Primal Dual Compl Time
25 2.80422719e+09 3.07205456e+09 1.40e+05 4.55e-13 7.40e+03 1s
0 2.31064696e+09 -1.91222395e+11 7.39e+08 1.92e+02 9.37e+08 0s
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
26 2.83310217e+09 3.08579865e+09 1.28e+05 7.96e-13 6.97e+03 1s
1 -4.02551884e+09 -1.78671303e+11 1.24e+08 3.01e+02 4.93e+08 0s
27 2.84947387e+09 3.09643856e+09 1.21e+05 9.09e-13 6.58e+03 1s
2 1.08673988e+10 -5.35018347e+10 6.00e+07 2.31e+01 5.65e+07 0s
28 2.88259970e+09 3.11143986e+09 1.10e+05 1.18e-11 6.02e+03 1s
29 2.92778903e+09 3.12784208e+09 9.25e+04 8.19e-12 4.94e+03 1s
3 2.20522638e+09 -2.24160126e+10 5.19e+06 2.49e+00 6.03e+06 0s
30 2.99841517e+09 3.15777601e+09 6.64e+04 2.05e-12 2.92e+03 1s
4 1.97493063e+09 -6.76130434e+09 4.47e+05 1.02e-01 8.31e+05 0s
31 3.08465498e+09 3.15992358e+09 3.54e+04 3.41e-13 2.14e+03 1s
32 3.13274110e+09 3.16768378e+09 1.83e+04 9.09e-13 1.38e+03 1s
5 1.96177057e+09 -2.22531690e+09 2.15e+05 2.74e-02 3.45e+05 0s
6 1.93575288e+09 4.89694447e+08 1.55e+05 2.27e-12 1.25e+05 0s
33 3.15415601e+09 3.17242916e+09 1.06e+04 6.37e-12 9.15e+02 1s
34 3.16864861e+09 3.17808292e+09 5.34e+03 2.73e-12 4.52e+02 1s
35 3.17511598e+09 3.18133525e+09 3.02e+03 4.55e-13 2.05e+02 1s
7 1.78167714e+09 1.20974759e+09 4.77e+04 8.72e-13 4.31e+04 0s
36 3.18173341e+09 3.18249301e+09 6.05e+02 5.46e-12 7.05e+01 1s
Read LP format model from file /tmp/linopy-problem-lfdq4vms.lp
Reading time = 0.16 seconds
obj: 23383 rows, 10720 columns, 44348 nonzeros
Gurobi Optimizer version 13.0.2 build v13.0.2rc1 (linux64 - "Ubuntu 24.04.5 LTS")
CPU model: AMD EPYC 7763 64-Core Processor, instruction set [SSE2|AVX|AVX2]
Thread count: 2 physical cores, 4 logical processors, using up to 4 threads
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Optimize a model with 23383 rows, 10720 columns and 44348 nonzeros (Min)
8 1.69235329e+09 1.47375761e+09 1.76e+04 1.82e-12 1.59e+04 0s
Model fingerprint: 0x7af2d71e
Model has 6 linear objective coefficients
Coefficient statistics:
Matrix range [1e-03, 2e+05]
Objective range [1e+02, 2e+05]
Bounds range [0e+00, 0e+00]
RHS range [5e+03, 8e+09]
Warning: Model contains large rhs
Consider reformulating model or setting NumericFocus parameter
to avoid numerical issues.
37 3.18231678e+09 3.18286541e+09 3.99e+02 2.73e-12 4.36e+01 1s
Set parameter WLSAccessID
Set parameter WLSSecret
Set parameter LicenseID to value 2537914
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
9 1.65544797e+09 1.56934091e+09 5.76e+03 1.82e-12 6.00e+03 0s
38 3.18290052e+09 3.18302265e+09 1.90e+02 1.82e-12 2.91e+01 1s
39 3.18343662e+09 3.18341495e+09 7.92e-01 1.09e-11 1.46e+00 1s
10 1.64666088e+09 1.59882683e+09 3.45e+03 1.92e-13 3.36e+03 0s
40 3.18341813e+09 3.18341766e+09 2.94e-05 9.78e-10 2.84e-02 1s
11 1.63479080e+09 1.62431176e+09 4.65e+02 1.82e-12 6.95e+02 0s
41 3.18341805e+09 3.18341805e+09 1.40e-06 2.91e-11 7.29e-08 1s
Read LP format model from file /tmp/linopy-problem-upjfhavw.lp
Reading time = 0.07 seconds
obj: 23383 rows, 10720 columns, 44348 nonzeros
Gurobi Optimizer version 13.0.2 build v13.0.2rc1 (linux64 - "Ubuntu 24.04.5 LTS")
CPU model: AMD EPYC 7763 64-Core Processor, instruction set [SSE2|AVX|AVX2]
Thread count: 2 physical cores, 4 logical processors, using up to 4 threads
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Optimize a model with 23383 rows, 10720 columns and 44348 nonzeros (Min)
Model fingerprint: 0x576011e3
Model has 6 linear objective coefficients
Coefficient statistics:
Matrix range [1e-03, 2e+05]
Objective range [3e+01, 1e+05]
Bounds range [0e+00, 0e+00]
RHS range [5e+03, 8e+09]
Warning: Model contains large rhs
Consider reformulating model or setting NumericFocus parameter
to avoid numerical issues.
42 3.18341805e+09 3.18341805e+09 1.75e-08 4.73e-11 7.29e-11 1s
Barrier solved model in 42 iterations and 1.12 seconds (0.24 work units)
Optimal objective 3.18341805e+09
12 1.63331942e+09 1.63017814e+09 1.73e+02 2.90e-13 2.12e+02 0s
Presolve removed 13136 rows and 2416 columns
Presolve time: 0.11s
Presolved: 10247 rows, 8304 columns, 29770 nonzeros
Concurrent LP optimizer: dual simplex and barrier
Showing barrier log only...
Crossover log...
13 1.63249540e+09 1.63207801e+09 1.36e+01 2.73e-12 2.70e+01 0s
233 DPushes remaining with DInf 0.0000000e+00 1s
Presolve removed 13136 rows and 2416 columns
Presolve time: 0.05s
Presolved: 10247 rows, 8304 columns, 29770 nonzeros
Concurrent LP optimizer: dual simplex and barrier
Showing barrier log only...
Ordering time: 0.02s
14 1.63240623e+09 1.63239743e+09 6.74e-01 1.05e-11 6.17e-01 0s
Barrier statistics:
Dense cols : 6
AA' NZ : 2.537e+04
Factor NZ : 1.718e+05 (roughly 9 MB of memory)
Factor Ops : 2.974e+06 (less than 1 second per iteration)
Threads : 1
Ordering time: 0.02s
Barrier statistics:
Dense cols : 6
AA' NZ : 2.537e+04
Factor NZ : 1.718e+05 (roughly 9 MB of memory)
Factor Ops : 2.974e+06 (less than 1 second per iteration)
Threads : 1
15 1.63240092e+09 1.63240086e+09 9.42e-06 1.04e-10 3.75e-03 0s
Objective Residual
Iter Primal Dual Primal Dual Compl Time
0 -6.60714130e+09 -9.63912148e+11 7.39e+08 2.53e+03 4.73e+09 0s
Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 111.30it/s] Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 111.06it/s] Writing constraints.: 46%|████▌ | 12/26 [00:00<00:00, 33.30it/s] Writing constraints.: 65%|██████▌ | 17/26 [00:00<00:00, 38.40it/s]
16 1.63240089e+09 1.63240089e+09 4.13e-06 3.77e-12 5.49e-06 0s
Objective Residual
Iter Primal Dual Primal Dual Compl Time
0 -3.79921976e+09 -1.12326590e+12 7.39e+08 2.94e+03 5.51e+09 0s
1 -1.99094941e+11 -9.12687618e+11 1.46e+08 5.04e+03 2.67e+09 0s
0 DPushes remaining with DInf 0.0000000e+00 1s
2110 PPushes remaining with PInf 0.0000000e+00 1s
1 -7.14327612e+10 -9.89216322e+11 1.10e+08 5.80e+03 2.74e+09 0s
2 -1.92258737e+11 -2.89142643e+11 7.06e+07 1.19e+02 3.81e+08 0s
17 1.63240089e+09 1.63240089e+09 1.87e-07 1.85e-11 5.49e-09 0s
Barrier solved model in 17 iterations and 0.49 seconds (0.12 work units)
Optimal objective 1.63240089e+09
Crossover log...
2 -5.87968204e+10 -3.61380996e+11 5.91e+07 6.85e+01 4.43e+08 0s
3 -1.83824154e+10 -1.35270515e+11 5.62e+06 1.12e+01 3.61e+07 0s
3 -4.70134378e+09 -1.68278724e+11 1.69e+06 1.45e+00 2.14e+07 0s
0 PPushes remaining with PInf 0.0000000e+00 1s
Push phase complete: Pinf 0.0000000e+00, Dinf 1.8843201e+04 1s
Iteration Objective Primal Inf. Dual Inf. Time
2343 3.1834181e+09 0.000000e+00 1.884320e+04 1s
4 -3.82122873e+09 -5.23739686e+10 4.91e+05 4.26e-01 4.80e+06 0s
4 -3.77886873e+09 -4.84974127e+10 4.56e+05 3.55e-11 4.33e+06 0s
Crossover time: 0.22 seconds (0.09 work units)
13 DPushes remaining with DInf 0.0000000e+00 1s
Solved with barrier
0 DPushes remaining with DInf 0.0000000e+00 1s
5 -3.68516465e+09 -2.31619997e+10 1.50e+05 1.69e-11 1.46e+06 0s
Warning: Markowitz tolerance tightened to 0.25
5 -2.93707708e+09 -2.39077169e+10 1.90e+05 7.36e-02 1.68e+06 0s
757 PPushes remaining with PInf 0.0000000e+00 1s
2344 3.1834181e+09 0.000000e+00 0.000000e+00 1s
Solved in 2344 iterations and 1.37 seconds (0.34 work units)
Optimal objective 3.183418052e+09
6 -3.78152090e+09 -1.36178408e+10 1.07e+05 8.31e-12 7.19e+05 0s
6 -2.73146213e+09 -8.26684758e+09 9.50e+04 9.37e-12 4.27e+05 0s
7 -3.97079256e+09 -1.02771291e+10 6.53e+04 5.27e-12 4.39e+05 0s
8 -4.25863186e+09 -9.73969311e+09 5.00e+04 6.04e-12 3.73e+05 0s
7 -2.90788419e+09 -5.40455823e+09 2.22e+04 5.43e-12 1.66e+05 0s
Writing constraints.: 85%|████████▍ | 22/26 [00:00<00:00, 37.33it/s] Writing constraints.: 100%|██████████| 26/26 [00:00<00:00, 33.01it/s] Writing constraints.: 100%|██████████| 26/26 [00:00<00:00, 35.20it/s] Writing continuous variables.: 0%| | 0/12 [00:00<?, ?it/s]
8 -3.07876845e+09 -4.58929428e+09 1.22e+04 3.06e-12 9.82e+04 0s
9 -4.41215668e+09 -9.40815814e+09 4.37e+04 4.28e-12 3.37e+05 0s
9 -3.22268093e+09 -3.92147736e+09 5.99e+03 1.44e-12 4.50e+04 0s
10 -4.66619787e+09 -8.45148490e+09 3.24e+04 3.62e-12 2.52e+05 0s
0 PPushes remaining with PInf 0.0000000e+00 1s
Push phase complete: Pinf 0.0000000e+00, Dinf 9.3827168e-12 1s
Crossover time: 0.21 seconds (0.03 work units)
Solved with barrier
10 -3.34165329e+09 -3.67915991e+09 1.62e+03 1.95e-12 2.11e+04 0s
11 -4.89198641e+09 -7.18426227e+09 1.56e+04 2.08e-12 1.48e+05 0s
Iteration Objective Primal Inf. Dual Inf. Time
773 1.6324009e+09 0.000000e+00 0.000000e+00 1s
Solved in 773 iterations and 0.74 seconds (0.15 work units)
Optimal objective 1.632400893e+09
12 -5.07860942e+09 -6.72235048e+09 1.22e+04 2.41e-12 1.06e+05 0s
11 -3.38475694e+09 -3.53412576e+09 6.48e+02 1.31e-12 9.32e+03 0s
13 -5.09621887e+09 -6.42729010e+09 1.14e+04 1.84e-12 8.70e+04 0s
12 -3.40194380e+09 -3.48784416e+09 3.44e+02 1.48e-12 5.35e+03 1s
14 -5.17134874e+09 -6.41104127e+09 9.59e+03 2.20e-12 8.04e+04 0s
13 -3.41230076e+09 -3.44094597e+09 1.68e+02 1.33e-12 1.80e+03 1s
15 -5.31293799e+09 -5.95386520e+09 5.80e+03 2.21e-12 4.20e+04 0s
14 -3.41953422e+09 -3.42720913e+09 4.36e+01 1.11e-12 4.81e+02 1s
15 -3.42195885e+09 -3.42290470e+09 4.66e+00 1.41e-12 5.89e+01 1s
16 -5.33977834e+09 -5.89548650e+09 5.06e+03 2.57e-12 3.64e+04 0s
16 -3.42231969e+09 -3.42232853e+09 2.78e-06 5.00e-12 5.32e-01 1s
17 -5.40619246e+09 -5.70096688e+09 2.51e+03 2.80e-12 1.90e+04 1s
Writing continuous variables.: 67%|██████▋ | 8/12 [00:00<00:00, 70.23it/s]/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:226: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError. Dim: 'name': left=['battery storage'], right=['hydrogen storage'] Resolve: `.sel(...)` / `.reindex(...)` to align `.assign_coords(...)` to relabel one side `linopy.align(...)` to pre-align several operands or pass an explicit `join=` argument. Opt in: linopy.options['semantics'] = 'v1' Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning) return merge(expr) Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 57.78it/s]
17 -3.42232225e+09 -3.42232226e+09 1.21e-08 6.71e-12 5.32e-04 1s
Set parameter WLSAccessID
Set parameter WLSSecret
Set parameter LicenseID to value 2537914
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
18 -5.48625221e+09 -5.54513689e+09 2.97e+02 2.83e-12 3.69e+03 1s
18 -3.42232226e+09 -3.42232226e+09 1.19e-08 6.37e-12 7.48e-10 1s
Barrier solved model in 18 iterations and 0.65 seconds (0.12 work units)
Optimal objective -3.42232226e+09
Crossover log...
19 -5.49829822e+09 -5.51486736e+09 6.70e+01 2.09e-12 1.03e+03 1s
20 -5.50124623e+09 -5.50904229e+09 1.34e+01 1.06e-12 4.76e+02 1s
4 DPushes remaining with DInf 0.0000000e+00 1s
21 -5.50193246e+09 -5.50422535e+09 3.50e+00 1.57e-12 1.40e+02 1s
0 DPushes remaining with DInf 0.0000000e+00 1s
574 PPushes remaining with PInf 0.0000000e+00 1s
22 -5.50202061e+09 -5.50288218e+09 2.57e+00 2.47e-12 5.31e+01 1s
23 -5.50210153e+09 -5.50230880e+09 1.67e+00 2.71e-12 1.33e+01 1s
0 PPushes remaining with PInf 0.0000000e+00 1s
Push phase complete: Pinf 0.0000000e+00, Dinf 3.2258640e-11 1s
Read LP format model from file /tmp/linopy-problem-ajtkmmcl.lp
Reading time = 0.11 seconds
obj: 23383 rows, 10720 columns, 44348 nonzeros
Gurobi Optimizer version 13.0.2 build v13.0.2rc1 (linux64 - "Ubuntu 24.04.5 LTS")
CPU model: AMD EPYC 7763 64-Core Processor, instruction set [SSE2|AVX|AVX2]
Thread count: 2 physical cores, 4 logical processors, using up to 4 threads
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Optimize a model with 23383 rows, 10720 columns and 44348 nonzeros (Min)
Crossover time: 0.11 seconds (0.02 work units)
24 -5.50211537e+09 -5.50228575e+09 1.36e+00 2.46e-12 1.09e+01 1s
Model fingerprint: 0x058882ff
Model has 6 linear objective coefficients
Coefficient statistics:
Matrix range [1e-03, 2e+05]
Objective range [9e+01, 1e+05]
Bounds range [0e+00, 0e+00]
RHS range [5e+03, 8e+09]
Warning: Model contains large rhs
Consider reformulating model or setting NumericFocus parameter
to avoid numerical issues.
Solved with barrier
25 -5.50222440e+09 -5.50224447e+09 1.01e-02 8.62e-12 1.21e+00 1s
Iteration Objective Primal Inf. Dual Inf. Time
581 -3.4223223e+09 0.000000e+00 0.000000e+00 1s
Solved in 581 iterations and 0.79 seconds (0.15 work units)
Optimal objective -3.422322255e+09
26 -5.50223033e+09 -5.50223166e+09 8.91e-05 2.79e-11 8.00e-02 1s
27 -5.50223053e+09 -5.50223054e+09 1.45e-06 7.15e-11 2.17e-04 1s
Presolve removed 13136 rows and 2416 columns
Presolve time: 0.06s
Presolved: 10247 rows, 8304 columns, 29770 nonzeros
Concurrent LP optimizer: dual simplex and barrier
Showing barrier log only...
28 -5.50223054e+09 -5.50223054e+09 3.43e-06 8.36e-11 1.16e-07 1s
29 -5.50223054e+09 -5.50223054e+09 6.01e-08 7.83e-10 3.77e-12 1s
Barrier solved model in 29 iterations and 0.77 seconds (0.18 work units)
Optimal objective -5.50223054e+09
Ordering time: 0.02s
Crossover log...
Barrier statistics:
Dense cols : 6
AA' NZ : 2.537e+04
Factor NZ : 1.718e+05 (roughly 9 MB of memory)
Factor Ops : 2.974e+06 (less than 1 second per iteration)
Threads : 1
Objective Residual
Iter Primal Dual Primal Dual Compl Time
0 -4.28673020e+09 -6.25473416e+11 7.39e+08 1.64e+03 3.07e+09 0s
7 DPushes remaining with DInf 0.0000000e+00 1s
0 DPushes remaining with DInf 0.0000000e+00 1s
1 -1.36963235e+11 -6.02429694e+11 1.42e+08 3.41e+03 1.80e+09 0s
1919 PPushes remaining with PInf 0.0000000e+00 1s
2 -1.30893841e+11 -1.96372451e+11 7.27e+07 7.81e+01 2.72e+08 0s
Warning: environment still referenced so free is deferred (Continue to use WLS)
3 -1.09900455e+10 -8.58112101e+10 4.65e+06 6.65e+00 2.13e+07 0s
4 -3.58432312e+09 -3.58824008e+10 6.14e+05 1.36e-01 3.53e+06 0s
Warning: environment still referenced so free is deferred (Continue to use WLS)
5 -2.93498265e+09 -1.73767416e+10 2.55e+05 8.78e-03 1.26e+06 0s
0 PPushes remaining with PInf 0.0000000e+00 1s
Push phase complete: Pinf 0.0000000e+00, Dinf 2.3106850e-11 1s
Crossover time: 0.20 seconds (0.06 work units)
6 -2.86790202e+09 -7.50392278e+09 1.54e+05 7.36e-12 4.06e+05 0s
Solved with barrier
7 -2.99425091e+09 -5.67869886e+09 6.40e+04 3.74e-12 2.03e+05 0s
Iteration Objective Primal Inf. Dual Inf. Time
1929 -5.5022305e+09 0.000000e+00 0.000000e+00 1s
Solved in 1929 iterations and 1.00 seconds (0.25 work units)
Optimal objective -5.502230538e+09
8 -3.18148647e+09 -4.82556335e+09 3.93e+04 1.88e-12 1.21e+05 0s
9 -3.37987906e+09 -4.47916662e+09 2.12e+04 1.81e-12 7.70e+04 0s
10 -3.45430676e+09 -4.11908742e+09 1.45e+04 1.88e-12 4.68e+04 0s
11 -3.48152158e+09 -4.02392485e+09 1.17e+04 2.05e-12 3.80e+04 0s
12 -3.54132666e+09 -3.94231614e+09 5.17e+03 1.86e-12 2.64e+04 0s
13 -3.58371836e+09 -3.76604685e+09 1.43e+03 1.21e-12 1.16e+04 0s
/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:226: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError.
Dim: 'name': left=['battery storage'], right=['hydrogen storage']
Resolve: `.sel(...)` / `.reindex(...)` to align
`.assign_coords(...)` to relabel one side
`linopy.align(...)` to pre-align several operands
or pass an explicit `join=` argument.
Opt in: linopy.options['semantics'] = 'v1'
Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning)
return merge(expr)
14 -3.59756734e+09 -3.65500251e+09 7.59e+02 1.19e-12 3.76e+03 1s 15 -3.60598140e+09 -3.63953319e+09 4.08e+02 1.22e-12 2.18e+03 1s 16 -3.61106605e+09 -3.62699203e+09 1.88e+02 9.88e-13 1.03e+03 1s 17 -3.61321730e+09 -3.61986617e+09 9.70e+01 1.03e-12 4.38e+02 1s 18 -3.61513684e+09 -3.61744756e+09 2.00e+01 7.64e-13 1.47e+02 1s 19 -3.61547939e+09 -3.61666048e+09 6.30e+00 1.31e-12 7.36e+01 1s 20 -3.61552368e+09 -3.61641703e+09 4.87e+00 1.09e-12 5.57e+01 1s 21 -3.61565846e+09 -3.61569029e+09 2.85e-06 8.44e-13 1.92e+00 1s
/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:226: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError.
Dim: 'name': left=['battery storage'], right=['hydrogen storage']
Resolve: `.sel(...)` / `.reindex(...)` to align
`.assign_coords(...)` to relabel one side
`linopy.align(...)` to pre-align several operands
or pass an explicit `join=` argument.
Opt in: linopy.options['semantics'] = 'v1'
Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning)
return merge(expr)
22 -3.61567385e+09 -3.61567424e+09 3.73e-09 1.26e-12 2.35e-02 1s
23 -3.61567396e+09 -3.61567396e+09 4.38e-08 1.36e-11 3.55e-06 1s
Warning: environment still referenced so free is deferred (Continue to use WLS)
24 -3.61567396e+09 -3.61567396e+09 4.14e-08 1.36e-11 5.05e-11 1s
Barrier solved model in 24 iterations and 0.78 seconds (0.16 work units)
Optimal objective -3.61567396e+09
Crossover log...
Warning: environment still referenced so free is deferred (Continue to use WLS)
32 DPushes remaining with DInf 0.0000000e+00 1s
0 DPushes remaining with DInf 0.0000000e+00 1s
1119 PPushes remaining with PInf 0.0000000e+00 1s
0 PPushes remaining with PInf 0.0000000e+00 1s
Push phase complete: Pinf 0.0000000e+00, Dinf 4.5588422e-11 1s
Crossover time: 0.14 seconds (0.04 work units)
Solved with barrier
Iteration Objective Primal Inf. Dual Inf. Time
1154 -3.6156740e+09 0.000000e+00 0.000000e+00 1s
Solved in 1154 iterations and 0.95 seconds (0.21 work units)
Optimal objective -3.615673959e+09
Warning: environment still referenced so free is deferred (Continue to use WLS)
Warning: environment still referenced so free is deferred (Continue to use WLS)
/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:226: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError.
Dim: 'name': left=['battery storage'], right=['hydrogen storage']
Resolve: `.sel(...)` / `.reindex(...)` to align
`.assign_coords(...)` to relabel one side
`linopy.align(...)` to pre-align several operands
or pass an explicit `join=` argument.
Opt in: linopy.options['semantics'] = 'v1'
Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning)
return merge(expr)
/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:226: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError.
Dim: 'name': left=['battery storage'], right=['hydrogen storage']
Resolve: `.sel(...)` / `.reindex(...)` to align
`.assign_coords(...)` to relabel one side
`linopy.align(...)` to pre-align several operands
or pass an explicit `join=` argument.
Opt in: linopy.options['semantics'] = 'v1'
Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning)
return merge(expr)
Warning: environment still referenced so free is deferred (Continue to use WLS) Warning: environment still referenced so free is deferred (Continue to use WLS) Warning: environment still referenced so free is deferred (Continue to use WLS) Warning: environment still referenced so free is deferred (Continue to use WLS)
/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:226: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError.
Dim: 'name': left=['battery storage'], right=['hydrogen storage']
Resolve: `.sel(...)` / `.reindex(...)` to align
`.assign_coords(...)` to relabel one side
`linopy.align(...)` to pre-align several operands
or pass an explicit `join=` argument.
Opt in: linopy.options['semantics'] = 'v1'
Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning)
return merge(expr)
Warning: environment still referenced so free is deferred (Continue to use WLS) Warning: environment still referenced so free is deferred (Continue to use WLS) Warning: environment still referenced so free is deferred (Continue to use WLS)
/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:226: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError.
Dim: 'name': left=['battery storage'], right=['hydrogen storage']
Resolve: `.sel(...)` / `.reindex(...)` to align
`.assign_coords(...)` to relabel one side
`linopy.align(...)` to pre-align several operands
or pass an explicit `join=` argument.
Opt in: linopy.options['semantics'] = 'v1'
Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning)
return merge(expr)
Warning: environment still referenced so free is deferred (Continue to use WLS)
/home/runner/work/PyPSA/PyPSA/pypsa/network/io.py:2085: FutureWarning: pandas infers the `str` dtype for string data since its version 3.0. PyPSA still converts it back to numpy object dtype on import, but will keep it from PyPSA 2.0 on. Set `pypsa.options.api.legacy_string_dtype` explicitly to suppress this warning. new_static = _coerce_string_dtypes(new_static)
/home/runner/work/PyPSA/PyPSA/pypsa/network/io.py:2085: FutureWarning: pandas infers the `str` dtype for string data since its version 3.0. PyPSA still converts it back to numpy object dtype on import, but will keep it from PyPSA 2.0 on. Set `pypsa.options.api.legacy_string_dtype` explicitly to suppress this warning. new_static = _coerce_string_dtypes(new_static)
/home/runner/work/PyPSA/PyPSA/pypsa/network/io.py:2085: FutureWarning: pandas infers the `str` dtype for string data since its version 3.0. PyPSA still converts it back to numpy object dtype on import, but will keep it from PyPSA 2.0 on. Set `pypsa.options.api.legacy_string_dtype` explicitly to suppress this warning. new_static = _coerce_string_dtypes(new_static) /home/runner/work/PyPSA/PyPSA/pypsa/network/io.py:2085: FutureWarning: pandas infers the `str` dtype for string data since its version 3.0. PyPSA still converts it back to numpy object dtype on import, but will keep it from PyPSA 2.0 on. Set `pypsa.options.api.legacy_string_dtype` explicitly to suppress this warning. new_static = _coerce_string_dtypes(new_static)
/opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/contextlib.py:85: FutureWarning: The default value of `include_objective_constant` will change from True to False in version 2.0. Set `include_objective_constant` explicitly to suppress this warning. Using False improves LP numerical conditioning by not including the objective constant as a variable. return func(*args, **kwds)
/home/runner/work/PyPSA/PyPSA/pypsa/network/io.py:2085: FutureWarning: pandas infers the `str` dtype for string data since its version 3.0. PyPSA still converts it back to numpy object dtype on import, but will keep it from PyPSA 2.0 on. Set `pypsa.options.api.legacy_string_dtype` explicitly to suppress this warning. new_static = _coerce_string_dtypes(new_static)
/opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/contextlib.py:85: FutureWarning: The default value of `include_objective_constant` will change from True to False in version 2.0. Set `include_objective_constant` explicitly to suppress this warning. Using False improves LP numerical conditioning by not including the objective constant as a variable. return func(*args, **kwds) /opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/contextlib.py:85: FutureWarning: The default value of `include_objective_constant` will change from True to False in version 2.0. Set `include_objective_constant` explicitly to suppress this warning. Using False improves LP numerical conditioning by not including the objective constant as a variable. return func(*args, **kwds)
/home/runner/work/PyPSA/PyPSA/pypsa/network/io.py:2085: FutureWarning: pandas infers the `str` dtype for string data since its version 3.0. PyPSA still converts it back to numpy object dtype on import, but will keep it from PyPSA 2.0 on. Set `pypsa.options.api.legacy_string_dtype` explicitly to suppress this warning. new_static = _coerce_string_dtypes(new_static)
/home/runner/work/PyPSA/PyPSA/pypsa/network/io.py:2085: FutureWarning: pandas infers the `str` dtype for string data since its version 3.0. PyPSA still converts it back to numpy object dtype on import, but will keep it from PyPSA 2.0 on. Set `pypsa.options.api.legacy_string_dtype` explicitly to suppress this warning. new_static = _coerce_string_dtypes(new_static) /opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/contextlib.py:85: FutureWarning: The default value of `include_objective_constant` will change from True to False in version 2.0. Set `include_objective_constant` explicitly to suppress this warning. Using False improves LP numerical conditioning by not including the objective constant as a variable. return func(*args, **kwds) /home/runner/work/PyPSA/PyPSA/pypsa/network/io.py:2085: FutureWarning: pandas infers the `str` dtype for string data since its version 3.0. PyPSA still converts it back to numpy object dtype on import, but will keep it from PyPSA 2.0 on. Set `pypsa.options.api.legacy_string_dtype` explicitly to suppress this warning. new_static = _coerce_string_dtypes(new_static)
/opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/contextlib.py:85: FutureWarning: The default value of `include_objective_constant` will change from True to False in version 2.0. Set `include_objective_constant` explicitly to suppress this warning. Using False improves LP numerical conditioning by not including the objective constant as a variable. return func(*args, **kwds)
/opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/contextlib.py:85: FutureWarning: The default value of `include_objective_constant` will change from True to False in version 2.0. Set `include_objective_constant` explicitly to suppress this warning. Using False improves LP numerical conditioning by not including the objective constant as a variable. return func(*args, **kwds) /opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/contextlib.py:85: FutureWarning: The default value of `include_objective_constant` will change from True to False in version 2.0. Set `include_objective_constant` explicitly to suppress this warning. Using False improves LP numerical conditioning by not including the objective constant as a variable. return func(*args, **kwds)
/opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/contextlib.py:85: FutureWarning: The default value of `include_objective_constant` will change from True to False in version 2.0. Set `include_objective_constant` explicitly to suppress this warning. Using False improves LP numerical conditioning by not including the objective constant as a variable. return func(*args, **kwds)
/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:226: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError.
Dim: 'name': left=['battery storage'], right=['hydrogen storage']
Resolve: `.sel(...)` / `.reindex(...)` to align
`.assign_coords(...)` to relabel one side
`linopy.align(...)` to pre-align several operands
or pass an explicit `join=` argument.
Opt in: linopy.options['semantics'] = 'v1'
Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning)
return merge(expr)
/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:567: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError.
Dim: 'name': left=['wind', 'solar'], right=['battery storage', 'electrolysis', 'hydrogen storage', 'turbine']
Resolve: `.sel(...)` / `.reindex(...)` to align
`.assign_coords(...)` to relabel one side
`linopy.align(...)` to pre-align several operands
or pass an explicit `join=` argument.
Opt in: linopy.options['semantics'] = 'v1'
Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning)
-sum(
Writing constraints.: 0%| | 0/26 [00:00<?, ?it/s] Writing constraints.: 23%|██▎ | 6/26 [00:00<00:00, 54.97it/s]
Writing constraints.: 58%|█████▊ | 15/26 [00:00<00:00, 73.07it/s] Writing constraints.: 88%|████████▊ | 23/26 [00:00<00:00, 67.22it/s]
Writing constraints.: 100%|██████████| 26/26 [00:00<00:00, 52.16it/s] Writing continuous variables.: 0%| | 0/12 [00:00<?, ?it/s] Writing continuous variables.: 50%|█████ | 6/12 [00:00<00:00, 58.10it/s]
Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 51.82it/s] Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 52.62it/s] /home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:226: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError. Dim: 'name': left=['battery storage'], right=['hydrogen storage'] Resolve: `.sel(...)` / `.reindex(...)` to align `.assign_coords(...)` to relabel one side `linopy.align(...)` to pre-align several operands or pass an explicit `join=` argument. Opt in: linopy.options['semantics'] = 'v1' Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning) return merge(expr)
Set parameter WLSAccessID
Set parameter WLSSecret
Set parameter LicenseID to value 2537914
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Read LP format model from file /tmp/linopy-problem-_zwke1f1.lp
Reading time = 0.14 seconds
obj: 23383 rows, 10720 columns, 44348 nonzeros
Gurobi Optimizer version 13.0.2 build v13.0.2rc1 (linux64 - "Ubuntu 24.04.5 LTS")
CPU model: AMD EPYC 7763 64-Core Processor, instruction set [SSE2|AVX|AVX2]
Thread count: 2 physical cores, 4 logical processors, using up to 4 threads
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Optimize a model with 23383 rows, 10720 columns and 44348 nonzeros (Min)
Model fingerprint: 0x1ca21b73
Model has 6 linear objective coefficients
Coefficient statistics:
Matrix range [1e-03, 2e+05]
Objective range [1e+02, 2e+05]
Bounds range [0e+00, 0e+00]
RHS range [5e+03, 8e+09]
Warning: Model contains large rhs
Consider reformulating model or setting NumericFocus parameter
to avoid numerical issues.
/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:567: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError.
Dim: 'name': left=['wind', 'solar'], right=['battery storage', 'electrolysis', 'hydrogen storage', 'turbine']
Resolve: `.sel(...)` / `.reindex(...)` to align
`.assign_coords(...)` to relabel one side
`linopy.align(...)` to pre-align several operands
or pass an explicit `join=` argument.
Opt in: linopy.options['semantics'] = 'v1'
Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning)
-sum(
Presolve removed 13136 rows and 2416 columns
Presolve time: 0.07s
Presolved: 10247 rows, 8304 columns, 29770 nonzeros
Concurrent LP optimizer: dual simplex and barrier
Showing barrier log only...
Ordering time: 0.02s
Barrier statistics:
Dense cols : 6
AA' NZ : 2.537e+04
Factor NZ : 1.718e+05 (roughly 9 MB of memory)
Factor Ops : 2.974e+06 (less than 1 second per iteration)
Threads : 1
Objective Residual
Iter Primal Dual Primal Dual Compl Time
0 -7.39914789e+09 -9.42734519e+11 7.39e+08 2.47e+03 4.62e+09 0s
1 -2.03425170e+11 -9.02590484e+11 1.44e+08 5.06e+03 2.68e+09 0s
2 -2.00640666e+11 -2.89343705e+11 7.20e+07 1.32e+02 3.96e+08 0s
3 -1.93424767e+10 -1.40461411e+11 5.46e+06 1.20e+01 3.62e+07 0s
4 -5.13491808e+09 -5.58402777e+10 5.29e+05 2.33e-01 5.12e+06 0s
5 -4.23532771e+09 -2.63659814e+10 2.27e+05 2.71e-02 1.84e+06 0s 6 -3.93558592e+09 -9.62803042e+09 1.09e+05 6.99e-12 4.56e+05 0s 7 -4.00904436e+09 -6.24085621e+09 4.36e+03 3.42e-12 1.37e+05 0s 8 -4.19115550e+09 -5.25503524e+09 2.27e+03 1.82e-12 6.53e+04 0s 9 -4.36207987e+09 -4.84794414e+09 9.95e+02 2.23e-12 2.97e+04 0s 10 -4.45005951e+09 -4.64081936e+09 3.14e+02 1.46e-12 1.16e+04 0s 11 -4.48974653e+09 -4.53806425e+09 6.47e+01 1.73e-12 2.94e+03 0s 12 -4.49906537e+09 -4.51603477e+09 2.26e+01 1.65e-12 1.03e+03 0s 13 -4.50257530e+09 -4.50707633e+09 8.36e+00 2.08e-12 2.74e+02 0s 14 -4.50430872e+09 -4.50510487e+09 1.65e+00 1.87e-12 4.86e+01 0s 15 -4.50466741e+09 -4.50478800e+09 3.11e-01 1.95e-12 7.37e+00 0s
16 -4.50475267e+09 -4.50475549e+09 2.67e-03 7.73e-11 1.71e-01 1s
17 -4.50475416e+09 -4.50475416e+09 1.51e-06 3.66e-10 1.81e-04 1s
18 -4.50475416e+09 -4.50475416e+09 5.35e-05 6.10e-12 1.26e-05 1s
19 -4.50475416e+09 -4.50475416e+09 3.22e-09 7.70e-10 4.79e-10 1s
Barrier solved model in 19 iterations and 0.56 seconds (0.13 work units)
Optimal objective -4.50475416e+09
Crossover log...
14 DPushes remaining with DInf 0.0000000e+00 1s
0 DPushes remaining with DInf 0.0000000e+00 1s
743 PPushes remaining with PInf 0.0000000e+00 1s
0 PPushes remaining with PInf 0.0000000e+00 1s
Push phase complete: Pinf 0.0000000e+00, Dinf 3.2656544e-11 1s
Crossover time: 0.09 seconds (0.02 work units)
Solved with barrier
Iteration Objective Primal Inf. Dual Inf. Time
760 -4.5047542e+09 0.000000e+00 0.000000e+00 1s
Solved in 760 iterations and 0.67 seconds (0.16 work units)
Optimal objective -4.504754157e+09
Writing constraints.: 0%| | 0/26 [00:00<?, ?it/s] Writing constraints.: 23%|██▎ | 6/26 [00:00<00:00, 51.70it/s]
/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:226: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError.
Dim: 'name': left=['battery storage'], right=['hydrogen storage']
Resolve: `.sel(...)` / `.reindex(...)` to align
`.assign_coords(...)` to relabel one side
`linopy.align(...)` to pre-align several operands
or pass an explicit `join=` argument.
Opt in: linopy.options['semantics'] = 'v1'
Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning)
return merge(expr)
Writing constraints.: 46%|████▌ | 12/26 [00:00<00:00, 30.98it/s]/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:567: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError.
Dim: 'name': left=['wind', 'solar'], right=['battery storage', 'electrolysis', 'hydrogen storage', 'turbine']
Resolve: `.sel(...)` / `.reindex(...)` to align
`.assign_coords(...)` to relabel one side
`linopy.align(...)` to pre-align several operands
or pass an explicit `join=` argument.
Opt in: linopy.options['semantics'] = 'v1'
Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning)
-sum(
Writing constraints.: 65%|██████▌ | 17/26 [00:00<00:00, 34.17it/s]
Writing constraints.: 81%|████████ | 21/26 [00:00<00:00, 32.56it/s] Writing constraints.: 96%|█████████▌| 25/26 [00:00<00:00, 32.49it/s] Writing constraints.: 100%|██████████| 26/26 [00:00<00:00, 33.68it/s] Writing continuous variables.: 0%| | 0/12 [00:00<?, ?it/s]
Writing continuous variables.: 58%|█████▊ | 7/12 [00:00<00:00, 64.26it/s] Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 57.97it/s] Writing constraints.: 0%| | 0/26 [00:00<?, ?it/s]
Set parameter WLSAccessID
Set parameter WLSSecret
Set parameter LicenseID to value 2537914
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Read LP format model from file /tmp/linopy-problem-eh6semnl.lp
Reading time = 0.16 seconds
obj: 23383 rows, 10720 columns, 44348 nonzeros
Gurobi Optimizer version 13.0.2 build v13.0.2rc1 (linux64 - "Ubuntu 24.04.5 LTS")
CPU model: AMD EPYC 7763 64-Core Processor, instruction set [SSE2|AVX|AVX2]
Thread count: 2 physical cores, 4 logical processors, using up to 4 threads
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Optimize a model with 23383 rows, 10720 columns and 44348 nonzeros (Min)
Model fingerprint: 0xb7a140cd
Model has 6 linear objective coefficients
Coefficient statistics:
Matrix range [1e-03, 2e+05]
Objective range [9e+01, 1e+05]
Bounds range [0e+00, 0e+00]
RHS range [5e+03, 8e+09]
Warning: Model contains large rhs
Consider reformulating model or setting NumericFocus parameter
to avoid numerical issues.
Writing constraints.: 19%|█▉ | 5/26 [00:00<00:00, 38.74it/s] Writing constraints.: 35%|███▍ | 9/26 [00:00<00:00, 35.80it/s]/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:226: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError. Dim: 'name': left=['battery storage'], right=['hydrogen storage'] Resolve: `.sel(...)` / `.reindex(...)` to align `.assign_coords(...)` to relabel one side `linopy.align(...)` to pre-align several operands or pass an explicit `join=` argument. Opt in: linopy.options['semantics'] = 'v1' Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning) return merge(expr) /home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:567: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError. Dim: 'name': left=['wind', 'solar'], right=['battery storage', 'electrolysis', 'hydrogen storage', 'turbine'] Resolve: `.sel(...)` / `.reindex(...)` to align `.assign_coords(...)` to relabel one side `linopy.align(...)` to pre-align several operands or pass an explicit `join=` argument. Opt in: linopy.options['semantics'] = 'v1' Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning) -sum( /home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:226: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError. Dim: 'name': left=['battery storage'], right=['hydrogen storage'] Resolve: `.sel(...)` / `.reindex(...)` to align `.assign_coords(...)` to relabel one side `linopy.align(...)` to pre-align several operands or pass an explicit `join=` argument. Opt in: linopy.options['semantics'] = 'v1' Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning) return merge(expr) /home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:226: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError. Dim: 'name': left=['battery storage'], right=['hydrogen storage'] Resolve: `.sel(...)` / `.reindex(...)` to align `.assign_coords(...)` to relabel one side `linopy.align(...)` to pre-align several operands or pass an explicit `join=` argument. Opt in: linopy.options['semantics'] = 'v1' Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning) return merge(expr)
Presolve removed 13136 rows and 2416 columns
Presolve time: 0.09s
Presolved: 10247 rows, 8304 columns, 29770 nonzeros
Concurrent LP optimizer: dual simplex and barrier
Showing barrier log only...
Ordering time: 0.02s
Barrier statistics:
Dense cols : 6
AA' NZ : 2.537e+04
Factor NZ : 1.718e+05 (roughly 9 MB of memory)
Factor Ops : 2.974e+06 (less than 1 second per iteration)
Threads : 1
Objective Residual
Iter Primal Dual Primal Dual Compl Time
0 -4.11841013e+09 -6.08032425e+11 7.39e+08 1.59e+03 2.98e+09 0s
1 -1.32570581e+11 -5.77036841e+11 1.47e+08 3.21e+03 1.70e+09 0s
2 -1.19992932e+11 -2.32400564e+11 7.03e+07 8.92e+01 3.14e+08 0s
3 -8.09996541e+09 -1.03067079e+11 3.74e+06 5.05e+00 2.14e+07 0s
4 -2.32220905e+09 -3.71316008e+10 4.85e+05 1.07e-01 3.42e+06 0s
Writing constraints.: 50%|█████ | 13/26 [00:00<00:00, 34.96it/s]/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:567: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError. Dim: 'name': left=['wind', 'solar'], right=['battery storage', 'electrolysis', 'hydrogen storage', 'turbine'] Resolve: `.sel(...)` / `.reindex(...)` to align `.assign_coords(...)` to relabel one side `linopy.align(...)` to pre-align several operands or pass an explicit `join=` argument. Opt in: linopy.options['semantics'] = 'v1' Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning) -sum( Writing constraints.: 77%|███████▋ | 20/26 [00:00<00:00, 46.35it/s] Writing constraints.: 100%|██████████| 26/26 [00:00<00:00, 45.67it/s]
5 -1.70655766e+09 -1.59598185e+10 1.43e+05 1.33e-02 1.08e+06 0s 6 -1.76934237e+09 -8.34361249e+09 7.74e+04 6.04e-12 4.69e+05 0s 7 -1.94542333e+09 -5.36855851e+09 4.09e+04 2.02e-12 2.34e+05 0s 8 -2.08170481e+09 -4.83077160e+09 2.83e+04 1.19e-12 1.84e+05 0s 9 -2.25071222e+09 -4.46592426e+09 1.83e+04 1.36e-12 1.45e+05 0s 10 -2.37565322e+09 -3.79030528e+09 1.09e+04 1.05e-12 9.14e+04 0s 11 -2.53644433e+09 -3.40087803e+09 5.29e+03 1.73e-12 5.50e+04 0s 12 -2.58352592e+09 -3.03597553e+09 3.34e+03 1.74e-12 2.90e+04 1s
Writing continuous variables.: 0%| | 0/12 [00:00<?, ?it/s] Writing continuous variables.: 83%|████████▎ | 10/12 [00:00<00:00, 98.77it/s] Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 101.88it/s]
13 -2.60741287e+09 -2.93403433e+09 2.52e+03 1.30e-12 2.09e+04 1s
14 -2.65575686e+09 -2.84257313e+09 1.06e+03 1.53e-12 1.18e+04 1s
Set parameter WLSAccessID
Set parameter WLSSecret
Set parameter LicenseID to value 2537914
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
15 -2.67803169e+09 -2.77999430e+09 3.69e+02 1.27e-12 6.34e+03 1s
16 -2.68812549e+09 -2.70709742e+09 6.31e+01 1.38e-12 1.18e+03 1s
17 -2.69066208e+09 -2.69331617e+09 1.93e+01 3.38e-12 1.69e+02 1s
18 -2.69179490e+09 -2.69232419e+09 6.92e-01 1.92e-12 3.23e+01 1s
Read LP format model from file /tmp/linopy-problem-ss4acz0v.lp
Reading time = 0.11 seconds
obj: 23383 rows, 10720 columns, 44348 nonzeros
Gurobi Optimizer version 13.0.2 build v13.0.2rc1 (linux64 - "Ubuntu 24.04.5 LTS")
CPU model: AMD EPYC 7763 64-Core Processor, instruction set [SSE2|AVX|AVX2]
Thread count: 2 physical cores, 4 logical processors, using up to 4 threads
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Optimize a model with 23383 rows, 10720 columns and 44348 nonzeros (Min)
Model fingerprint: 0xfd3ff10f
Model has 6 linear objective coefficients
Coefficient statistics:
Matrix range [1e-03, 2e+05]
Objective range [6e+01, 8e+04]
Bounds range [0e+00, 0e+00]
RHS range [5e+03, 8e+09]
Warning: Model contains large rhs
Consider reformulating model or setting NumericFocus parameter
to avoid numerical issues.
19 -2.69184045e+09 -2.69187327e+09 4.87e-04 1.92e-12 1.98e+00 1s
20 -2.69184700e+09 -2.69184716e+09 1.32e-06 3.43e-09 9.86e-03 1s
Writing constraints.: 0%| | 0/26 [00:00<?, ?it/s] Writing constraints.: 23%|██▎ | 6/26 [00:00<00:00, 54.50it/s] Writing constraints.: 0%| | 0/26 [00:00<?, ?it/s]
Presolve removed 13136 rows and 2416 columns
Presolve time: 0.07s
Presolved: 10247 rows, 8304 columns, 29770 nonzeros
Concurrent LP optimizer: dual simplex and barrier
Showing barrier log only...
21 -2.69184704e+09 -2.69184704e+09 6.36e-08 1.14e-11 9.86e-06 1s
Ordering time: 0.02s
22 -2.69184704e+09 -2.69184704e+09 3.14e-08 5.32e-11 9.86e-09 1s
Barrier solved model in 22 iterations and 0.80 seconds (0.14 work units)
Optimal objective -2.69184704e+09
Barrier statistics:
Dense cols : 6
AA' NZ : 2.537e+04
Factor NZ : 1.718e+05 (roughly 9 MB of memory)
Factor Ops : 2.974e+06 (less than 1 second per iteration)
Threads : 1
Crossover log...
Objective Residual
Iter Primal Dual Primal Dual Compl Time
0 5.65147770e+09 -3.44901312e+09 7.58e+08 0.00e+00 1.77e+07 0s
1 4.39770420e+09 -2.83046861e+09 9.74e+06 1.30e-02 1.67e+06 0s
2 2.72019253e+09 -5.52867747e+08 4.47e+06 1.59e-01 4.75e+05 0s
3 DPushes remaining with DInf 0.0000000e+00 1s
0 DPushes remaining with DInf 0.0000000e+00 1s
3 1.47241476e+09 -3.95401136e+07 1.79e+06 5.44e-01 1.99e+05 0s
1149 PPushes remaining with PInf 0.0000000e+00 1s
4 1.25783760e+09 1.97383477e+08 1.34e+06 3.23e-01 1.33e+05 0s
5 1.09494489e+09 3.18426786e+08 9.87e+05 2.17e-01 9.91e+04 0s
6 1.01965137e+09 4.02938699e+08 7.80e+05 1.67e-01 8.08e+04 0s
7 1.00673193e+09 5.30269464e+08 6.50e+05 1.29e-01 6.81e+04 0s
8 9.95005713e+08 6.34717122e+08 5.57e+05 1.14e-01 5.76e+04 0s
0 PPushes remaining with PInf 0.0000000e+00 1s
Push phase complete: Pinf 0.0000000e+00, Dinf 6.3558048e-11 1s
Crossover time: 0.21 seconds (0.04 work units)
9 1.01078167e+09 6.77860091e+08 5.34e+05 1.12e-01 5.56e+04 0s
Solved with barrier
10 1.02170784e+09 7.61815997e+08 4.69e+05 9.76e-02 5.03e+04 0s
Iteration Objective Primal Inf. Dual Inf. Time
1155 -2.6918470e+09 0.000000e+00 0.000000e+00 1s
Solved in 1155 iterations and 1.05 seconds (0.19 work units)
Optimal objective -2.691847043e+09
11 1.03574370e+09 9.29344841e+08 4.34e+05 8.22e-02 4.38e+04 0s
12 1.05847383e+09 9.51175759e+08 3.97e+05 8.03e-02 4.17e+04 0s
13 1.07050225e+09 1.02092730e+09 3.79e+05 7.38e-02 3.83e+04 0s
14 1.08445273e+09 1.21071824e+09 3.58e+05 6.11e-02 3.35e+04 0s
15 1.13792387e+09 1.32845311e+09 3.12e+05 5.51e-02 2.96e+04 0s
16 1.16946792e+09 1.34527487e+09 2.93e+05 5.36e-02 2.86e+04 0s
17 1.21454965e+09 1.38804246e+09 2.65e+05 4.88e-02 2.58e+04 0s
Writing constraints.: 15%|█▌ | 4/26 [00:00<00:00, 39.32it/s] Writing constraints.: 46%|████▌ | 12/26 [00:00<00:00, 39.38it/s] Writing constraints.: 31%|███ | 8/26 [00:00<00:00, 34.47it/s] Writing constraints.: 69%|██████▉ | 18/26 [00:00<00:00, 45.57it/s]
18 1.28941383e+09 1.45184669e+09 2.21e+05 5.55e-02 2.16e+04 0s 19 1.31684338e+09 1.46235338e+09 2.04e+05 5.47e-02 2.02e+04 1s 20 1.33754945e+09 1.47660152e+09 1.91e+05 3.35e-02 1.88e+04 1s 21 1.39083673e+09 1.51180963e+09 1.59e+05 2.80e-02 1.55e+04 1s 22 1.46371618e+09 1.54866653e+09 1.18e+05 1.75e-02 1.18e+04 1s 23 1.48248297e+09 1.55439257e+09 1.07e+05 1.54e-02 1.10e+04 1s 24 1.49799656e+09 1.56930120e+09 9.83e+04 1.33e-02 9.81e+03 1s 25 1.52416488e+09 1.58234863e+09 8.30e+04 1.04e-02 8.51e+03 1s 26 1.55217339e+09 1.58950261e+09 6.63e+04 8.97e-03 7.64e+03 1s 27 1.55655085e+09 1.60167830e+09 6.45e+04 7.94e-03 7.14e+03 1s 28 1.56864391e+09 1.62590477e+09 5.92e+04 5.81e-03 6.01e+03 1s 29 1.57213056e+09 1.63104212e+09 5.74e+04 5.41e-03 5.75e+03 1s
Writing constraints.: 92%|█████████▏| 24/26 [00:00<00:00, 46.65it/s] Writing constraints.: 46%|████▌ | 12/26 [00:00<00:00, 30.51it/s] Writing constraints.: 100%|██████████| 26/26 [00:00<00:00, 46.13it/s] Writing continuous variables.: 0%| | 0/12 [00:00<?, ?it/s] Writing constraints.: 65%|██████▌ | 17/26 [00:00<00:00, 34.97it/s] Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 116.85it/s] Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 116.54it/s]
30 1.57443404e+09 1.63433330e+09 5.63e+04 5.21e-03 5.60e+03 1s
31 1.58212360e+09 1.64031933e+09 5.30e+04 4.84e-03 5.37e+03 1s
Set parameter WLSAccessID
Set parameter WLSSecret
Set parameter LicenseID to value 2537914
32 1.59146586e+09 1.64641768e+09 4.94e+04 4.53e-03 5.19e+03 1s
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
33 1.59715410e+09 1.65764007e+09 4.74e+04 3.98e-03 4.85e+03 1s
34 1.60408906e+09 1.66674722e+09 4.45e+04 3.49e-03 4.44e+03 1s
35 1.61294930e+09 1.66976627e+09 4.10e+04 3.35e-03 4.26e+03 1s
36 1.62269178e+09 1.68162174e+09 3.76e+04 2.74e-03 3.75e+03 1s
37 1.62884375e+09 1.68212014e+09 3.53e+04 2.61e-03 3.67e+03 1s
Read LP format model from file /tmp/linopy-problem-r9kwuze3.lp
Reading time = 0.10 seconds
obj: 23383 rows, 10720 columns, 44348 nonzeros
Gurobi Optimizer version 13.0.2 build v13.0.2rc1 (linux64 - "Ubuntu 24.04.5 LTS")
CPU model: AMD EPYC 7763 64-Core Processor, instruction set [SSE2|AVX|AVX2]
Thread count: 2 physical cores, 4 logical processors, using up to 4 threads
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Optimize a model with 23383 rows, 10720 columns and 44348 nonzeros (Min)
38 1.63029289e+09 1.68435204e+09 3.49e+04 2.53e-03 3.60e+03 1s
Model fingerprint: 0xf0a2ff5a
Model has 6 linear objective coefficients
Coefficient statistics:
Matrix range [1e-03, 2e+05]
Objective range [1e+01, 5e+04]
Bounds range [0e+00, 0e+00]
RHS range [5e+03, 8e+09]
Warning: Model contains large rhs
Consider reformulating model or setting NumericFocus parameter
to avoid numerical issues.
39 1.64073466e+09 1.68806225e+09 3.16e+04 2.37e-03 3.47e+03 1s
40 1.66129243e+09 1.70315837e+09 2.44e+04 8.01e-04 2.53e+03 1s
/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:226: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError.
Dim: 'name': left=['battery storage'], right=['hydrogen storage']
Resolve: `.sel(...)` / `.reindex(...)` to align
`.assign_coords(...)` to relabel one side
`linopy.align(...)` to pre-align several operands
or pass an explicit `join=` argument.
Opt in: linopy.options['semantics'] = 'v1'
Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning)
return merge(expr)
Writing constraints.: 81%|████████ | 21/26 [00:00<00:00, 32.43it/s]/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:567: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError.
Dim: 'name': left=['wind', 'solar'], right=['battery storage', 'electrolysis', 'hydrogen storage', 'turbine']
Resolve: `.sel(...)` / `.reindex(...)` to align
`.assign_coords(...)` to relabel one side
`linopy.align(...)` to pre-align several operands
or pass an explicit `join=` argument.
Opt in: linopy.options['semantics'] = 'v1'
Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning)
-sum(
Writing constraints.: 96%|█████████▌| 25/26 [00:00<00:00, 30.92it/s]
Writing constraints.: 100%|██████████| 26/26 [00:00<00:00, 32.48it/s]
Writing continuous variables.: 0%| | 0/12 [00:00<?, ?it/s]
41 1.67191213e+09 1.70653463e+09 2.11e+04 7.11e-04 2.34e+03 1s
42 1.67267526e+09 1.70897844e+09 2.09e+04 6.60e-04 2.24e+03 1s
Presolve removed 13136 rows and 2416 columns
Presolve time: 0.07s
Presolved: 10247 rows, 8304 columns, 29770 nonzeros
Concurrent LP optimizer: dual simplex and barrier
Showing barrier log only...
43 1.67966902e+09 1.71298495e+09 1.86e+04 5.36e-04 1.93e+03 1s
Ordering time: 0.02s
44 1.68450239e+09 1.71518605e+09 1.72e+04 4.86e-04 1.82e+03 1s
Barrier statistics:
Dense cols : 6
AA' NZ : 2.537e+04
Factor NZ : 1.718e+05 (roughly 9 MB of memory)
Factor Ops : 2.974e+06 (less than 1 second per iteration)
Threads : 1
Objective Residual
Iter Primal Dual Primal Dual Compl Time
0 1.69365017e+09 -5.50436304e+11 7.39e+08 1.44e+03 2.70e+09 0s
45 1.69352279e+09 1.71927095e+09 1.43e+04 3.76e-04 1.53e+03 1s
1 1.37546237e+10 -4.79181776e+11 1.02e+08 2.77e+03 1.28e+09 0s
46 1.69418822e+09 1.72190651e+09 1.41e+04 3.22e-04 1.39e+03 1s
2 1.36884237e+10 -1.75829095e+11 5.40e+07 2.96e+01 2.06e+08 0s
47 1.70143562e+09 1.72398617e+09 1.18e+04 2.63e-04 1.21e+03 1s
3 3.88077713e+08 -7.87727214e+10 1.22e+06 4.65e-01 8.91e+06 0s
48 1.71848276e+09 1.72607107e+09 6.48e+03 5.23e-12 9.90e+02 1s
4 1.15899267e+08 -1.95195912e+10 3.94e+05 1.17e-11 1.83e+06 0s
Writing continuous variables.: 67%|██████▋ | 8/12 [00:00<00:00, 67.95it/s] Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 61.93it/s]
49 1.72463815e+09 1.73071828e+09 4.66e+03 3.41e-12 6.90e+02 1s 50 1.72777598e+09 1.73338798e+09 3.67e+03 5.40e-13 4.86e+02 1s 5 -2.15939743e+08 -1.14756373e+10 1.79e+05 6.64e-12 8.67e+05 0s 51 1.72892953e+09 1.73375880e+09 3.32e+03 1.53e-12 4.57e+02 1s 6 -4.51024552e+08 -6.45413414e+09 1.25e+05 5.16e-12 4.56e+05 0s 7 -8.40342597e+08 -5.42099524e+09 8.73e+04 4.73e-12 3.36e+05 0s 52 1.73223056e+09 1.73522498e+09 2.26e+03 1.36e-12 3.33e+02 1s 8 -1.08017761e+09 -4.58006735e+09 6.87e+04 4.09e-12 2.54e+05 0s 53 1.73498782e+09 1.73607435e+09 1.40e+03 2.27e-12 2.60e+02 1s 9 -1.13940661e+09 -4.17766131e+09 6.41e+04 3.92e-12 2.22e+05 0s Set parameter WLSAccessID Set parameter WLSSecret Set parameter LicenseID to value 2537914 54 1.73616897e+09 1.73738370e+09 1.03e+03 7.50e-12 1.61e+02 1s Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de 10 -1.28065882e+09 -3.74717986e+09 3.94e+04 2.81e-12 1.71e+05 0s 55 1.73838762e+09 1.73851358e+09 3.05e+02 7.28e-12 6.31e+01 1s 11 -1.33208703e+09 -2.89564930e+09 1.92e+04 2.77e-12 1.04e+05 0s 56 1.73878555e+09 1.73910823e+09 1.75e+02 1.82e-12 1.92e+01 1s 12 -1.30376098e+09 -2.88054399e+09 1.85e+04 3.00e-12 1.05e+05 0s
/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:226: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError.
Dim: 'name': left=['battery storage'], right=['hydrogen storage']
Resolve: `.sel(...)` / `.reindex(...)` to align
`.assign_coords(...)` to relabel one side
`linopy.align(...)` to pre-align several operands
or pass an explicit `join=` argument.
Opt in: linopy.options['semantics'] = 'v1'
Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning)
return merge(expr)
/opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/contextlib.py:85: FutureWarning: The default value of `include_objective_constant` will change from True to False in version 2.0. Set `include_objective_constant` explicitly to suppress this warning. Using False improves LP numerical conditioning by not including the objective constant as a variable.
return func(*args, **kwds)
/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:567: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError.
Dim: 'name': left=['wind', 'solar'], right=['battery storage', 'electrolysis', 'hydrogen storage', 'turbine']
Resolve: `.sel(...)` / `.reindex(...)` to align
`.assign_coords(...)` to relabel one side
`linopy.align(...)` to pre-align several operands
or pass an explicit `join=` argument.
Opt in: linopy.options['semantics'] = 'v1'
Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning)
-sum(
/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:226: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError.
Dim: 'name': left=['battery storage'], right=['hydrogen storage']
Resolve: `.sel(...)` / `.reindex(...)` to align
`.assign_coords(...)` to relabel one side
`linopy.align(...)` to pre-align several operands
or pass an explicit `join=` argument.
Opt in: linopy.options['semantics'] = 'v1'
Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning)
return merge(expr)
57 1.73925354e+09 1.73925840e+09 1.86e+01 5.46e-12 3.93e+00 1s
13 -1.49611955e+09 -2.65325511e+09 1.30e+04 2.38e-12 7.64e+04 0s
58 1.73929255e+09 1.73930727e+09 5.12e+00 7.50e-12 2.06e-01 1s
14 -1.56502767e+09 -2.52992283e+09 9.35e+03 7.66e-12 6.28e+04 1s
59 1.73930731e+09 1.73930733e+09 1.09e-02 4.36e-11 7.12e-04 1s
15 -1.65702697e+09 -2.35365014e+09 7.11e+03 1.01e-11 4.55e+04 1s
Read LP format model from file /tmp/linopy-problem-g_sjd744.lp
Reading time = 0.15 seconds
obj: 23383 rows, 10720 columns, 44348 nonzeros
Gurobi Optimizer version 13.0.2 build v13.0.2rc1 (linux64 - "Ubuntu 24.04.5 LTS")
CPU model: AMD EPYC 7763 64-Core Processor, instruction set [SSE2|AVX|AVX2]
Thread count: 2 physical cores, 4 logical processors, using up to 4 threads
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Optimize a model with 23383 rows, 10720 columns and 44348 nonzeros (Min)
Model fingerprint: 0xc328e92e
Model has 6 linear objective coefficients
Coefficient statistics:
Matrix range [1e-03, 2e+05]
Objective range [1e+02, 1e+05]
Bounds range [0e+00, 0e+00]
RHS range [5e+03, 8e+09]
Warning: Model contains large rhs
Consider reformulating model or setting NumericFocus parameter
to avoid numerical issues.
60 1.73930733e+09 1.73930733e+09 2.36e-04 2.28e-10 1.80e-05 1s
16 -1.67622264e+09 -2.30794000e+09 6.46e+03 1.05e-11 4.13e+04 1s
61 1.73930733e+09 1.73930733e+09 4.79e-05 3.68e-11 2.67e-06 1s
17 -1.68860702e+09 -2.24978411e+09 5.06e+03 1.41e-11 3.63e+04 1s
62 1.73930733e+09 1.73930733e+09 1.68e-08 2.30e-11 1.65e-10 1s
Barrier solved model in 62 iterations and 1.48 seconds (0.34 work units)
Optimal objective 1.73930733e+09
18 -1.72059435e+09 -1.95877432e+09 2.40e+03 5.80e-12 1.55e+04 1s
Crossover log...
Presolve removed 13136 rows and 2416 columns
Presolve time: 0.10s
Presolved: 10247 rows, 8304 columns, 29770 nonzeros
Concurrent LP optimizer: dual simplex and barrier
Showing barrier log only...
19 -1.75992039e+09 -1.90021939e+09 5.37e+02 6.36e-12 8.70e+03 1s
20 -1.76433334e+09 -1.83708773e+09 3.94e+02 1.34e-11 4.56e+03 1s
Ordering time: 0.02s
20 DPushes remaining with DInf 0.0000000e+00 2s
Barrier statistics:
Dense cols : 6
AA' NZ : 2.537e+04
Factor NZ : 1.718e+05 (roughly 9 MB of memory)
Factor Ops : 2.974e+06 (less than 1 second per iteration)
Threads : 1
0 DPushes remaining with DInf 0.0000000e+00 2s
21 -1.77046457e+09 -1.80403603e+09 1.95e+02 7.99e-12 2.11e+03 1s
1565 PPushes remaining with PInf 0.0000000e+00 2s
Objective Residual
Iter Primal Dual Primal Dual Compl Time
0 8.13590442e+09 -4.14160090e+09 7.58e+08 0.00e+00 2.13e+07 0s
1 4.52970353e+09 -3.14007845e+09 8.54e+06 1.23e-02 1.25e+06 0s
22 -1.77599802e+09 -1.78469410e+09 1.61e+01 9.42e-12 5.31e+02 1s
2 2.83586150e+09 1.11829222e+08 4.85e+06 5.45e-02 2.89e+05 0s
23 -1.77677978e+09 -1.77760722e+09 3.24e+00 7.28e-12 5.12e+01 1s
3 1.87838733e+09 1.06407377e+09 3.29e+06 2.00e-02 1.81e+05 0s
24 -1.77696839e+09 -1.77721862e+09 9.64e-01 8.59e-11 1.55e+01 1s
25 -1.77704749e+09 -1.77705030e+09 2.58e-02 9.35e-11 1.80e-01 1s
4 1.74076446e+09 1.31206223e+09 2.42e+06 6.96e-03 1.34e+05 0s
0 PPushes remaining with PInf 0.0000000e+00 2s
Push phase complete: Pinf 0.0000000e+00, Dinf 2.2971847e-11 2s
Crossover time: 0.24 seconds (0.06 work units)
26 -1.77704978e+09 -1.77704978e+09 1.23e-06 2.82e-11 1.80e-04 1s
5 1.69126518e+09 1.47806554e+09 1.81e+06 1.37e-04 1.00e+05 0s
Solved with barrier
/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:567: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError.
Dim: 'name': left=['wind', 'solar'], right=['battery storage', 'electrolysis', 'hydrogen storage', 'turbine']
Resolve: `.sel(...)` / `.reindex(...)` to align
`.assign_coords(...)` to relabel one side
`linopy.align(...)` to pre-align several operands
or pass an explicit `join=` argument.
Opt in: linopy.options['semantics'] = 'v1'
Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning)
-sum(
/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:226: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError.
Dim: 'name': left=['battery storage'], right=['hydrogen storage']
Resolve: `.sel(...)` / `.reindex(...)` to align
`.assign_coords(...)` to relabel one side
`linopy.align(...)` to pre-align several operands
or pass an explicit `join=` argument.
Opt in: linopy.options['semantics'] = 'v1'
Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning)
return merge(expr)
27 -1.77704978e+09 -1.77704978e+09 1.27e-07 9.33e-11 1.80e-07 1s
6 1.71363959e+09 1.51995424e+09 1.71e+06 2.73e-12 9.59e+04 0s
Iteration Objective Primal Inf. Dual Inf. Time
1588 1.7393073e+09 0.000000e+00 0.000000e+00 2s
Solved in 1588 iterations and 1.77 seconds (0.40 work units)
Optimal objective 1.739307334e+09
28 -1.77704978e+09 -1.77704978e+09 7.71e-08 8.84e-11 1.80e-10 1s
Barrier solved model in 28 iterations and 0.92 seconds (0.17 work units)
Optimal objective -1.77704978e+09
7 1.72887611e+09 1.63068270e+09 1.49e+06 1.82e-12 8.34e+04 0s
Crossover log...
8 1.75037835e+09 1.67759782e+09 1.37e+06 1.82e-12 7.75e+04 0s
11 DPushes remaining with DInf 0.0000000e+00 1s
0 DPushes remaining with DInf 0.0000000e+00 1s
1673 PPushes remaining with PInf 0.0000000e+00 1s
9 1.79643245e+09 1.73975941e+09 1.17e+06 1.36e-12 6.84e+04 0s
10 1.88603178e+09 1.87362441e+09 1.05e+06 9.09e-13 6.38e+04 0s
11 2.02302520e+09 2.03643184e+09 8.33e+05 4.55e-13 5.49e+04 0s
12 2.09705452e+09 2.31509748e+09 7.85e+05 3.41e-13 4.79e+04 1s
0 PPushes remaining with PInf 0.0000000e+00 1s
Push phase complete: Pinf 0.0000000e+00, Dinf 4.3485215e-11 1s
Crossover time: 0.14 seconds (0.06 work units)
Solved with barrier
13 2.14708848e+09 2.38352129e+09 7.36e+05 4.55e-13 4.52e+04 1s
14 2.20248022e+09 2.45705939e+09 6.86e+05 4.69e-13 4.32e+04 1s
Iteration Objective Primal Inf. Dual Inf. Time
1687 -1.7770498e+09 0.000000e+00 0.000000e+00 1s
Solved in 1687 iterations and 1.09 seconds (0.23 work units)
Optimal objective -1.777049783e+09
Writing constraints.: 0%| | 0/26 [00:00<?, ?it/s] Writing constraints.: 19%|█▉ | 5/26 [00:00<00:00, 37.05it/s]
15 2.29406247e+09 2.55903548e+09 6.12e+05 2.73e-12 3.94e+04 1s 16 2.31134687e+09 2.59163553e+09 6.01e+05 2.84e-13 3.85e+04 1s 17 2.37270332e+09 2.65926475e+09 5.54e+05 2.56e-13 3.58e+04 1s 18 2.42057280e+09 2.68995486e+09 5.24e+05 4.09e-12 3.49e+04 1s 19 2.46647169e+09 2.77278780e+09 4.91e+05 9.09e-13 3.19e+04 1s 20 2.51800122e+09 2.88479894e+09 4.58e+05 6.82e-12 2.84e+04 1s 21 2.56117349e+09 2.95663238e+09 4.33e+05 5.46e-12 2.65e+04 1s 22 2.59097915e+09 2.97999929e+09 4.15e+05 2.73e-12 2.57e+04 1s 23 2.64473675e+09 3.02138249e+09 3.84e+05 3.41e-12 2.39e+04 1s 24 2.65856698e+09 3.04085122e+09 3.76e+05 8.19e-12 2.33e+04 1s 25 2.70579493e+09 3.09696153e+09 3.52e+05 4.09e-12 2.14e+04 1s 26 2.76073539e+09 3.13648015e+09 3.27e+05 1.05e-11 2.04e+04 1s
Writing constraints.: 0%| | 0/26 [00:00<?, ?it/s] Writing constraints.: 35%|███▍ | 9/26 [00:00<00:00, 32.98it/s] Writing constraints.: 12%|█▏ | 3/26 [00:00<00:00, 28.86it/s] Writing constraints.: 50%|█████ | 13/26 [00:00<00:00, 32.41it/s]
27 2.81268184e+09 3.20165304e+09 3.02e+05 2.27e-12 1.79e+04 1s 28 2.85248501e+09 3.22249365e+09 2.83e+05 9.09e-13 1.70e+04 1s 29 2.89825877e+09 3.24220256e+09 2.62e+05 3.18e-12 1.59e+04 1s 30 3.02742936e+09 3.27589000e+09 2.07e+05 1.82e-12 1.45e+04 1s 31 3.10726495e+09 3.36433611e+09 1.74e+05 1.05e-11 1.04e+04 1s 32 3.15660476e+09 3.40591550e+09 1.54e+05 1.05e-11 8.42e+03 1s 33 3.17913645e+09 3.43412663e+09 1.44e+05 5.00e-12 7.38e+03 1s 34 3.18993368e+09 3.44672504e+09 1.40e+05 6.37e-12 6.41e+03 1s 35 3.21492141e+09 3.46091409e+09 1.30e+05 7.28e-12 6.15e+03 1s 36 3.28142152e+09 3.48466583e+09 1.03e+05 5.91e-12 4.47e+03 1s 37 3.33060445e+09 3.50048100e+09 8.42e+04 9.09e-13 3.52e+03 1s 38 3.38749976e+09 3.51585610e+09 6.21e+04 1.36e-12 2.50e+03 1s 39 3.49255936e+09 3.52190931e+09 2.12e+04 1.82e-12 1.75e+03 1s 40 3.51661312e+09 3.53499953e+09 1.17e+04 1.05e-11 8.46e+02 1s 41 3.51752461e+09 3.53553268e+09 1.14e+04 5.00e-12 8.12e+02 1s 42 3.52880092e+09 3.53960466e+09 6.86e+03 1.14e-11 4.96e+02 1s
Writing constraints.: 27%|██▋ | 7/26 [00:00<00:00, 32.90it/s] Writing constraints.: 69%|██████▉ | 18/26 [00:00<00:00, 36.59it/s] Writing constraints.: 0%| | 0/26 [00:00<?, ?it/s] Writing constraints.: 42%|████▏ | 11/26 [00:00<00:00, 33.30it/s] Writing constraints.: 23%|██▎ | 6/26 [00:00<00:00, 52.21it/s] Writing constraints.: 85%|████████▍ | 22/26 [00:00<00:00, 33.47it/s]
43 3.54142924e+09 3.54212682e+09 1.80e+03 4.55e-12 2.61e+02 1s
44 3.54284711e+09 3.54249935e+09 1.25e+03 5.00e-12 2.32e+02 1s
45 3.54492929e+09 3.54358057e+09 4.04e+02 8.64e-12 1.51e+02 1s
46 3.54537540e+09 3.54503391e+09 2.17e+02 9.46e-11 5.76e+01 1s
47 3.54586740e+09 3.54590861e+09 2.02e+01 2.62e-13 8.89e-01 1s
48 3.54591409e+09 3.54591398e+09 9.25e-05 3.45e-10 6.80e-03 1s
49 3.54591409e+09 3.54591407e+09 1.35e-03 2.05e-11 2.61e-04 1s
50 3.54591407e+09 3.54591407e+09 3.42e-06 6.14e-11 6.39e-08 1s
51 3.54591407e+09 3.54591407e+09 5.54e-08 5.41e-11 6.39e-11 1s
Barrier solved model in 51 iterations and 1.07 seconds (0.28 work units)
Optimal objective 3.54591407e+09
Crossover log...
20 DPushes remaining with DInf 0.0000000e+00 1s
0 DPushes remaining with DInf 0.0000000e+00 1s
1669 PPushes remaining with PInf 0.0000000e+00 1s
0 PPushes remaining with PInf 0.0000000e+00 1s
Push phase complete: Pinf 0.0000000e+00, Dinf 4.0433434e-11 1s
Crossover time: 0.09 seconds (0.07 work units)
Solved with barrier
Writing constraints.: 58%|█████▊ | 15/26 [00:00<00:00, 35.48it/s] Writing constraints.: 100%|██████████| 26/26 [00:00<00:00, 33.61it/s] Writing constraints.: 100%|██████████| 26/26 [00:00<00:00, 33.93it/s] Writing continuous variables.: 0%| | 0/12 [00:00<?, ?it/s] Writing constraints.: 73%|███████▎ | 19/26 [00:00<00:00, 36.63it/s] Writing constraints.: 46%|████▌ | 12/26 [00:00<00:00, 41.52it/s] Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 114.86it/s] Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 114.61it/s]
Iteration Objective Primal Inf. Dual Inf. Time
1692 3.5459141e+09 0.000000e+00 0.000000e+00 1s
Solved in 1692 iterations and 1.19 seconds (0.35 work units)
Optimal objective 3.545914074e+09
Set parameter WLSAccessID
Set parameter WLSSecret
Set parameter LicenseID to value 2537914
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Writing constraints.: 88%|████████▊ | 23/26 [00:00<00:00, 35.96it/s] Writing constraints.: 69%|██████▉ | 18/26 [00:00<00:00, 44.40it/s] Writing constraints.: 100%|██████████| 26/26 [00:00<00:00, 35.37it/s] Writing continuous variables.: 0%| | 0/12 [00:00<?, ?it/s] Writing continuous variables.: 83%|████████▎ | 10/12 [00:00<00:00, 98.92it/s] Writing constraints.: 88%|████████▊ | 23/26 [00:00<00:00, 39.17it/s] Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 100.50it/s]
Read LP format model from file /tmp/linopy-problem-7y0pmf2_.lp
Reading time = 0.12 seconds
obj: 23383 rows, 10720 columns, 44348 nonzeros
Gurobi Optimizer version 13.0.2 build v13.0.2rc1 (linux64 - "Ubuntu 24.04.5 LTS")
CPU model: AMD EPYC 7763 64-Core Processor, instruction set [SSE2|AVX|AVX2]
Thread count: 2 physical cores, 4 logical processors, using up to 4 threads
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Optimize a model with 23383 rows, 10720 columns and 44348 nonzeros (Min)
Model fingerprint: 0xaa4dbcfd
Model has 6 linear objective coefficients
Coefficient statistics:
Matrix range [1e-03, 2e+05]
Objective range [2e+01, 6e+04]
Bounds range [0e+00, 0e+00]
RHS range [5e+03, 8e+09]
Warning: Model contains large rhs
Consider reformulating model or setting NumericFocus parameter
to avoid numerical issues.
Set parameter WLSAccessID
Set parameter WLSSecret
Set parameter LicenseID to value 2537914
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Presolve removed 13136 rows and 2416 columns
Presolve time: 0.10s
Presolved: 10247 rows, 8304 columns, 29770 nonzeros
Concurrent LP optimizer: dual simplex and barrier
Showing barrier log only...
Ordering time: 0.03s
Barrier statistics:
Dense cols : 6
AA' NZ : 2.537e+04
Factor NZ : 1.718e+05 (roughly 9 MB of memory)
Factor Ops : 2.974e+06 (less than 1 second per iteration)
Threads : 1
Objective Residual
Iter Primal Dual Primal Dual Compl Time
0 3.79456345e+08 -8.70811340e+11 7.39e+08 2.28e+03 4.28e+09 0s
Writing constraints.: 100%|██████████| 26/26 [00:00<00:00, 40.52it/s] Writing continuous variables.: 0%| | 0/12 [00:00<?, ?it/s] Writing continuous variables.: 58%|█████▊ | 7/12 [00:00<00:00, 63.11it/s]
1 -3.99213686e+08 -7.92683874e+11 1.10e+08 3.70e+03 2.15e+09 0s
Read LP format model from file /tmp/linopy-problem-eswqwsod.lp
Reading time = 0.11 seconds
obj: 23383 rows, 10720 columns, 44348 nonzeros
Gurobi Optimizer version 13.0.2 build v13.0.2rc1 (linux64 - "Ubuntu 24.04.5 LTS")
CPU model: AMD EPYC 7763 64-Core Processor, instruction set [SSE2|AVX|AVX2]
Thread count: 2 physical cores, 4 logical processors, using up to 4 threads
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Optimize a model with 23383 rows, 10720 columns and 44348 nonzeros (Min)
Model fingerprint: 0xf26c7df3
Model has 6 linear objective coefficients
Coefficient statistics:
Matrix range [1e-03, 2e+05]
Objective range [7e+01, 9e+04]
Bounds range [0e+00, 0e+00]
RHS range [5e+03, 8e+09]
Warning: Model contains large rhs
Consider reformulating model or setting NumericFocus parameter
to avoid numerical issues.
2 5.58019149e+09 -2.75637561e+11 5.97e+07 6.81e+01 3.40e+08 0s
3 3.80048356e+08 -1.25818937e+11 2.01e+06 4.00e+00 1.82e+07 0s
Presolve removed 13136 rows and 2416 columns
Presolve time: 0.09s
Presolved: 10247 rows, 8304 columns, 29770 nonzeros
Concurrent LP optimizer: dual simplex and barrier
Showing barrier log only...
4 1.32033784e+08 -4.03739407e+10 4.74e+05 1.55e-01 3.87e+06 0s
5 -8.95657326e+07 -1.68091037e+10 1.50e+05 2.08e-02 1.25e+06 0s
Ordering time: 0.02s
Barrier statistics:
Dense cols : 6
AA' NZ : 2.537e+04
Factor NZ : 1.718e+05 (roughly 9 MB of memory)
Factor Ops : 2.974e+06 (less than 1 second per iteration)
Threads : 1
6 -3.44232880e+08 -7.49661846e+09 9.96e+04 3.83e-12 5.24e+05 0s
Objective Residual
Iter Primal Dual Primal Dual Compl Time
0 -4.39147234e+09 -9.17947439e+11 7.39e+08 2.40e+03 4.50e+09 0s
7 -5.71500300e+08 -5.37174978e+09 7.47e+04 2.36e-12 3.46e+05 0s
8 -1.01769033e+09 -4.48799994e+09 2.17e+04 3.20e-12 2.25e+05 0s
1 -1.11483826e+11 -8.26949832e+11 1.20e+08 4.89e+03 2.38e+09 0s
Set parameter WLSAccessID
Set parameter WLSSecret
Set parameter LicenseID to value 2537914
Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 56.48it/s]
/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:226: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError.
Dim: 'name': left=['battery storage'], right=['hydrogen storage']
Resolve: `.sel(...)` / `.reindex(...)` to align
`.assign_coords(...)` to relabel one side
`linopy.align(...)` to pre-align several operands
or pass an explicit `join=` argument.
Opt in: linopy.options['semantics'] = 'v1'
Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning)
return merge(expr)
/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:226: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError.
Dim: 'name': left=['battery storage'], right=['hydrogen storage']
Resolve: `.sel(...)` / `.reindex(...)` to align
`.assign_coords(...)` to relabel one side
`linopy.align(...)` to pre-align several operands
or pass an explicit `join=` argument.
Opt in: linopy.options['semantics'] = 'v1'
Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning)
return merge(expr)
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
2 -1.04574496e+11 -2.80672629e+11 6.49e+07 6.92e+01 3.67e+08 0s
9 -1.06726086e+09 -3.99809250e+09 1.83e+04 2.48e-12 1.89e+05 0s
10 -1.20617656e+09 -3.53269063e+09 1.42e+04 1.22e-12 1.50e+05 0s
3 -7.25950280e+09 -1.31237198e+11 2.67e+06 2.78e+00 2.15e+07 0s
11 -1.34940893e+09 -3.03575271e+09 1.01e+04 1.07e-12 1.08e+05 0s
4 -3.91996366e+09 -4.08934188e+10 4.76e+05 6.05e-11 3.67e+06 0s
12 -1.43861252e+09 -2.89486688e+09 7.98e+03 1.54e-12 9.27e+04 0s
5 -3.55787557e+09 -2.25194287e+10 1.79e+05 6.41e-11 1.47e+06 0s
13 -1.47529256e+09 -2.62558393e+09 6.48e+03 1.06e-12 7.32e+04 1s
6 -3.60944089e+09 -1.08296374e+10 1.16e+05 1.86e-11 5.52e+05 0s
14 -1.52499860e+09 -2.39380091e+09 3.66e+03 1.40e-12 5.46e+04 1s
7 -3.84369230e+09 -8.31286740e+09 6.31e+04 7.96e-12 3.19e+05 0s
Read LP format model from file /tmp/linopy-problem-6qxngfd6.lp
Reading time = 0.17 seconds
obj: 23383 rows, 10720 columns, 44348 nonzeros
Gurobi Optimizer version 13.0.2 build v13.0.2rc1 (linux64 - "Ubuntu 24.04.5 LTS")
CPU model: AMD EPYC 7763 64-Core Processor, instruction set [SSE2|AVX|AVX2]
Thread count: 2 physical cores, 4 logical processors, using up to 4 threads
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Optimize a model with 23383 rows, 10720 columns and 44348 nonzeros (Min)
Model fingerprint: 0x4dfeb1ae
Model has 6 linear objective coefficients
Coefficient statistics:
Matrix range [1e-03, 2e+05]
Objective range [1e+02, 1e+05]
Bounds range [0e+00, 0e+00]
RHS range [5e+03, 8e+09]
Warning: Model contains large rhs
Consider reformulating model or setting NumericFocus parameter
to avoid numerical issues.
15 -1.58223837e+09 -2.23414617e+09 2.37e+03 1.10e-12 4.07e+04 1s
8 -4.09850975e+09 -7.59841334e+09 4.20e+04 1.84e-11 2.41e+05 0s
16 -1.60886963e+09 -2.15017371e+09 1.60e+03 1.24e-12 3.36e+04 1s
9 -4.29011584e+09 -7.01117882e+09 3.09e+04 5.52e-12 1.85e+05 0s
17 -1.62963913e+09 -1.99790633e+09 1.17e+03 9.21e-13 2.29e+04 1s
10 -4.37118108e+09 -6.81195594e+09 2.73e+04 9.32e-12 1.65e+05 0s
18 -1.65260108e+09 -1.79931812e+09 5.95e+02 1.09e-12 9.19e+03 1s
11 -4.31733608e+09 -6.47810166e+09 2.56e+04 6.51e-12 1.46e+05 0s
Presolve removed 13136 rows and 2416 columns
12 -4.62154486e+09 -6.04944547e+09 1.33e+04 4.69e-12 9.37e+04 0s
Presolve time: 0.11s
Presolved: 10247 rows, 8304 columns, 29770 nonzeros
Concurrent LP optimizer: dual simplex and barrier
Showing barrier log only...
19 -1.67466959e+09 -1.69041918e+09 4.10e+01 2.73e-12 9.73e+02 1s
13 -4.77372521e+09 -5.90187778e+09 7.82e+03 6.32e-12 7.24e+04 1s
14 -4.75329207e+09 -5.87076324e+09 6.17e+03 7.50e-12 7.08e+04 1s
Ordering time: 0.02s
20 -1.67763226e+09 -1.67895854e+09 6.41e-01 2.24e-12 8.04e+01 1s
Barrier statistics:
Dense cols : 6
AA' NZ : 2.537e+04
Factor NZ : 1.718e+05 (roughly 9 MB of memory)
Factor Ops : 2.974e+06 (less than 1 second per iteration)
Threads : 1
15 -4.81266744e+09 -5.41050244e+09 4.55e+03 8.87e-12 3.84e+04 1s
21 -1.67773271e+09 -1.67789354e+09 3.72e-03 3.40e-12 9.70e+00 1s
Objective Residual
Iter Primal Dual Primal Dual Compl Time
0 -6.80314605e+09 -7.42918561e+11 7.39e+08 1.95e+03 3.64e+09 0s
16 -4.86905824e+09 -5.20096975e+09 2.83e+03 1.09e-11 2.14e+04 1s
1 -1.78048692e+11 -7.00906842e+11 1.46e+08 3.88e+03 2.06e+09 0s
22 -1.67773919e+09 -1.67773978e+09 8.62e-06 1.49e-09 3.53e-02 1s
17 -4.89000548e+09 -5.02846035e+09 2.17e+03 4.35e-12 9.40e+03 1s
2 -1.68105592e+11 -2.42720020e+11 7.15e+07 9.26e+01 3.17e+08 0s
23 -1.67773931e+09 -1.67773931e+09 7.22e-08 8.17e-12 3.53e-05 1s
18 -4.92321310e+09 -4.99088994e+09 1.02e+03 7.49e-12 4.57e+03 1s
3 -1.38569633e+10 -1.06968242e+11 4.45e+06 7.00e+00 2.45e+07 0s
19 -4.92645882e+09 -4.97120078e+09 9.09e+02 1.21e-11 3.13e+03 1s
24 -1.67773931e+09 -1.67773931e+09 5.05e-08 5.75e-11 2.07e-10 1s
Barrier solved model in 24 iterations and 0.86 seconds (0.15 work units)
Optimal objective -1.67773931e+09
Crossover log...
20 -4.93994879e+09 -4.95978033e+09 4.40e+02 4.09e-12 1.40e+03 1s
4 -4.60636565e+09 -4.06415542e+10 5.55e+05 1.78e-01 3.79e+06 0s
21 -4.94826644e+09 -4.95443556e+09 1.59e+02 1.84e-11 4.45e+02 1s
5 -3.76039090e+09 -1.94127099e+10 1.71e+05 2.54e-02 1.23e+06 0s
5 DPushes remaining with DInf 0.0000000e+00 1s
22 -4.95262867e+09 -4.95323388e+09 1.02e+01 2.61e-11 4.12e+01 1s
0 DPushes remaining with DInf 0.0000000e+00 1s
1928 PPushes remaining with PInf 0.0000000e+00 1s
6 -3.71321007e+09 -9.50446645e+09 1.08e+05 5.42e-12 4.48e+05 0s
23 -4.95296718e+09 -4.95298583e+09 3.20e-01 1.25e-11 1.27e+00 1s
7 -3.84511647e+09 -7.32666848e+09 3.26e+04 4.01e-12 2.33e+05 0s
8 -3.94990721e+09 -6.47792622e+09 2.38e+04 2.68e-12 1.67e+05 0s
24 -4.95298111e+09 -4.95298119e+09 2.81e-05 7.23e-12 4.49e-03 1s
25 -4.95298114e+09 -4.95298114e+09 6.32e-07 3.25e-11 1.13e-06 1s
9 -4.12562670e+09 -5.86951575e+09 1.36e+04 2.56e-12 1.13e+05 0s
26 -4.95298114e+09 -4.95298114e+09 9.55e-09 2.71e-11 1.13e-09 1s
Barrier solved model in 26 iterations and 0.85 seconds (0.16 work units)
Optimal objective -4.95298114e+09
10 -4.18312383e+09 -5.55654931e+09 9.34e+03 2.86e-12 8.79e+04 0s
Crossover log...
0 PPushes remaining with PInf 0.0000000e+00 1s
Push phase complete: Pinf 0.0000000e+00, Dinf 6.7387873e-11 1s
Crossover time: 0.22 seconds (0.07 work units)
11 -4.31597658e+09 -5.10642176e+09 5.28e+03 1.36e-12 5.03e+04 1s
Solved with barrier
12 DPushes remaining with DInf 0.0000000e+00 1s
12 -4.39606580e+09 -4.81050339e+09 3.18e+03 2.01e-12 2.65e+04 1s
Iteration Objective Primal Inf. Dual Inf. Time
1936 -1.6777393e+09 0.000000e+00 0.000000e+00 1s
Solved in 1936 iterations and 1.12 seconds (0.23 work units)
Optimal objective -1.677739311e+09
0 DPushes remaining with DInf 0.0000000e+00 1s
1536 PPushes remaining with PInf 0.0000000e+00 1s
13 -4.43944300e+09 -4.72826298e+09 1.94e+03 1.73e-12 1.83e+04 1s
14 -4.48666772e+09 -4.68985894e+09 6.27e+02 1.13e-12 1.26e+04 1s
15 -4.49948995e+09 -4.56156471e+09 3.54e+02 2.49e-12 3.91e+03 1s
16 -4.51186898e+09 -4.53878616e+09 9.72e+01 1.83e-12 1.67e+03 1s
/opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/contextlib.py:85: FutureWarning: The default value of `include_objective_constant` will change from True to False in version 2.0. Set `include_objective_constant` explicitly to suppress this warning. Using False improves LP numerical conditioning by not including the objective constant as a variable.
return func(*args, **kwds)
/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:226: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError.
Dim: 'name': left=['battery storage'], right=['hydrogen storage']
Resolve: `.sel(...)` / `.reindex(...)` to align
`.assign_coords(...)` to relabel one side
`linopy.align(...)` to pre-align several operands
or pass an explicit `join=` argument.
Opt in: linopy.options['semantics'] = 'v1'
Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning)
return merge(expr)
0 PPushes remaining with PInf 0.0000000e+00 1s
Push phase complete: Pinf 0.0000000e+00, Dinf 7.6596507e-11 1s
17 -4.51383463e+09 -4.52127169e+09 6.00e+01 2.70e-12 4.75e+02 1s
Crossover time: 0.21 seconds (0.06 work units)
Solved with barrier
18 -4.51596099e+09 -4.51755059e+09 2.02e+01 1.58e-12 1.04e+02 1s
Iteration Objective Primal Inf. Dual Inf. Time
1551 -4.9529811e+09 0.000000e+00 0.000000e+00 1s
Solved in 1551 iterations and 1.09 seconds (0.22 work units)
Optimal objective -4.952981136e+09
19 -4.51693596e+09 -4.51726192e+09 1.63e+00 2.27e-12 2.04e+01 1s
20 -4.51703355e+09 -4.51704353e+09 5.64e-02 1.86e-12 6.25e-01 1s
21 -4.51703898e+09 -4.51703952e+09 1.65e-03 3.28e-10 3.37e-02 1s
22 -4.51703929e+09 -4.51703929e+09 1.84e-05 8.44e-10 2.17e-04 1s
23 -4.51703929e+09 -4.51703929e+09 4.14e-07 1.33e-10 2.17e-07 1s
24 -4.51703929e+09 -4.51703929e+09 3.47e-08 4.23e-10 4.06e-12 1s
Barrier solved model in 24 iterations and 0.86 seconds (0.15 work units)
Optimal objective -4.51703929e+09
Crossover log...
3 DPushes remaining with DInf 0.0000000e+00 1s
0 DPushes remaining with DInf 0.0000000e+00 1s
1250 PPushes remaining with PInf 0.0000000e+00 1s
0 PPushes remaining with PInf 0.0000000e+00 1s
Push phase complete: Pinf 0.0000000e+00, Dinf 6.2421179e-11 1s
Crossover time: 0.21 seconds (0.05 work units)
Solved with barrier
Iteration Objective Primal Inf. Dual Inf. Time
1256 -4.5170393e+09 0.000000e+00 0.000000e+00 1s
Solved in 1256 iterations and 1.11 seconds (0.21 work units)
Optimal objective -4.517039286e+09
/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:226: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError.
Dim: 'name': left=['battery storage'], right=['hydrogen storage']
Resolve: `.sel(...)` / `.reindex(...)` to align
`.assign_coords(...)` to relabel one side
`linopy.align(...)` to pre-align several operands
or pass an explicit `join=` argument.
Opt in: linopy.options['semantics'] = 'v1'
Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning)
return merge(expr)
/opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/contextlib.py:85: FutureWarning: The default value of `include_objective_constant` will change from True to False in version 2.0. Set `include_objective_constant` explicitly to suppress this warning. Using False improves LP numerical conditioning by not including the objective constant as a variable.
return func(*args, **kwds)
/opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/contextlib.py:85: FutureWarning: The default value of `include_objective_constant` will change from True to False in version 2.0. Set `include_objective_constant` explicitly to suppress this warning. Using False improves LP numerical conditioning by not including the objective constant as a variable.
return func(*args, **kwds)
/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:226: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError.
Dim: 'name': left=['battery storage'], right=['hydrogen storage']
Resolve: `.sel(...)` / `.reindex(...)` to align
`.assign_coords(...)` to relabel one side
`linopy.align(...)` to pre-align several operands
or pass an explicit `join=` argument.
Opt in: linopy.options['semantics'] = 'v1'
Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning)
return merge(expr)
/opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/contextlib.py:85: FutureWarning: The default value of `include_objective_constant` will change from True to False in version 2.0. Set `include_objective_constant` explicitly to suppress this warning. Using False improves LP numerical conditioning by not including the objective constant as a variable.
return func(*args, **kwds)
/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:226: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError.
Dim: 'name': left=['battery storage'], right=['hydrogen storage']
Resolve: `.sel(...)` / `.reindex(...)` to align
`.assign_coords(...)` to relabel one side
`linopy.align(...)` to pre-align several operands
or pass an explicit `join=` argument.
Opt in: linopy.options['semantics'] = 'v1'
Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning)
return merge(expr)
/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:226: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError.
Dim: 'name': left=['battery storage'], right=['hydrogen storage']
Resolve: `.sel(...)` / `.reindex(...)` to align
`.assign_coords(...)` to relabel one side
`linopy.align(...)` to pre-align several operands
or pass an explicit `join=` argument.
Opt in: linopy.options['semantics'] = 'v1'
Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning)
return merge(expr)
/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:567: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError.
Dim: 'name': left=['wind', 'solar'], right=['battery storage', 'electrolysis', 'hydrogen storage', 'turbine']
Resolve: `.sel(...)` / `.reindex(...)` to align
`.assign_coords(...)` to relabel one side
`linopy.align(...)` to pre-align several operands
or pass an explicit `join=` argument.
Opt in: linopy.options['semantics'] = 'v1'
Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning)
-sum(
/opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/contextlib.py:85: FutureWarning: The default value of `include_objective_constant` will change from True to False in version 2.0. Set `include_objective_constant` explicitly to suppress this warning. Using False improves LP numerical conditioning by not including the objective constant as a variable. return func(*args, **kwds)
/opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/contextlib.py:85: FutureWarning: The default value of `include_objective_constant` will change from True to False in version 2.0. Set `include_objective_constant` explicitly to suppress this warning. Using False improves LP numerical conditioning by not including the objective constant as a variable.
return func(*args, **kwds)
Writing constraints.: 0%| | 0/26 [00:00<?, ?it/s]
Writing constraints.: 12%|█▏ | 3/26 [00:00<00:01, 21.09it/s] Writing constraints.: 27%|██▋ | 7/26 [00:00<00:00, 25.59it/s]
Writing constraints.: 38%|███▊ | 10/26 [00:00<00:00, 22.29it/s] Writing constraints.: 50%|█████ | 13/26 [00:00<00:00, 21.78it/s]
Writing constraints.: 62%|██████▏ | 16/26 [00:00<00:00, 22.71it/s]/opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/contextlib.py:85: FutureWarning: The default value of `include_objective_constant` will change from True to False in version 2.0. Set `include_objective_constant` explicitly to suppress this warning. Using False improves LP numerical conditioning by not including the objective constant as a variable. return func(*args, **kwds) Writing constraints.: 73%|███████▎ | 19/26 [00:00<00:00, 21.27it/s]
Writing constraints.: 85%|████████▍ | 22/26 [00:01<00:00, 21.08it/s] Writing constraints.: 96%|█████████▌| 25/26 [00:01<00:00, 20.11it/s]
Writing constraints.: 100%|██████████| 26/26 [00:01<00:00, 21.38it/s] Writing continuous variables.: 0%| | 0/12 [00:00<?, ?it/s] Writing continuous variables.: 58%|█████▊ | 7/12 [00:00<00:00, 63.18it/s] Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 60.16it/s]
Set parameter WLSAccessID
Set parameter WLSSecret
Set parameter LicenseID to value 2537914
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Read LP format model from file /tmp/linopy-problem-3gb61ihl.lp
Reading time = 0.12 seconds
obj: 23383 rows, 10720 columns, 44348 nonzeros
Gurobi Optimizer version 13.0.2 build v13.0.2rc1 (linux64 - "Ubuntu 24.04.5 LTS")
CPU model: AMD EPYC 7763 64-Core Processor, instruction set [SSE2|AVX|AVX2]
Thread count: 2 physical cores, 4 logical processors, using up to 4 threads
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Optimize a model with 23383 rows, 10720 columns and 44348 nonzeros (Min)
Model fingerprint: 0x6fa81c32
Model has 6 linear objective coefficients
Coefficient statistics:
Matrix range [1e-03, 2e+05]
Objective range [8e+01, 1e+05]
Bounds range [0e+00, 0e+00]
RHS range [5e+03, 8e+09]
Warning: Model contains large rhs
Consider reformulating model or setting NumericFocus parameter
to avoid numerical issues.
Presolve removed 13136 rows and 2416 columns
Presolve time: 0.09s
Presolved: 10247 rows, 8304 columns, 29770 nonzeros
Concurrent LP optimizer: dual simplex and barrier
Showing barrier log only...
Ordering time: 0.01s
Barrier statistics:
Dense cols : 6
AA' NZ : 2.537e+04
Factor NZ : 1.718e+05 (roughly 9 MB of memory)
Factor Ops : 2.974e+06 (less than 1 second per iteration)
Threads : 1
Objective Residual
Iter Primal Dual Primal Dual Compl Time
0 6.90963565e+09 -3.55222039e+09 7.58e+08 0.00e+00 1.83e+07 0s
1 4.09266038e+09 -2.79047155e+09 9.12e+06 1.07e-02 1.33e+06 0s
2 2.62387906e+09 8.17737228e+07 5.06e+06 6.41e-02 2.64e+05 0s
3 1.69921499e+09 8.83418805e+08 2.61e+06 1.08e-02 1.40e+05 0s
4 1.59830135e+09 1.20257830e+09 2.10e+06 1.36e-03 1.12e+05 0s
5 1.53498574e+09 1.35748915e+09 1.61e+06 1.82e-12 8.48e+04 0s
6 1.55092800e+09 1.45700697e+09 1.34e+06 1.48e-12 7.18e+04 0s
7 1.57012794e+09 1.62242370e+09 1.23e+06 2.27e-13 6.38e+04 0s
8 1.60272739e+09 1.71790057e+09 1.12e+06 1.82e-12 5.78e+04 0s 9 1.63782771e+09 1.74958768e+09 1.04e+06 1.14e-12 5.45e+04 0s 10 1.66681465e+09 1.79378029e+09 9.78e+05 3.18e-12 5.18e+04 0s 11 1.76707023e+09 1.95039649e+09 8.45e+05 3.41e-13 4.60e+04 0s 12 1.87354806e+09 2.12212997e+09 7.32e+05 2.73e-12 4.01e+04 0s 13 2.00840388e+09 2.22816100e+09 6.05e+05 1.36e-12 3.60e+04 0s 14 2.15872227e+09 2.41323836e+09 4.56e+05 2.96e-12 2.71e+04 0s 15 2.22099766e+09 2.44504061e+09 4.18e+05 3.64e-12 2.62e+04 0s 16 2.29366419e+09 2.50886576e+09 3.68e+05 2.27e-12 2.35e+04 0s 17 2.36588372e+09 2.56171381e+09 3.16e+05 3.18e-12 2.07e+04 0s 18 2.45504358e+09 2.66907342e+09 2.54e+05 8.64e-12 1.59e+04 1s
19 2.48678154e+09 2.67237286e+09 2.35e+05 9.09e-13 1.54e+04 1s 20 2.54740215e+09 2.70776989e+09 2.01e+05 2.73e-12 1.37e+04 1s 21 2.61340046e+09 2.75937955e+09 1.65e+05 3.18e-12 1.10e+04 1s 22 2.63224046e+09 2.78690542e+09 1.52e+05 1.59e-12 9.82e+03 1s 23 2.67952374e+09 2.80926833e+09 1.25e+05 9.09e-13 8.42e+03 1s 24 2.68867521e+09 2.81117206e+09 1.21e+05 3.30e-12 8.20e+03 1s 25 2.69820573e+09 2.81569146e+09 1.16e+05 9.09e-13 7.94e+03 1s 26 2.74524667e+09 2.83744718e+09 9.05e+04 1.36e-12 6.40e+03 1s 27 2.76298938e+09 2.86975313e+09 8.14e+04 1.93e-12 4.57e+03 1s
28 2.79015856e+09 2.87993497e+09 6.72e+04 1.93e-12 3.77e+03 1s 29 2.80586890e+09 2.88637150e+09 5.93e+04 7.73e-12 3.31e+03 1s 30 2.80735947e+09 2.89148769e+09 5.85e+04 5.46e-12 3.20e+03 1s 31 2.82782480e+09 2.89204338e+09 4.88e+04 2.73e-12 2.89e+03 1s 32 2.82974775e+09 2.89575441e+09 4.79e+04 2.96e-12 2.75e+03 1s 33 2.83062085e+09 2.89637446e+09 4.74e+04 2.73e-12 2.72e+03 1s 34 2.83383417e+09 2.89786812e+09 4.58e+04 2.27e-12 2.63e+03 1s 35 2.83947006e+09 2.89953705e+09 4.31e+04 1.36e-12 2.50e+03 1s
36 2.85327103e+09 2.90865118e+09 3.66e+04 4.55e-12 1.94e+03 1s 37 2.86821739e+09 2.91143594e+09 3.04e+04 2.27e-12 1.86e+03 1s 38 2.87367959e+09 2.91395938e+09 2.78e+04 1.82e-12 1.67e+03 1s 39 2.88113739e+09 2.92432006e+09 2.43e+04 6.82e-12 1.08e+03 1s 40 2.88352945e+09 2.92880076e+09 2.32e+04 2.27e-12 8.58e+02 1s 41 2.89932735e+09 2.92975297e+09 1.61e+04 2.73e-12 6.66e+02 1s 42 2.91034548e+09 2.93212732e+09 1.16e+04 2.27e-12 5.14e+02 1s
43 2.91721413e+09 2.93356037e+09 8.60e+03 5.91e-12 3.82e+02 1s 44 2.91923294e+09 2.93435910e+09 7.73e+03 6.82e-12 3.23e+02 1s 45 2.92941667e+09 2.93588559e+09 3.40e+03 8.41e-12 1.54e+02 1s 46 2.93443365e+09 2.93688951e+09 1.23e+03 1.59e-11 4.92e+01 1s 47 2.93721409e+09 2.93724770e+09 2.35e+01 2.05e-11 1.73e+00 1s 48 2.93726473e+09 2.93726472e+09 4.97e-05 9.89e-12 4.66e-04 1s 49 2.93726473e+09 2.93726473e+09 2.40e-08 2.88e-12 4.66e-07 1s 50 2.93726473e+09 2.93726473e+09 2.44e-08 2.32e-11 4.66e-10 1s Barrier solved model in 50 iterations and 1.38 seconds (0.28 work units) Optimal objective 2.93726473e+09
Crossover log...
15 DPushes remaining with DInf 0.0000000e+00 1s
0 DPushes remaining with DInf 0.0000000e+00 1s
1558 PPushes remaining with PInf 0.0000000e+00 1s
0 PPushes remaining with PInf 0.0000000e+00 2s
Push phase complete: Pinf 0.0000000e+00, Dinf 3.1242564e-11 2s
Crossover time: 0.21 seconds (0.06 work units)
Solved with barrier
Iteration Objective Primal Inf. Dual Inf. Time
1576 2.9372647e+09 0.000000e+00 0.000000e+00 2s
Solved in 1576 iterations and 1.61 seconds (0.34 work units)
Optimal objective 2.937264728e+09
/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:226: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError.
Dim: 'name': left=['battery storage'], right=['hydrogen storage']
Resolve: `.sel(...)` / `.reindex(...)` to align
`.assign_coords(...)` to relabel one side
`linopy.align(...)` to pre-align several operands
or pass an explicit `join=` argument.
Opt in: linopy.options['semantics'] = 'v1'
Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning)
return merge(expr)
/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:567: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError.
Dim: 'name': left=['wind', 'solar'], right=['battery storage', 'electrolysis', 'hydrogen storage', 'turbine']
Resolve: `.sel(...)` / `.reindex(...)` to align
`.assign_coords(...)` to relabel one side
`linopy.align(...)` to pre-align several operands
or pass an explicit `join=` argument.
Opt in: linopy.options['semantics'] = 'v1'
Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning)
-sum(
Writing constraints.: 0%| | 0/26 [00:00<?, ?it/s]/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:226: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError. Dim: 'name': left=['battery storage'], right=['hydrogen storage'] Resolve: `.sel(...)` / `.reindex(...)` to align `.assign_coords(...)` to relabel one side `linopy.align(...)` to pre-align several operands or pass an explicit `join=` argument. Opt in: linopy.options['semantics'] = 'v1' Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning) return merge(expr) Writing constraints.: 15%|█▌ | 4/26 [00:00<00:00, 34.47it/s]
Writing constraints.: 31%|███ | 8/26 [00:00<00:00, 33.62it/s] Writing constraints.: 50%|█████ | 13/26 [00:00<00:00, 38.32it/s]/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:226: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError. Dim: 'name': left=['battery storage'], right=['hydrogen storage'] Resolve: `.sel(...)` / `.reindex(...)` to align `.assign_coords(...)` to relabel one side `linopy.align(...)` to pre-align several operands or pass an explicit `join=` argument. Opt in: linopy.options['semantics'] = 'v1' Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning) return merge(expr)
Warning: environment still referenced so free is deferred (Continue to use WLS) Warning: environment still referenced so free is deferred (Continue to use WLS)
/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:226: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError.
Dim: 'name': left=['battery storage'], right=['hydrogen storage']
Resolve: `.sel(...)` / `.reindex(...)` to align
`.assign_coords(...)` to relabel one side
`linopy.align(...)` to pre-align several operands
or pass an explicit `join=` argument.
Opt in: linopy.options['semantics'] = 'v1'
Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning)
return merge(expr)
/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:567: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError.
Dim: 'name': left=['wind', 'solar'], right=['battery storage', 'electrolysis', 'hydrogen storage', 'turbine']
Resolve: `.sel(...)` / `.reindex(...)` to align
`.assign_coords(...)` to relabel one side
`linopy.align(...)` to pre-align several operands
or pass an explicit `join=` argument.
Opt in: linopy.options['semantics'] = 'v1'
Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning)
-sum(
Writing constraints.: 65%|██████▌ | 17/26 [00:00<00:00, 37.64it/s]/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:567: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError.
Dim: 'name': left=['wind', 'solar'], right=['battery storage', 'electrolysis', 'hydrogen storage', 'turbine']
Resolve: `.sel(...)` / `.reindex(...)` to align
`.assign_coords(...)` to relabel one side
`linopy.align(...)` to pre-align several operands
or pass an explicit `join=` argument.
Opt in: linopy.options['semantics'] = 'v1'
Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning)
-sum(
/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:226: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError.
Dim: 'name': left=['battery storage'], right=['hydrogen storage']
Resolve: `.sel(...)` / `.reindex(...)` to align
`.assign_coords(...)` to relabel one side
`linopy.align(...)` to pre-align several operands
or pass an explicit `join=` argument.
Opt in: linopy.options['semantics'] = 'v1'
Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning)
return merge(expr)
Writing constraints.: 81%|████████ | 21/26 [00:00<00:00, 36.32it/s]/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:567: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError.
Dim: 'name': left=['wind', 'solar'], right=['battery storage', 'electrolysis', 'hydrogen storage', 'turbine']
Resolve: `.sel(...)` / `.reindex(...)` to align
`.assign_coords(...)` to relabel one side
`linopy.align(...)` to pre-align several operands
or pass an explicit `join=` argument.
Opt in: linopy.options['semantics'] = 'v1'
Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning)
-sum(
Writing constraints.: 96%|█████████▌| 25/26 [00:00<00:00, 36.78it/s] Writing constraints.: 100%|██████████| 26/26 [00:00<00:00, 37.08it/s] Writing continuous variables.: 0%| | 0/12 [00:00<?, ?it/s] Writing constraints.: 0%| | 0/26 [00:00<?, ?it/s] Writing continuous variables.: 83%|████████▎ | 10/12 [00:00<00:00, 95.82it/s]/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:226: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError. Dim: 'name': left=['battery storage'], right=['hydrogen storage'] Resolve: `.sel(...)` / `.reindex(...)` to align `.assign_coords(...)` to relabel one side `linopy.align(...)` to pre-align several operands or pass an explicit `join=` argument. Opt in: linopy.options['semantics'] = 'v1' Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning) return merge(expr) Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 93.32it/s] /home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:567: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError. Dim: 'name': left=['wind', 'solar'], right=['battery storage', 'electrolysis', 'hydrogen storage', 'turbine'] Resolve: `.sel(...)` / `.reindex(...)` to align `.assign_coords(...)` to relabel one side `linopy.align(...)` to pre-align several operands or pass an explicit `join=` argument. Opt in: linopy.options['semantics'] = 'v1' Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning) -sum(
Set parameter WLSAccessID
Set parameter WLSSecret
Set parameter LicenseID to value 2537914
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Read LP format model from file /tmp/linopy-problem-5o46gqew.lp
Reading time = 0.08 seconds
obj: 23383 rows, 10720 columns, 44348 nonzeros
Gurobi Optimizer version 13.0.2 build v13.0.2rc1 (linux64 - "Ubuntu 24.04.5 LTS")
CPU model: AMD EPYC 7763 64-Core Processor, instruction set [SSE2|AVX|AVX2]
Thread count: 2 physical cores, 4 logical processors, using up to 4 threads
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Optimize a model with 23383 rows, 10720 columns and 44348 nonzeros (Min)
Model fingerprint: 0xa673d485
Model has 6 linear objective coefficients
Coefficient statistics:
Matrix range [1e-03, 2e+05]
Objective range [8e+01, 1e+05]
Bounds range [0e+00, 0e+00]
RHS range [5e+03, 8e+09]
Warning: Model contains large rhs
Consider reformulating model or setting NumericFocus parameter
to avoid numerical issues.
Presolve removed 13136 rows and 2416 columns
Presolve time: 0.06s
Presolved: 10247 rows, 8304 columns, 29770 nonzeros
Concurrent LP optimizer: dual simplex and barrier
Showing barrier log only...
Ordering time: 0.01s
Barrier statistics:
Dense cols : 6
AA' NZ : 2.537e+04
Factor NZ : 1.718e+05 (roughly 9 MB of memory)
Factor Ops : 2.974e+06 (less than 1 second per iteration)
Threads : 1
Writing constraints.: 23%|██▎ | 6/26 [00:00<00:00, 55.00it/s] Writing constraints.: 46%|████▌ | 12/26 [00:00<00:00, 52.47it/s]
Objective Residual
Iter Primal Dual Primal Dual Compl Time
0 2.02966837e+09 -8.74485733e+11 7.39e+08 2.29e+03 4.30e+09 0s
1 6.03943496e+10 -7.61662990e+11 9.48e+07 4.19e+03 2.01e+09 0s
2 6.40352038e+10 -3.09434742e+11 5.10e+07 4.91e+01 3.49e+08 0s
3 1.39804120e+09 -1.40526628e+11 1.05e+06 4.75e-01 1.49e+07 0s
4 2.95532568e+08 -4.25427875e+10 4.63e+05 2.46e-11 4.05e+06 0s
5 -3.68370689e+08 -2.04698323e+10 2.07e+05 1.38e-11 1.55e+06 0s
6 -8.59284000e+08 -1.09400269e+10 1.06e+05 7.23e-12 7.05e+05 0s
7 -1.31095812e+09 -9.15847680e+09 6.61e+04 6.99e-12 5.25e+05 0s
Writing constraints.: 73%|███████▎ | 19/26 [00:00<00:00, 56.26it/s] Writing constraints.: 0%| | 0/26 [00:00<?, ?it/s] Writing constraints.: 96%|█████████▌| 25/26 [00:00<00:00, 50.74it/s] Writing constraints.: 23%|██▎ | 6/26 [00:00<00:00, 52.33it/s] Writing constraints.: 100%|██████████| 26/26 [00:00<00:00, 53.08it/s] Writing continuous variables.: 0%| | 0/12 [00:00<?, ?it/s] Writing constraints.: 0%| | 0/26 [00:00<?, ?it/s]
8 -1.55067227e+09 -7.92483858e+09 5.53e+04 5.62e-12 4.23e+05 0s 9 -1.90601986e+09 -7.68752941e+09 4.60e+04 5.32e-12 3.80e+05 0s 10 -2.08586000e+09 -7.16888098e+09 4.11e+04 5.62e-12 3.33e+05 0s 11 -1.89526887e+09 -6.68790714e+09 3.81e+04 4.65e-12 3.12e+05 0s 12 -2.29874505e+09 -5.72713414e+09 2.95e+04 2.73e-12 2.24e+05 0s 13 -2.60190769e+09 -4.51354945e+09 1.63e+04 2.28e-12 1.24e+05 0s 14 -2.81153181e+09 -3.87801997e+09 9.26e+03 2.53e-12 6.94e+04 0s 15 -2.84924982e+09 -3.76049358e+09 7.35e+03 1.63e-12 5.90e+04 0s Set parameter WLSAccessID Set parameter WLSSecret Set parameter LicenseID to value 2537914 Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de 16 -2.90751412e+09 -3.56377554e+09 5.47e+03 1.31e-12 4.26e+04 0s 17 -2.95112044e+09 -3.49123362e+09 4.41e+03 1.80e-12 3.50e+04 1s
Writing constraints.: 0%| | 0/26 [00:00<?, ?it/s] Writing constraints.: 46%|████▌ | 12/26 [00:00<00:00, 53.53it/s] Writing continuous variables.: 92%|█████████▏| 11/12 [00:00<00:00, 104.03it/s] Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 102.24it/s] Writing constraints.: 15%|█▌ | 4/26 [00:00<00:00, 34.13it/s] Writing constraints.: 27%|██▋ | 7/26 [00:00<00:00, 59.28it/s] Writing constraints.: 96%|█████████▌| 25/26 [00:00<00:00, 83.05it/s] Writing constraints.: 100%|██████████| 26/26 [00:00<00:00, 76.22it/s] Writing continuous variables.: 0%| | 0/12 [00:00<?, ?it/s] Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 209.84it/s]
18 -2.98086999e+09 -3.35919592e+09 3.60e+03 1.18e-12 2.49e+04 1s
19 -2.98687950e+09 -3.33124117e+09 3.40e+03 1.17e-12 2.27e+04 1s
20 -2.98667491e+09 -3.30821297e+09 3.12e+03 1.67e-12 2.12e+04 1s
Read LP format model from file /tmp/linopy-problem-9pzvvioe.lp
Reading time = 0.10 seconds
obj: 23383 rows, 10720 columns, 44348 nonzeros
Gurobi Optimizer version 13.0.2 build v13.0.2rc1 (linux64 - "Ubuntu 24.04.5 LTS")
CPU model: AMD EPYC 7763 64-Core Processor, instruction set [SSE2|AVX|AVX2]
Thread count: 2 physical cores, 4 logical processors, using up to 4 threads
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Optimize a model with 23383 rows, 10720 columns and 44348 nonzeros (Min)
Model fingerprint: 0xc2e26bf2
Model has 6 linear objective coefficients
Coefficient statistics:
Matrix range [1e-03, 2e+05]
Objective range [4e+00, 8e+04]
Bounds range [0e+00, 0e+00]
RHS range [5e+03, 8e+09]
Warning: Model contains large rhs
Consider reformulating model or setting NumericFocus parameter
to avoid numerical issues.
21 -3.00648999e+09 -3.29427531e+09 2.41e+03 2.15e-12 1.87e+04 1s
22 -3.03157607e+09 -3.22850661e+09 1.65e+03 1.63e-12 1.28e+04 1s
23 -3.04079525e+09 -3.21009325e+09 1.36e+03 1.85e-12 1.10e+04 1s
Set parameter WLSAccessID
Set parameter WLSSecret
Set parameter LicenseID to value 2537914
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
24 -3.05175314e+09 -3.19995358e+09 1.04e+03 1.01e-12 9.53e+03 1s
Presolve removed 13136 rows and 2416 columns
Presolve time: 0.08s
Presolved: 10247 rows, 8304 columns, 29770 nonzeros
Concurrent LP optimizer: dual simplex and barrier
Showing barrier log only...
25 -3.05319679e+09 -3.18577339e+09 9.62e+02 1.58e-12 8.55e+03 1s
26 -3.06384077e+09 -3.16996267e+09 6.49e+02 1.57e-12 6.77e+03 1s
Ordering time: 0.02s
27 -3.07195468e+09 -3.13901307e+09 3.54e+02 8.14e-13 4.25e+03 1s
Barrier statistics:
Dense cols : 6
AA' NZ : 2.537e+04
Factor NZ : 1.718e+05 (roughly 9 MB of memory)
Factor Ops : 2.974e+06 (less than 1 second per iteration)
Threads : 1
Read LP format model from file /tmp/linopy-problem-h7okjimv.lp
Reading time = 0.06 seconds
obj: 23383 rows, 10720 columns, 44348 nonzeros
Gurobi Optimizer version 13.0.2 build v13.0.2rc1 (linux64 - "Ubuntu 24.04.5 LTS")
CPU model: AMD EPYC 7763 64-Core Processor, instruction set [SSE2|AVX|AVX2]
Thread count: 2 physical cores, 4 logical processors, using up to 4 threads
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Optimize a model with 23383 rows, 10720 columns and 44348 nonzeros (Min)
Model fingerprint: 0x0537eb21
Model has 6 linear objective coefficients
Coefficient statistics:
Matrix range [1e-03, 2e+05]
Objective range [6e+00, 9e+04]
Bounds range [0e+00, 0e+00]
RHS range [5e+03, 8e+09]
Warning: Model contains large rhs
Consider reformulating model or setting NumericFocus parameter
to avoid numerical issues.
28 -3.07323868e+09 -3.11732652e+09 2.62e+02 1.19e-12 2.81e+03 1s
29 -3.07672526e+09 -3.11622179e+09 1.76e+02 2.00e-12 2.48e+03 1s
Objective Residual
Iter Primal Dual Primal Dual Compl Time
0 -2.98559789e+09 -8.98932335e+11 7.39e+08 2.35e+03 4.41e+09 0s
Writing constraints.: 31%|███ | 8/26 [00:00<00:00, 29.27it/s] Writing constraints.: 50%|█████ | 13/26 [00:00<00:00, 50.39it/s] Writing constraints.: 42%|████▏ | 11/26 [00:00<00:00, 23.47it/s]
30 -3.07733894e+09 -3.11568625e+09 1.58e+02 2.58e-12 2.40e+03 1s
Presolve removed 13136 rows and 2416 columns
Presolve time: 0.04s
Presolved: 10247 rows, 8304 columns, 29770 nonzeros
Concurrent LP optimizer: dual simplex and barrier
Showing barrier log only...
1 -4.30268318e+10 -7.64661025e+11 1.05e+08 4.47e+03 2.07e+09 0s
31 -3.07779760e+09 -3.11438638e+09 1.44e+02 2.19e-12 2.29e+03 1s
Ordering time: 0.02s
32 -3.07920485e+09 -3.10902279e+09 9.39e+01 1.59e-12 1.85e+03 1s
2 -2.12212912e+10 -2.31975881e+11 5.40e+07 4.57e+01 2.54e+08 0s
Barrier statistics:
Dense cols : 6
AA' NZ : 2.537e+04
Factor NZ : 1.718e+05 (roughly 9 MB of memory)
Factor Ops : 2.974e+06 (less than 1 second per iteration)
Threads : 1
33 -3.07977790e+09 -3.09731202e+09 7.21e+01 1.79e-12 1.10e+03 1s
Objective Residual
Iter Primal Dual Primal Dual Compl Time
0 3.86657403e+08 -5.83796787e+11 7.39e+08 1.53e+03 2.87e+09 0s
34 -3.08046999e+09 -3.09710732e+09 5.24e+01 2.01e-12 1.03e+03 1s
3 -3.11795895e+09 -1.04721579e+11 1.76e+06 1.55e+00 1.36e+07 0s
1 -1.44803752e+10 -5.39119189e+11 1.14e+08 2.71e+03 1.46e+09 0s
35 -3.08095005e+09 -3.09597075e+09 4.00e+01 1.15e-12 9.28e+02 1s
2 -8.22958371e+09 -1.85047452e+11 6.19e+07 4.84e+01 2.32e+08 0s
36 -3.08192185e+09 -3.09318384e+09 3.62e+00 1.32e-12 6.80e+02 1s
4 -2.98679571e+09 -3.25456123e+10 3.91e+05 1.91e-11 2.70e+06 0s
3 2.90893543e+08 -8.39080843e+10 2.20e+06 3.12e+00 1.28e+07 0s
37 -3.08213807e+09 -3.09000450e+09 1.69e+00 7.58e-13 4.75e+02 1s
38 -3.08222874e+09 -3.08963081e+09 1.32e+00 7.95e-13 4.47e+02 1s
5 -3.11609984e+09 -1.65358216e+10 1.51e+05 1.14e-11 9.94e+05 0s
4 4.88422283e+08 -2.80584251e+10 4.84e+05 1.34e-01 2.75e+06 0s
39 -3.08232497e+09 -3.08403960e+09 9.48e-01 2.96e-12 1.04e+02 1s
6 -3.23397491e+09 -9.26653563e+09 8.77e+04 4.11e-12 4.22e+05 0s
40 -3.08243112e+09 -3.08250930e+09 1.50e-01 2.58e-12 4.80e+00 1s
5 3.53159855e+08 -1.08282266e+10 1.59e+05 1.75e-02 8.56e+05 0s
41 -3.08246189e+09 -3.08246558e+09 1.08e-03 6.66e-10 2.23e-01 1s 7 -3.34410903e+09 -8.09349656e+09 6.43e+04 3.28e-12 3.23e+05 0s
Writing constraints.: 73%|███████▎ | 19/26 [00:00<00:00, 38.90it/s] Writing constraints.: 54%|█████▍ | 14/26 [00:00<00:00, 25.11it/s]
/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:226: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError.
Dim: 'name': left=['battery storage'], right=['hydrogen storage']
Resolve: `.sel(...)` / `.reindex(...)` to align
`.assign_coords(...)` to relabel one side
`linopy.align(...)` to pre-align several operands
or pass an explicit `join=` argument.
Opt in: linopy.options['semantics'] = 'v1'
Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning)
return merge(expr)
/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:567: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError.
Dim: 'name': left=['wind', 'solar'], right=['battery storage', 'electrolysis', 'hydrogen storage', 'turbine']
Resolve: `.sel(...)` / `.reindex(...)` to align
`.assign_coords(...)` to relabel one side
`linopy.align(...)` to pre-align several operands
or pass an explicit `join=` argument.
Opt in: linopy.options['semantics'] = 'v1'
Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning)
-sum(
Writing constraints.: 65%|██████▌ | 17/26 [00:00<00:00, 23.30it/s]
6 2.05488529e+08 -6.08990062e+09 1.13e+05 4.21e-12 4.73e+05 0s
42 -3.08246256e+09 -3.08246256e+09 5.53e-07 8.39e-11 1.50e-05 1s
8 -3.48295136e+09 -7.42836902e+09 4.79e+04 4.15e-12 2.63e+05 0s
9 -3.68885054e+09 -7.02357338e+09 3.43e+04 3.12e-12 2.18e+05 0s
43 -3.08246256e+09 -3.08246256e+09 1.49e-08 1.31e-10 1.50e-08 1s
7 3.31808752e+07 -3.90241021e+09 8.10e+04 2.68e-12 2.92e+05 0s
10 -3.74878351e+09 -6.95090774e+09 3.17e+04 2.75e-12 2.08e+05 0s
44 -3.08246256e+09 -3.08246256e+09 6.98e-10 1.21e-10 1.71e-12 1s
Barrier solved model in 44 iterations and 1.00 seconds (0.25 work units)
Optimal objective -3.08246256e+09
Crossover log...
8 -2.70469884e+08 -2.87088761e+09 3.06e+04 1.72e-12 1.76e+05 0s
11 -3.89087018e+09 -6.74809180e+09 2.79e+04 3.08e-12 1.85e+05 0s
12 -3.91943137e+09 -6.07139503e+09 2.34e+04 2.20e-12 1.40e+05 0s
9 -4.41518295e+08 -2.52421159e+09 2.14e+04 2.07e-12 1.38e+05 0s
10 DPushes remaining with DInf 0.0000000e+00 1s
13 -4.05813317e+09 -5.66998459e+09 1.61e+04 1.64e-12 1.04e+05 0s
10 -5.54065127e+08 -2.24649810e+09 1.57e+04 1.79e-12 1.11e+05 0s
0 DPushes remaining with DInf 0.0000000e+00 1s
1959 PPushes remaining with PInf 0.0000000e+00 1s
14 -4.26266980e+09 -5.41388827e+09 7.81e+03 1.63e-12 7.25e+04 0s
11 -6.18045580e+08 -1.81203977e+09 1.22e+04 2.03e-12 7.87e+04 0s
15 -4.33036518e+09 -4.90436092e+09 5.34e+03 8.44e-13 3.67e+04 1s
16 -4.36902423e+09 -4.81554380e+09 3.95e+03 1.26e-12 2.85e+04 1s
12 -6.25433846e+08 -1.69529397e+09 1.17e+04 1.76e-12 7.09e+04 0s
17 -4.41544162e+09 -4.63711280e+09 2.00e+03 6.71e-13 1.41e+04 1s
13 -7.05180987e+08 -1.49694578e+09 7.14e+03 1.22e-12 5.16e+04 0s
18 -4.44647361e+09 -4.53398328e+09 6.91e+02 6.95e-13 5.55e+03 1s
19 -4.46025892e+09 -4.48165422e+09 2.27e+02 1.36e-12 1.38e+03 1s
0 PPushes remaining with PInf 0.0000000e+00 1s
Push phase complete: Pinf 0.0000000e+00, Dinf 6.0254024e-11 1s
Writing constraints.: 92%|█████████▏| 24/26 [00:00<00:00, 31.58it/s]
Writing constraints.: 100%|██████████| 26/26 [00:00<00:00, 34.15it/s] Writing continuous variables.: 0%| | 0/12 [00:00<?, ?it/s] Writing constraints.: 77%|███████▋ | 20/26 [00:00<00:00, 23.33it/s]
Crossover time: 0.17 seconds (0.06 work units)
14 -7.41702256e+08 -1.27768565e+09 4.77e+03 1.59e-12 3.48e+04 0s
Solved with barrier
20 -4.46435590e+09 -4.47358878e+09 1.09e+02 1.21e-12 6.00e+02 1s
21 -4.46617830e+09 -4.46963705e+09 5.98e+01 1.38e-12 2.32e+02 1s
15 -7.76720447e+08 -1.24495444e+09 2.99e+03 2.07e-12 2.99e+04 0s
Iteration Objective Primal Inf. Dual Inf. Time
1972 -3.0824626e+09 0.000000e+00 0.000000e+00 1s
Solved in 1972 iterations and 1.20 seconds (0.31 work units)
Optimal objective -3.082462563e+09
22 -4.46809928e+09 -4.46880006e+09 6.51e+00 1.18e-12 4.48e+01 1s
16 -7.86837053e+08 -1.11946847e+09 2.50e+03 1.88e-12 2.14e+04 1s
23 -4.46834610e+09 -4.46838943e+09 1.85e-01 1.97e-12 2.68e+00 1s
24 -4.46835582e+09 -4.46835665e+09 5.21e-04 2.18e-11 5.02e-02 1s
17 -8.11986178e+08 -1.04754410e+09 1.18e+03 2.10e-12 1.48e+04 1s
25 -4.46835589e+09 -4.46835589e+09 6.83e-07 1.61e-10 7.73e-08 1s
26 -4.46835589e+09 -4.46835589e+09 3.03e-08 2.29e-10 7.73e-11 1s
Barrier solved model in 26 iterations and 0.70 seconds (0.16 work units)
Optimal objective -4.46835589e+09
18 -8.27517674e+08 -9.59833974e+08 3.58e+02 1.40e-12 8.20e+03 1s
Crossover log...
19 -8.33140417e+08 -8.76250136e+08 1.08e+02 1.50e-12 2.67e+03 1s
428 DPushes remaining with DInf 0.0000000e+00 1s
20 -8.34945800e+08 -8.62731820e+08 3.04e+01 1.86e-12 1.70e+03 1s
21 -8.35647093e+08 -8.40352367e+08 1.43e+01 1.76e-12 2.91e+02 1s
Writing continuous variables.: 50%|█████ | 6/12 [00:00<00:00, 55.47it/s] Writing constraints.: 88%|████████▊ | 23/26 [00:00<00:00, 22.83it/s] Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 66.93it/s]
Set parameter WLSAccessID
Set parameter WLSSecret
Set parameter LicenseID to value 2537914
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
22 -8.36291960e+08 -8.36443358e+08 1.08e+00 2.05e-12 9.65e+00 1s
0 DPushes remaining with DInf 0.0000000e+00 1s
2072 PPushes remaining with PInf 0.0000000e+00 1s
23 -8.36344588e+08 -8.36348280e+08 4.40e-04 2.63e-12 2.24e-01 1s
24 -8.36344937e+08 -8.36345186e+08 2.64e-05 3.63e-09 1.51e-02 1s
25 -8.36345003e+08 -8.36345003e+08 6.98e-10 4.88e-11 2.88e-07 1s
0 PPushes remaining with PInf 0.0000000e+00 1s
Push phase complete: Pinf 0.0000000e+00, Dinf 8.3645091e-11 1s
Crossover time: 0.21 seconds (0.08 work units)
Solved with barrier
26 -8.36345003e+08 -8.36345003e+08 3.49e-09 7.38e-11 2.88e-10 1s
Barrier solved model in 26 iterations and 0.79 seconds (0.16 work units)
Optimal objective -8.36345003e+08
Crossover log...
Read LP format model from file /tmp/linopy-problem-5e2fiplh.lp
Reading time = 0.12 seconds
obj: 23383 rows, 10720 columns, 44348 nonzeros
Gurobi Optimizer version 13.0.2 build v13.0.2rc1 (linux64 - "Ubuntu 24.04.5 LTS")
CPU model: AMD EPYC 7763 64-Core Processor, instruction set [SSE2|AVX|AVX2]
Thread count: 2 physical cores, 4 logical processors, using up to 4 threads
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Optimize a model with 23383 rows, 10720 columns and 44348 nonzeros (Min)
Model fingerprint: 0x661f6630
Model has 6 linear objective coefficients
Coefficient statistics:
Matrix range [1e-03, 2e+05]
Objective range [3e+01, 5e+04]
Bounds range [0e+00, 0e+00]
RHS range [5e+03, 8e+09]
Warning: Model contains large rhs
Consider reformulating model or setting NumericFocus parameter
to avoid numerical issues.
Iteration Objective Primal Inf. Dual Inf. Time
2503 -4.4683559e+09 0.000000e+00 0.000000e+00 1s
Solved in 2503 iterations and 0.94 seconds (0.25 work units)
Optimal objective -4.468355885e+09
4 DPushes remaining with DInf 0.0000000e+00 1s
0 DPushes remaining with DInf 0.0000000e+00 1s
1654 PPushes remaining with PInf 0.0000000e+00 1s
Writing constraints.: 100%|██████████| 26/26 [00:01<00:00, 21.14it/s] Writing constraints.: 100%|██████████| 26/26 [00:01<00:00, 23.26it/s] Writing continuous variables.: 0%| | 0/12 [00:00<?, ?it/s] Writing constraints.: 0%| | 0/26 [00:00<?, ?it/s] Writing continuous variables.: 42%|████▏ | 5/12 [00:00<00:00, 41.59it/s]
Presolve removed 13136 rows and 2416 columns
Presolve time: 0.09s
Presolved: 10247 rows, 8304 columns, 29770 nonzeros
Concurrent LP optimizer: dual simplex and barrier
Showing barrier log only...
0 PPushes remaining with PInf 0.0000000e+00 1s
Push phase complete: Pinf 0.0000000e+00, Dinf 5.6388672e-11 1s
Crossover time: 0.14 seconds (0.06 work units)
Solved with barrier
Ordering time: 0.03s
Iteration Objective Primal Inf. Dual Inf. Time
1661 -8.3634500e+08 0.000000e+00 0.000000e+00 1s
Solved in 1661 iterations and 0.95 seconds (0.23 work units)
Optimal objective -8.363450030e+08
Barrier statistics:
Dense cols : 6
AA' NZ : 2.537e+04
Factor NZ : 1.718e+05 (roughly 9 MB of memory)
Factor Ops : 2.974e+06 (less than 1 second per iteration)
Threads : 1
Objective Residual
Iter Primal Dual Primal Dual Compl Time
0 2.95452216e+09 -4.71260572e+11 7.39e+08 1.20e+03 2.32e+09 0s
1 3.93220700e+10 -4.08787658e+11 9.59e+07 2.34e+03 1.07e+09 0s
2 3.47034102e+10 -1.53251693e+11 5.09e+07 2.23e+01 1.73e+08 0s
3 1.43768627e+09 -6.67659705e+10 9.69e+05 1.83e-01 7.00e+06 0s
Writing constraints.: 15%|█▌ | 4/26 [00:00<00:00, 33.22it/s] Writing continuous variables.: 83%|████████▎ | 10/12 [00:00<00:00, 38.45it/s] Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 39.38it/s] Writing constraints.: 31%|███ | 8/26 [00:00<00:00, 28.13it/s]
Set parameter WLSAccessID
Set parameter WLSSecret
Set parameter LicenseID to value 2537914
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
4 9.66012278e+08 -1.79473786e+10 3.74e+05 1.11e-11 1.70e+06 0s
5 5.59503078e+08 -7.93434937e+09 1.85e+05 5.10e-12 6.59e+05 0s
6 1.06179796e+08 -5.42553667e+09 1.12e+05 4.00e-12 4.06e+05 0s
7 -1.93598089e+08 -4.67828355e+09 8.38e+04 3.98e-12 3.21e+05 0s
8 -3.06649525e+08 -4.38306919e+09 7.41e+04 3.32e-12 2.89e+05 0s
9 -4.92216547e+08 -3.65864044e+09 5.99e+04 2.63e-12 2.24e+05 0s
Read LP format model from file /tmp/linopy-problem-73v5uahj.lp
Reading time = 0.17 seconds
obj: 23383 rows, 10720 columns, 44348 nonzeros
Gurobi Optimizer version 13.0.2 build v13.0.2rc1 (linux64 - "Ubuntu 24.04.5 LTS")
CPU model: AMD EPYC 7763 64-Core Processor, instruction set [SSE2|AVX|AVX2]
Thread count: 2 physical cores, 4 logical processors, using up to 4 threads
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Optimize a model with 23383 rows, 10720 columns and 44348 nonzeros (Min)
Model fingerprint: 0x90644996
Model has 6 linear objective coefficients
Coefficient statistics:
Matrix range [1e-03, 2e+05]
Objective range [1e+02, 2e+05]
Bounds range [0e+00, 0e+00]
RHS range [5e+03, 8e+09]
Warning: Model contains large rhs
Consider reformulating model or setting NumericFocus parameter
to avoid numerical issues.
10 -5.06426824e+08 -2.97222685e+09 5.76e+04 2.55e-12 1.78e+05 1s
11 -6.40069823e+08 -2.66152480e+09 4.30e+04 2.76e-12 1.44e+05 1s
12 -6.97936151e+08 -2.48481848e+09 3.70e+04 2.89e-12 1.26e+05 1s
13 -8.16030495e+08 -2.09453277e+09 2.78e+04 1.74e-12 9.05e+04 1s
Presolve removed 13136 rows and 2416 columns
Presolve time: 0.11s
Presolved: 10247 rows, 8304 columns, 29770 nonzeros
Concurrent LP optimizer: dual simplex and barrier
Showing barrier log only...
14 -8.62636303e+08 -1.86705146e+09 2.25e+04 1.63e-12 7.11e+04 1s
15 -9.18500966e+08 -1.72038558e+09 8.18e+03 1.26e-12 5.21e+04 1s
Ordering time: 0.02s
16 -9.36854799e+08 -1.58922284e+09 7.03e+03 9.92e-13 4.25e+04 1s
Barrier statistics:
Dense cols : 6
AA' NZ : 2.537e+04
Factor NZ : 1.718e+05 (roughly 9 MB of memory)
Factor Ops : 2.974e+06 (less than 1 second per iteration)
Threads : 1
17 -9.90892996e+08 -1.18678526e+09 3.73e+03 1.65e-12 1.34e+04 1s
Objective Residual
Iter Primal Dual Primal Dual Compl Time
0 -7.82604132e+09 -9.88461261e+11 7.39e+08 2.59e+03 4.85e+09 0s
1 -2.12614966e+11 -9.44365229e+11 1.45e+08 5.28e+03 2.80e+09 0s
18 -1.02135952e+09 -1.08618811e+09 1.74e+03 1.58e-12 4.65e+03 1s
2 -2.09888754e+11 -3.03583481e+11 7.18e+07 1.37e+02 4.13e+08 0s
19 -1.03404541e+09 -1.06094155e+09 8.91e+02 1.05e-12 1.99e+03 1s
Writing constraints.: 42%|████▏ | 11/26 [00:00<00:00, 25.83it/s]/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:226: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError. Dim: 'name': left=['battery storage'], right=['hydrogen storage'] Resolve: `.sel(...)` / `.reindex(...)` to align `.assign_coords(...)` to relabel one side `linopy.align(...)` to pre-align several operands or pass an explicit `join=` argument. Opt in: linopy.options['semantics'] = 'v1' Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning) return merge(expr) Writing constraints.: 58%|█████▊ | 15/26 [00:00<00:00, 28.57it/s]/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:226: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError. Dim: 'name': left=['battery storage'], right=['hydrogen storage'] Resolve: `.sel(...)` / `.reindex(...)` to align `.assign_coords(...)` to relabel one side `linopy.align(...)` to pre-align several operands or pass an explicit `join=` argument. Opt in: linopy.options['semantics'] = 'v1' Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning) return merge(expr)
3 -2.06100179e+10 -1.43643267e+11 5.60e+06 1.22e+01 3.83e+07 0s 20 -1.03852790e+09 -1.05668529e+09 6.15e+02 1.28e-12 1.35e+03 1s 4 -5.28539361e+09 -5.91808303e+10 5.28e+05 2.70e-01 5.43e+06 0s 21 -1.04148485e+09 -1.05085783e+09 4.49e+02 1.88e-12 7.45e+02 1s 22 -1.04676853e+09 -1.04863119e+09 7.64e+01 1.67e-12 1.41e+02 1s 5 -4.32652193e+09 -2.80201278e+10 2.22e+05 4.14e-02 1.95e+06 0s 23 -1.04799752e+09 -1.04838800e+09 1.67e+01 9.42e-12 2.99e+01 1s 6 -4.01639711e+09 -1.12234861e+10 1.02e+05 5.23e-12 5.51e+05 0s 24 -1.04828397e+09 -1.04835854e+09 2.85e+00 1.23e-11 5.59e+00 1s 7 -4.02834519e+09 -6.13936776e+09 2.72e-06 4.31e-12 1.27e+05 0s 25 -1.04834276e+09 -1.04834750e+09 1.85e-01 1.46e-11 3.57e-01 1s 8 -4.25761182e+09 -5.43290842e+09 1.73e-06 2.97e-12 7.09e+04 0s 26 -1.04834693e+09 -1.04834693e+09 9.31e-05 1.46e-11 3.58e-04 1s 9 -4.27939213e+09 -5.25322092e+09 1.59e-06 3.17e-12 5.88e+04 0s
Writing constraints.: 69%|██████▉ | 18/26 [00:00<00:00, 26.48it/s] Writing constraints.: 81%|████████ | 21/26 [00:00<00:00, 24.26it/s]/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:226: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError. Dim: 'name': left=['battery storage'], right=['hydrogen storage'] Resolve: `.sel(...)` / `.reindex(...)` to align `.assign_coords(...)` to relabel one side `linopy.align(...)` to pre-align several operands or pass an explicit `join=` argument. Opt in: linopy.options['semantics'] = 'v1' Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning) return merge(expr)
27 -1.04834693e+09 -1.04834693e+09 7.52e-06 1.81e-10 6.87e-06 1s
10 -4.29628156e+09 -4.91522313e+09 1.43e-06 1.64e-12 3.73e+04 0s
28 -1.04834693e+09 -1.04834693e+09 4.42e-07 1.43e-10 6.87e-09 1s
11 -4.51110561e+09 -4.65786361e+09 1.04e-06 1.21e-12 8.85e+03 0s
Barrier solved model in 28 iterations and 0.98 seconds (0.17 work units)
Optimal objective -1.04834693e+09
Crossover log...
12 -4.54423776e+09 -4.60586103e+09 8.79e-07 1.24e-12 3.72e+03 1s
13 -4.55008382e+09 -4.58970191e+09 1.03e-06 9.65e-13 2.39e+03 1s
Warning: environment still referenced so free is deferred (Continue to use WLS)
8 DPushes remaining with DInf 0.0000000e+00 1s
14 -4.55736388e+09 -4.57371993e+09 2.04e-06 1.57e-12 9.86e+02 1s
0 DPushes remaining with DInf 0.0000000e+00 1s
1757 PPushes remaining with PInf 0.0000000e+00 1s
15 -4.56078883e+09 -4.56757607e+09 4.17e-06 1.25e-12 4.09e+02 1s
Warning: environment still referenced so free is deferred (Continue to use WLS)
16 -4.56339410e+09 -4.56432128e+09 1.09e-05 1.52e-12 5.59e+01 1s
17 -4.56385858e+09 -4.56390755e+09 1.15e-06 1.38e-12 2.95e+00 1s
Writing constraints.: 92%|█████████▏| 24/26 [00:00<00:00, 22.60it/s] Writing constraints.: 100%|██████████| 26/26 [00:01<00:00, 25.63it/s] Writing continuous variables.: 0%| | 0/12 [00:00<?, ?it/s] Writing continuous variables.: 50%|█████ | 6/12 [00:00<00:00, 53.72it/s]
18 -4.56388523e+09 -4.56389987e+09 3.82e-07 1.03e-12 8.81e-01 1s
Warning: environment still referenced so free is deferred (Continue to use WLS)
19 -4.56389883e+09 -4.56389884e+09 3.49e-09 9.87e-13 8.82e-04 1s
0 PPushes remaining with PInf 0.0000000e+00 1s
Push phase complete: Pinf 0.0000000e+00, Dinf 4.0415671e-11 1s
Crossover time: 0.20 seconds (0.06 work units)
Solved with barrier
20 -4.56389884e+09 -4.56389884e+09 5.51e-07 1.82e-11 5.93e-07 1s
Warning: environment still referenced so free is deferred (Continue to use WLS)
21 -4.56389884e+09 -4.56389884e+09 3.41e-08 7.73e-12 5.93e-10 1s
Barrier solved model in 21 iterations and 0.71 seconds (0.14 work units)
Optimal objective -4.56389884e+09
Iteration Objective Primal Inf. Dual Inf. Time
1768 -1.0483469e+09 0.000000e+00 0.000000e+00 1s
Solved in 1768 iterations and 1.22 seconds (0.23 work units)
Optimal objective -1.048346933e+09
Crossover log...
Warning: environment still referenced so free is deferred (Continue to use WLS)
14 DPushes remaining with DInf 0.0000000e+00 1s
0 DPushes remaining with DInf 0.0000000e+00 1s
663 PPushes remaining with PInf 0.0000000e+00 1s
Warning: environment still referenced so free is deferred (Continue to use WLS)
0 PPushes remaining with PInf 0.0000000e+00 1s
Push phase complete: Pinf 0.0000000e+00, Dinf 1.3386625e-11 1s
Crossover time: 0.10 seconds (0.02 work units)
Solved with barrier
Iteration Objective Primal Inf. Dual Inf. Time
680 -4.5638988e+09 0.000000e+00 0.000000e+00 1s
Solved in 680 iterations and 0.84 seconds (0.17 work units)
Optimal objective -4.563898841e+09
Set parameter WLSAccessID
Set parameter WLSSecret
Set parameter LicenseID to value 2537914
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 60.69it/s]
Read LP format model from file /tmp/linopy-problem-kafx86gm.lp
Reading time = 0.10 seconds
obj: 23383 rows, 10720 columns, 44348 nonzeros
Gurobi Optimizer version 13.0.2 build v13.0.2rc1 (linux64 - "Ubuntu 24.04.5 LTS")
CPU model: AMD EPYC 7763 64-Core Processor, instruction set [SSE2|AVX|AVX2]
Thread count: 2 physical cores, 4 logical processors, using up to 4 threads
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Optimize a model with 23383 rows, 10720 columns and 44348 nonzeros (Min)
Model fingerprint: 0xcd89daf7
Model has 6 linear objective coefficients
Coefficient statistics:
Matrix range [1e-03, 2e+05]
Objective range [1e+02, 1e+05]
Bounds range [0e+00, 0e+00]
RHS range [5e+03, 8e+09]
Warning: Model contains large rhs
Consider reformulating model or setting NumericFocus parameter
to avoid numerical issues.
Presolve removed 13136 rows and 2416 columns
Presolve time: 0.07s
Presolved: 10247 rows, 8304 columns, 29770 nonzeros
Concurrent LP optimizer: dual simplex and barrier
Showing barrier log only...
Ordering time: 0.02s
Barrier statistics:
Dense cols : 6
AA' NZ : 2.537e+04
Factor NZ : 1.718e+05 (roughly 9 MB of memory)
Factor Ops : 2.974e+06 (less than 1 second per iteration)
Threads : 1
Objective Residual
Iter Primal Dual Primal Dual Compl Time
0 -7.49171376e+09 -8.10769076e+11 7.39e+08 2.13e+03 3.98e+09 0s
1 -1.91947780e+11 -7.81055932e+11 1.41e+08 4.43e+03 2.34e+09 0s
2 -1.83102831e+11 -2.63399807e+11 7.30e+07 1.04e+02 3.65e+08 0s
/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:226: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError.
Dim: 'name': left=['battery storage'], right=['hydrogen storage']
Resolve: `.sel(...)` / `.reindex(...)` to align
`.assign_coords(...)` to relabel one side
`linopy.align(...)` to pre-align several operands
or pass an explicit `join=` argument.
Opt in: linopy.options['semantics'] = 'v1'
Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning)
return merge(expr)
/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:567: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError.
Dim: 'name': left=['wind', 'solar'], right=['battery storage', 'electrolysis', 'hydrogen storage', 'turbine']
Resolve: `.sel(...)` / `.reindex(...)` to align
`.assign_coords(...)` to relabel one side
`linopy.align(...)` to pre-align several operands
or pass an explicit `join=` argument.
Opt in: linopy.options['semantics'] = 'v1'
Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning)
-sum(
3 -1.49204683e+10 -1.14454492e+11 4.23e+06 7.93e+00 2.64e+07 0s 4 -5.78835495e+09 -4.61798580e+10 6.08e+05 9.70e-02 4.43e+06 0s 5 -4.88412937e+09 -2.31249709e+10 2.44e+05 3.43e-04 1.57e+06 0s 6 -4.63834313e+09 -9.33516148e+09 1.24e+05 8.73e-12 3.97e+05 0s 7 -4.69108487e+09 -6.96800837e+09 2.55e+04 3.37e-12 1.53e+05 0s 8 -4.85226170e+09 -6.57059470e+09 1.41e+04 3.34e-12 1.11e+05 0s 9 -4.99546959e+09 -5.82623674e+09 6.05e+03 2.58e-12 5.27e+04 0s 10 -5.09183704e+09 -5.49368863e+09 3.01e+03 1.44e-12 2.54e+04 0s 11 -5.13130679e+09 -5.35313622e+09 2.05e+03 1.28e-12 1.41e+04 0s 12 -5.13288734e+09 -5.33495709e+09 1.99e+03 1.13e-12 1.29e+04 0s 13 -5.15962740e+09 -5.31308030e+09 1.41e+03 8.72e-13 9.74e+03 0s 14 -5.17073717e+09 -5.27852150e+09 1.15e+03 1.37e-12 6.89e+03 0s
15 -5.17315058e+09 -5.26302914e+09 1.08e+03 5.65e-13 5.79e+03 0s 16 -5.20513476e+09 -5.23912520e+09 3.35e+02 9.47e-13 2.16e+03 0s 17 -5.21461966e+09 -5.22866915e+09 1.10e+02 1.38e-12 8.83e+02 0s 18 -5.21890012e+09 -5.22096831e+09 1.70e+01 1.94e-12 1.30e+02 1s 19 -5.21969521e+09 -5.21986321e+09 1.63e+00 1.47e-12 1.07e+01 1s 20 -5.21979918e+09 -5.21981069e+09 1.70e-02 1.57e-12 6.99e-01 1s 21 -5.21980142e+09 -5.21980344e+09 5.24e-04 8.86e-10 1.22e-01 1s 22 -5.21980156e+09 -5.21980157e+09 9.90e-08 3.08e-12 1.22e-04 1s 23 -5.21980156e+09 -5.21980156e+09 8.65e-06 9.01e-12 4.41e-07 1s 24 -5.21980156e+09 -5.21980156e+09 2.26e-07 3.05e-10 4.41e-10 1s Barrier solved model in 24 iterations and 0.62 seconds (0.16 work units) Optimal objective -5.21980156e+09 Crossover log...
20 DPushes remaining with DInf 0.0000000e+00 1s
0 DPushes remaining with DInf 0.0000000e+00 1s
1072 PPushes remaining with PInf 0.0000000e+00 1s
0 PPushes remaining with PInf 0.0000000e+00 1s
Push phase complete: Pinf 0.0000000e+00, Dinf 4.6100013e-11 1s
Crossover time: 0.14 seconds (0.04 work units)
Solved with barrier
Iteration Objective Primal Inf. Dual Inf. Time
1095 -5.2198016e+09 0.000000e+00 0.000000e+00 1s
Solved in 1095 iterations and 0.77 seconds (0.20 work units)
Optimal objective -5.219801564e+09
/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:226: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError.
Dim: 'name': left=['battery storage'], right=['hydrogen storage']
Resolve: `.sel(...)` / `.reindex(...)` to align
`.assign_coords(...)` to relabel one side
`linopy.align(...)` to pre-align several operands
or pass an explicit `join=` argument.
Opt in: linopy.options['semantics'] = 'v1'
Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning)
return merge(expr)
Writing constraints.: 0%| | 0/26 [00:00<?, ?it/s]
Warning: environment still referenced so free is deferred (Continue to use WLS) Warning: environment still referenced so free is deferred (Continue to use WLS)
Writing constraints.: 19%|█▉ | 5/26 [00:00<00:00, 48.93it/s]/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:226: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError.
Dim: 'name': left=['battery storage'], right=['hydrogen storage']
Resolve: `.sel(...)` / `.reindex(...)` to align
`.assign_coords(...)` to relabel one side
`linopy.align(...)` to pre-align several operands
or pass an explicit `join=` argument.
Opt in: linopy.options['semantics'] = 'v1'
Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning)
return merge(expr)
Warning: environment still referenced so free is deferred (Continue to use WLS)
Writing constraints.: 38%|███▊ | 10/26 [00:00<00:00, 27.37it/s]
Writing constraints.: 58%|█████▊ | 15/26 [00:00<00:00, 28.41it/s]
Warning: environment still referenced so free is deferred (Continue to use WLS)
/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:226: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError.
Dim: 'name': left=['battery storage'], right=['hydrogen storage']
Resolve: `.sel(...)` / `.reindex(...)` to align
`.assign_coords(...)` to relabel one side
`linopy.align(...)` to pre-align several operands
or pass an explicit `join=` argument.
Opt in: linopy.options['semantics'] = 'v1'
Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning)
return merge(expr)
Writing constraints.: 73%|███████▎ | 19/26 [00:00<00:00, 22.22it/s]
Writing constraints.: 85%|████████▍ | 22/26 [00:00<00:00, 22.50it/s]
Writing constraints.: 96%|█████████▌| 25/26 [00:01<00:00, 21.74it/s] Writing constraints.: 100%|██████████| 26/26 [00:01<00:00, 24.14it/s] Writing continuous variables.: 0%| | 0/12 [00:00<?, ?it/s]
Warning: environment still referenced so free is deferred (Continue to use WLS) Warning: environment still referenced so free is deferred (Continue to use WLS)
Writing continuous variables.: 50%|█████ | 6/12 [00:00<00:00, 54.66it/s] Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 72.80it/s]
Set parameter WLSAccessID Set parameter WLSSecret Set parameter LicenseID to value 2537914 Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Read LP format model from file /tmp/linopy-problem-955t_zc9.lp
Reading time = 0.09 seconds
obj: 23383 rows, 10720 columns, 44348 nonzeros
Gurobi Optimizer version 13.0.2 build v13.0.2rc1 (linux64 - "Ubuntu 24.04.5 LTS")
CPU model: AMD EPYC 7763 64-Core Processor, instruction set [SSE2|AVX|AVX2]
Thread count: 2 physical cores, 4 logical processors, using up to 4 threads
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Optimize a model with 23383 rows, 10720 columns and 44348 nonzeros (Min)
Model fingerprint: 0x6f8e4ff6
Model has 6 linear objective coefficients
Coefficient statistics:
Matrix range [1e-03, 2e+05]
Objective range [1e+02, 1e+05]
Bounds range [0e+00, 0e+00]
RHS range [5e+03, 8e+09]
Warning: Model contains large rhs
Consider reformulating model or setting NumericFocus parameter
to avoid numerical issues.
Presolve removed 13136 rows and 2416 columns Presolve time: 0.07s Presolved: 10247 rows, 8304 columns, 29770 nonzeros Concurrent LP optimizer: dual simplex and barrier Showing barrier log only...
Ordering time: 0.02s
Barrier statistics:
Dense cols : 6
AA' NZ : 2.537e+04
Factor NZ : 1.718e+05 (roughly 9 MB of memory)
Factor Ops : 2.974e+06 (less than 1 second per iteration)
Threads : 1
Objective Residual
Iter Primal Dual Primal Dual Compl Time
0 6.97445239e+09 -3.04044017e+11 7.39e+08 4.63e+02 1.50e+09 0s
1 1.29032746e+11 -2.77457882e+11 1.01e+08 8.53e+02 7.24e+08 0s
2 1.23677285e+11 -8.87417322e+10 5.26e+07 1.91e+01 1.07e+08 0s 3 7.12080132e+09 -3.97734668e+10 1.55e+06 8.94e-01 5.50e+06 0s
4 4.17715694e+09 -8.31362466e+09 3.46e+05 1.11e-02 1.04e+06 0s
5 3.45022310e+09 -2.79335379e+09 1.83e+05 3.49e-12 4.60e+05 0s 6 3.10329268e+09 -1.20155536e+09 1.41e+05 2.38e-12 3.12e+05 0s 7 3.12670036e+09 -9.32150625e+08 1.24e+05 2.31e-12 2.90e+05 0s
8 2.98574603e+09 3.05422968e+08 8.98e+04 1.55e-12 1.92e+05 0s 9 2.89895717e+09 5.21971823e+08 7.87e+04 1.28e-12 1.70e+05 0s 10 2.78919006e+09 1.02454013e+09 6.52e+04 1.21e-12 1.27e+05 0s 11 2.66518039e+09 1.40203446e+09 4.87e+04 9.30e-13 9.17e+04 1s
12 2.59286367e+09 1.77877036e+09 2.94e+04 7.04e-13 5.82e+04 1s 13 2.56658643e+09 2.05779685e+09 1.96e+04 4.89e-13 3.66e+04 1s
14 2.50710852e+09 2.19808910e+09 9.77e+03 4.51e-13 2.16e+04 1s 15 2.48805107e+09 2.28522728e+09 6.60e+03 4.75e-13 1.42e+04 1s 16 2.47830018e+09 2.34815794e+09 5.07e+03 4.77e-13 9.30e+03 1s
17 2.46783017e+09 2.37800203e+09 3.43e+03 3.22e-13 6.40e+03 1s 18 2.45801574e+09 2.41066236e+09 1.69e+03 4.73e-13 3.34e+03 1s 19 2.45687419e+09 2.42279691e+09 1.51e+03 5.34e-13 2.49e+03 1s 20 2.45045511e+09 2.43575825e+09 2.81e+02 3.90e-13 9.67e+02 1s
21 2.44889206e+09 2.44474700e+09 9.83e+00 6.49e-13 2.53e+02 1s 22 2.44876430e+09 2.44872277e+09 1.90e+00 8.18e-13 3.05e+00 1s 23 2.44875054e+09 2.44874256e+09 3.84e-05 4.42e-13 4.81e-01 1s
24 2.44874931e+09 2.44874833e+09 7.14e-07 5.12e-10 5.94e-02 1s 25 2.44874931e+09 2.44874931e+09 1.20e-07 7.83e-12 2.89e-05 1s 26 2.44874931e+09 2.44874931e+09 7.82e-08 8.23e-11 2.89e-08 1s 27 2.44874931e+09 2.44874931e+09 1.31e-09 7.59e-11 2.89e-11 1s Barrier solved model in 27 iterations and 0.85 seconds (0.17 work units) Optimal objective 2.44874931e+09 Crossover log...
79 DPushes remaining with DInf 0.0000000e+00 1s
0 DPushes remaining with DInf 0.0000000e+00 1s
2064 PPushes remaining with PInf 0.0000000e+00 1s
0 PPushes remaining with PInf 0.0000000e+00 1s Push phase complete: Pinf 0.0000000e+00, Dinf 6.4872552e-11 1s Crossover time: 0.18 seconds (0.08 work units) Solved with barrier Iteration Objective Primal Inf. Dual Inf. Time
2143 2.4487493e+09 0.000000e+00 0.000000e+00 1s Solved in 2143 iterations and 1.07 seconds (0.25 work units) Optimal objective 2.448749308e+09
/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:226: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError.
Dim: 'name': left=['battery storage'], right=['hydrogen storage']
Resolve: `.sel(...)` / `.reindex(...)` to align
`.assign_coords(...)` to relabel one side
`linopy.align(...)` to pre-align several operands
or pass an explicit `join=` argument.
Opt in: linopy.options['semantics'] = 'v1'
Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning)
return merge(expr)
Warning: environment still referenced so free is deferred (Continue to use WLS) Warning: environment still referenced so free is deferred (Continue to use WLS)
/home/runner/work/PyPSA/PyPSA/pypsa/network/io.py:2085: FutureWarning: pandas infers the `str` dtype for string data since its version 3.0. PyPSA still converts it back to numpy object dtype on import, but will keep it from PyPSA 2.0 on. Set `pypsa.options.api.legacy_string_dtype` explicitly to suppress this warning. new_static = _coerce_string_dtypes(new_static)
/home/runner/work/PyPSA/PyPSA/pypsa/network/io.py:2085: FutureWarning: pandas infers the `str` dtype for string data since its version 3.0. PyPSA still converts it back to numpy object dtype on import, but will keep it from PyPSA 2.0 on. Set `pypsa.options.api.legacy_string_dtype` explicitly to suppress this warning. new_static = _coerce_string_dtypes(new_static)
/home/runner/work/PyPSA/PyPSA/pypsa/network/io.py:2085: FutureWarning: pandas infers the `str` dtype for string data since its version 3.0. PyPSA still converts it back to numpy object dtype on import, but will keep it from PyPSA 2.0 on. Set `pypsa.options.api.legacy_string_dtype` explicitly to suppress this warning. new_static = _coerce_string_dtypes(new_static)
/opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/contextlib.py:85: FutureWarning: The default value of `include_objective_constant` will change from True to False in version 2.0. Set `include_objective_constant` explicitly to suppress this warning. Using False improves LP numerical conditioning by not including the objective constant as a variable. return func(*args, **kwds) /home/runner/work/PyPSA/PyPSA/pypsa/network/io.py:2085: FutureWarning: pandas infers the `str` dtype for string data since its version 3.0. PyPSA still converts it back to numpy object dtype on import, but will keep it from PyPSA 2.0 on. Set `pypsa.options.api.legacy_string_dtype` explicitly to suppress this warning. new_static = _coerce_string_dtypes(new_static)
/home/runner/work/PyPSA/PyPSA/pypsa/network/io.py:2085: FutureWarning: pandas infers the `str` dtype for string data since its version 3.0. PyPSA still converts it back to numpy object dtype on import, but will keep it from PyPSA 2.0 on. Set `pypsa.options.api.legacy_string_dtype` explicitly to suppress this warning. new_static = _coerce_string_dtypes(new_static)
/home/runner/work/PyPSA/PyPSA/pypsa/network/io.py:2085: FutureWarning: pandas infers the `str` dtype for string data since its version 3.0. PyPSA still converts it back to numpy object dtype on import, but will keep it from PyPSA 2.0 on. Set `pypsa.options.api.legacy_string_dtype` explicitly to suppress this warning. new_static = _coerce_string_dtypes(new_static)
/opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/contextlib.py:85: FutureWarning: The default value of `include_objective_constant` will change from True to False in version 2.0. Set `include_objective_constant` explicitly to suppress this warning. Using False improves LP numerical conditioning by not including the objective constant as a variable. return func(*args, **kwds)
/opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/contextlib.py:85: FutureWarning: The default value of `include_objective_constant` will change from True to False in version 2.0. Set `include_objective_constant` explicitly to suppress this warning. Using False improves LP numerical conditioning by not including the objective constant as a variable. return func(*args, **kwds) /home/runner/work/PyPSA/PyPSA/pypsa/network/io.py:2085: FutureWarning: pandas infers the `str` dtype for string data since its version 3.0. PyPSA still converts it back to numpy object dtype on import, but will keep it from PyPSA 2.0 on. Set `pypsa.options.api.legacy_string_dtype` explicitly to suppress this warning. new_static = _coerce_string_dtypes(new_static) /opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/contextlib.py:85: FutureWarning: The default value of `include_objective_constant` will change from True to False in version 2.0. Set `include_objective_constant` explicitly to suppress this warning. Using False improves LP numerical conditioning by not including the objective constant as a variable. return func(*args, **kwds)
/home/runner/work/PyPSA/PyPSA/pypsa/network/io.py:2085: FutureWarning: pandas infers the `str` dtype for string data since its version 3.0. PyPSA still converts it back to numpy object dtype on import, but will keep it from PyPSA 2.0 on. Set `pypsa.options.api.legacy_string_dtype` explicitly to suppress this warning. new_static = _coerce_string_dtypes(new_static) /opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/contextlib.py:85: FutureWarning: The default value of `include_objective_constant` will change from True to False in version 2.0. Set `include_objective_constant` explicitly to suppress this warning. Using False improves LP numerical conditioning by not including the objective constant as a variable. return func(*args, **kwds)
/opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/contextlib.py:85: FutureWarning: The default value of `include_objective_constant` will change from True to False in version 2.0. Set `include_objective_constant` explicitly to suppress this warning. Using False improves LP numerical conditioning by not including the objective constant as a variable. return func(*args, **kwds)
/opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/contextlib.py:85: FutureWarning: The default value of `include_objective_constant` will change from True to False in version 2.0. Set `include_objective_constant` explicitly to suppress this warning. Using False improves LP numerical conditioning by not including the objective constant as a variable. return func(*args, **kwds)
/opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/contextlib.py:85: FutureWarning: The default value of `include_objective_constant` will change from True to False in version 2.0. Set `include_objective_constant` explicitly to suppress this warning. Using False improves LP numerical conditioning by not including the objective constant as a variable. return func(*args, **kwds)
/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:226: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError.
Dim: 'name': left=['battery storage'], right=['hydrogen storage']
Resolve: `.sel(...)` / `.reindex(...)` to align
`.assign_coords(...)` to relabel one side
`linopy.align(...)` to pre-align several operands
or pass an explicit `join=` argument.
Opt in: linopy.options['semantics'] = 'v1'
Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning)
return merge(expr)
/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:567: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError.
Dim: 'name': left=['wind', 'solar'], right=['battery storage', 'electrolysis', 'hydrogen storage', 'turbine']
Resolve: `.sel(...)` / `.reindex(...)` to align
`.assign_coords(...)` to relabel one side
`linopy.align(...)` to pre-align several operands
or pass an explicit `join=` argument.
Opt in: linopy.options['semantics'] = 'v1'
Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning)
-sum(
Writing constraints.: 0%| | 0/26 [00:00<?, ?it/s] Writing constraints.: 27%|██▋ | 7/26 [00:00<00:00, 63.28it/s]/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:226: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError. Dim: 'name': left=['battery storage'], right=['hydrogen storage'] Resolve: `.sel(...)` / `.reindex(...)` to align `.assign_coords(...)` to relabel one side `linopy.align(...)` to pre-align several operands or pass an explicit `join=` argument. Opt in: linopy.options['semantics'] = 'v1' Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning) return merge(expr) /home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:567: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError. Dim: 'name': left=['wind', 'solar'], right=['battery storage', 'electrolysis', 'hydrogen storage', 'turbine'] Resolve: `.sel(...)` / `.reindex(...)` to align `.assign_coords(...)` to relabel one side `linopy.align(...)` to pre-align several operands or pass an explicit `join=` argument. Opt in: linopy.options['semantics'] = 'v1' Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning) -sum(
Writing constraints.: 54%|█████▍ | 14/26 [00:00<00:00, 54.70it/s] Writing constraints.: 77%|███████▋ | 20/26 [00:00<00:00, 54.66it/s]
Writing constraints.: 0%| | 0/26 [00:00<?, ?it/s] Writing constraints.: 100%|██████████| 26/26 [00:00<00:00, 48.40it/s] Writing constraints.: 100%|██████████| 26/26 [00:00<00:00, 51.12it/s] Writing continuous variables.: 0%| | 0/12 [00:00<?, ?it/s] Writing constraints.: 35%|███▍ | 9/26 [00:00<00:00, 79.04it/s] Writing continuous variables.: 83%|████████▎ | 10/12 [00:00<00:00, 98.47it/s] Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 94.79it/s]
Set parameter WLSAccessID
Set parameter WLSSecret
Set parameter LicenseID to value 2537914
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Read LP format model from file /tmp/linopy-problem-q976ds7u.lp
Reading time = 0.11 seconds
obj: 23383 rows, 10720 columns, 44348 nonzeros
Gurobi Optimizer version 13.0.2 build v13.0.2rc1 (linux64 - "Ubuntu 24.04.5 LTS")
CPU model: AMD EPYC 7763 64-Core Processor, instruction set [SSE2|AVX|AVX2]
Thread count: 2 physical cores, 4 logical processors, using up to 4 threads
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Optimize a model with 23383 rows, 10720 columns and 44348 nonzeros (Min)
Model fingerprint: 0xf9902116
Model has 6 linear objective coefficients
Coefficient statistics:
Matrix range [1e-03, 2e+05]
Objective range [4e+01, 5e+04]
Bounds range [0e+00, 0e+00]
RHS range [5e+03, 8e+09]
Warning: Model contains large rhs
Consider reformulating model or setting NumericFocus parameter
to avoid numerical issues.
Presolve removed 13136 rows and 2416 columns
Presolve time: 0.08s
Presolved: 10247 rows, 8304 columns, 29770 nonzeros
Concurrent LP optimizer: dual simplex and barrier
Showing barrier log only...
Writing constraints.: 65%|██████▌ | 17/26 [00:00<00:00, 77.94it/s] Writing constraints.: 96%|█████████▌| 25/26 [00:00<00:00, 69.72it/s] Writing constraints.: 100%|██████████| 26/26 [00:00<00:00, 72.62it/s] Writing continuous variables.: 0%| | 0/12 [00:00<?, ?it/s]
Ordering time: 0.02s
Barrier statistics:
Dense cols : 6
AA' NZ : 2.537e+04
Factor NZ : 1.718e+05 (roughly 9 MB of memory)
Factor Ops : 2.974e+06 (less than 1 second per iteration)
Threads : 1
Objective Residual
Iter Primal Dual Primal Dual Compl Time
0 -4.70725135e+09 -9.88784497e+11 7.39e+08 2.59e+03 4.85e+09 0s
Set parameter WLSAccessID
Set parameter WLSSecret
Set parameter LicenseID to value 2537914
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
1 -8.66212437e+10 -9.27826896e+11 1.17e+08 5.23e+03 2.60e+09 0s
2 -8.16274559e+10 -3.33137665e+11 6.60e+07 1.03e+02 4.42e+08 0s
3 -6.08878680e+09 -1.40106100e+11 2.61e+06 5.52e+00 2.44e+07 0s
Read LP format model from file /tmp/linopy-problem-7lvtj34g.lp
Reading time = 0.11 seconds
obj: 23383 rows, 10720 columns, 44348 nonzeros
Gurobi Optimizer version 13.0.2 build v13.0.2rc1 (linux64 - "Ubuntu 24.04.5 LTS")
CPU model: AMD EPYC 7763 64-Core Processor, instruction set [SSE2|AVX|AVX2]
Thread count: 2 physical cores, 4 logical processors, using up to 4 threads
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Optimize a model with 23383 rows, 10720 columns and 44348 nonzeros (Min)
4 -3.87126561e+09 -5.33179748e+10 5.34e+05 4.68e-02 5.03e+06 0s
Model fingerprint: 0xe2b93bb7
Model has 6 linear objective coefficients
Coefficient statistics:
Matrix range [1e-03, 2e+05]
Objective range [5e+01, 6e+04]
Bounds range [0e+00, 0e+00]
RHS range [5e+03, 8e+09]
Warning: Model contains large rhs
Consider reformulating model or setting NumericFocus parameter
to avoid numerical issues.
5 -3.58221060e+09 -2.69498662e+10 1.96e+05 1.91e-11 1.84e+06 0s
Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 135.75it/s]
6 -3.58641462e+09 -1.15545995e+10 1.02e+05 8.09e-12 5.87e+05 0s
Presolve removed 13136 rows and 2416 columns
Presolve time: 0.07s
Presolved: 10247 rows, 8304 columns, 29770 nonzeros
Concurrent LP optimizer: dual simplex and barrier
Showing barrier log only...
7 -3.70582415e+09 -7.89144949e+09 5.09e+04 4.81e-12 2.87e+05 0s
Ordering time: 0.02s
8 -3.82393145e+09 -6.40129851e+09 3.25e+04 2.77e-12 1.72e+05 0s
Barrier statistics:
Dense cols : 6
AA' NZ : 2.537e+04
Factor NZ : 1.718e+05 (roughly 9 MB of memory)
Factor Ops : 2.974e+06 (less than 1 second per iteration)
Threads : 1
9 -4.03251045e+09 -6.27300457e+09 1.77e+04 3.68e-12 1.44e+05 0s
Objective Residual
Iter Primal Dual Primal Dual Compl Time
0 3.02769858e+08 -1.01366562e+12 7.39e+08 2.65e+03 4.98e+09 0s
10 -4.17477003e+09 -5.84208176e+09 1.16e+04 2.48e-12 1.06e+05 0s
1 1.80206383e+10 -9.28286855e+11 1.06e+08 5.26e+03 2.51e+09 0s
11 -4.24113862e+09 -5.54742257e+09 9.25e+03 2.19e-12 8.30e+04 0s
2 2.22277140e+10 -3.33118430e+11 5.89e+07 8.36e+01 4.14e+08 0s
12 -4.26974322e+09 -5.52894632e+09 8.35e+03 2.06e-12 7.98e+04 0s
3 3.31515372e+08 -1.51572995e+11 1.86e+06 4.09e+00 2.11e+07 0s
4 -4.94431662e+08 -4.80492180e+10 4.47e+05 4.86e-02 4.47e+06 0s
13 -4.33927040e+09 -5.20925997e+09 5.85e+03 1.32e-12 5.51e+04 1s
5 -8.36878211e+08 -2.08333122e+10 1.47e+05 1.19e-11 1.48e+06 0s
14 -4.39393248e+09 -4.85977786e+09 3.78e+03 1.22e-12 2.97e+04 1s 6 -1.09778013e+09 -9.31853022e+09 8.77e+04 4.57e-12 5.87e+05 0s 15 -4.45468484e+09 -4.69753534e+09 1.33e+03 2.33e-12 1.52e+04 1s 7 -1.36196327e+09 -6.88305489e+09 6.37e+04 3.16e-12 3.82e+05 0s 16 -4.45857368e+09 -4.66868260e+09 1.14e+03 1.67e-12 1.31e+04 1s 8 -1.66396762e+09 -6.15689273e+09 3.09e+04 1.97e-12 2.93e+05 0s 9 -1.76900591e+09 -5.26151982e+09 2.70e+04 2.55e-12 2.29e+05 0s 17 -4.48833221e+09 -4.52508892e+09 1.37e+02 2.25e-12 2.27e+03 1s 10 -2.00088817e+09 -4.70071241e+09 2.01e+04 1.28e-12 1.76e+05 0s 11 -2.21307872e+09 -3.76492583e+09 1.31e+04 1.50e-12 1.01e+05 0s 18 -4.49284166e+09 -4.49869224e+09 2.20e+01 1.58e-12 3.62e+02 1s 12 -2.30083663e+09 -3.33949759e+09 9.60e+03 1.40e-12 6.83e+04 0s 19 -4.49397721e+09 -4.49413609e+09 9.62e-07 3.26e-12 9.57e+00 1s 13 -2.41280894e+09 -3.07323828e+09 4.81e+03 1.53e-12 4.26e+04 0s 20 -4.49399851e+09 -4.49399852e+09 3.90e-08 8.27e-12 4.44e-04 1s 14 -2.47823976e+09 -2.69219107e+09 2.28e+03 1.48e-12 1.42e+04 0s 21 -4.49399851e+09 -4.49399851e+09 7.43e-08 1.38e-11 4.44e-07 1s
/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:226: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError.
Dim: 'name': left=['battery storage'], right=['hydrogen storage']
Resolve: `.sel(...)` / `.reindex(...)` to align
`.assign_coords(...)` to relabel one side
`linopy.align(...)` to pre-align several operands
or pass an explicit `join=` argument.
Opt in: linopy.options['semantics'] = 'v1'
Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning)
return merge(expr)
/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:567: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError.
Dim: 'name': left=['wind', 'solar'], right=['battery storage', 'electrolysis', 'hydrogen storage', 'turbine']
Resolve: `.sel(...)` / `.reindex(...)` to align
`.assign_coords(...)` to relabel one side
`linopy.align(...)` to pre-align several operands
or pass an explicit `join=` argument.
Opt in: linopy.options['semantics'] = 'v1'
Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning)
-sum(
15 -2.50591152e+09 -2.61946526e+09 1.21e+03 1.53e-12 7.52e+03 0s
22 -4.49399851e+09 -4.49399851e+09 8.03e-08 1.26e-11 4.44e-10 1s
Barrier solved model in 22 iterations and 0.78 seconds (0.14 work units)
Optimal objective -4.49399851e+09
16 -2.52965820e+09 -2.55773599e+09 3.84e+02 2.62e-12 1.91e+03 1s
Crossover log...
17 -2.53789998e+09 -2.54398660e+09 1.03e+02 2.35e-12 4.24e+02 1s
18 -2.54086861e+09 -2.54147205e+09 4.99e+00 2.13e-11 3.91e+01 1s
72 DPushes remaining with DInf 0.0000000e+00 1s
19 -2.54104095e+09 -2.54110582e+09 7.66e-01 2.30e-11 4.33e+00 1s
0 DPushes remaining with DInf 0.0000000e+00 1s
2073 PPushes remaining with PInf 0.0000000e+00 1s
20 -2.54108920e+09 -2.54109644e+09 7.17e-02 1.62e-09 4.76e-01 1s
21 -2.54109553e+09 -2.54109561e+09 2.31e-04 4.89e-10 5.06e-03 1s
22 -2.54109559e+09 -2.54109559e+09 2.45e-05 1.92e-09 1.61e-05 1s
0 PPushes remaining with PInf 0.0000000e+00 1s
Push phase complete: Pinf 0.0000000e+00, Dinf 6.5938366e-11 1s
Crossover time: 0.21 seconds (0.07 work units)
Solved with barrier
23 -2.54109559e+09 -2.54109559e+09 3.63e-08 8.19e-09 1.61e-08 1s
Iteration Objective Primal Inf. Dual Inf. Time
2148 -4.4939985e+09 0.000000e+00 0.000000e+00 1s
Solved in 2148 iterations and 1.02 seconds (0.22 work units)
Optimal objective -4.493998513e+09
24 -2.54109559e+09 -2.54109559e+09 4.66e-10 3.56e-10 1.61e-11 1s
Barrier solved model in 24 iterations and 0.76 seconds (0.16 work units)
Optimal objective -2.54109559e+09
Crossover log...
98 DPushes remaining with DInf 0.0000000e+00 1s
0 DPushes remaining with DInf 0.0000000e+00 1s
2074 PPushes remaining with PInf 0.0000000e+00 1s
/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:226: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError.
Dim: 'name': left=['battery storage'], right=['hydrogen storage']
Resolve: `.sel(...)` / `.reindex(...)` to align
`.assign_coords(...)` to relabel one side
`linopy.align(...)` to pre-align several operands
or pass an explicit `join=` argument.
Opt in: linopy.options['semantics'] = 'v1'
Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning)
return merge(expr)
/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:567: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError.
Dim: 'name': left=['wind', 'solar'], right=['battery storage', 'electrolysis', 'hydrogen storage', 'turbine']
Resolve: `.sel(...)` / `.reindex(...)` to align
`.assign_coords(...)` to relabel one side
`linopy.align(...)` to pre-align several operands
or pass an explicit `join=` argument.
Opt in: linopy.options['semantics'] = 'v1'
Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning)
-sum(
0 PPushes remaining with PInf 0.0000000e+00 1s
Push phase complete: Pinf 0.0000000e+00, Dinf 6.9007910e-11 1s
Crossover time: 0.26 seconds (0.08 work units)
Solved with barrier
Iteration Objective Primal Inf. Dual Inf. Time
2175 -2.5410956e+09 0.000000e+00 0.000000e+00 1s
Solved in 2175 iterations and 1.05 seconds (0.23 work units)
Optimal objective -2.541095590e+09
Writing constraints.: 0%| | 0/26 [00:00<?, ?it/s]/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:226: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError. Dim: 'name': left=['battery storage'], right=['hydrogen storage'] Resolve: `.sel(...)` / `.reindex(...)` to align `.assign_coords(...)` to relabel one side `linopy.align(...)` to pre-align several operands or pass an explicit `join=` argument. Opt in: linopy.options['semantics'] = 'v1' Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning) return merge(expr) /home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:567: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError. Dim: 'name': left=['wind', 'solar'], right=['battery storage', 'electrolysis', 'hydrogen storage', 'turbine'] Resolve: `.sel(...)` / `.reindex(...)` to align `.assign_coords(...)` to relabel one side `linopy.align(...)` to pre-align several operands or pass an explicit `join=` argument. Opt in: linopy.options['semantics'] = 'v1' Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning) -sum( Writing constraints.: 15%|█▌ | 4/26 [00:00<00:00, 37.87it/s]
Writing constraints.: 42%|████▏ | 11/26 [00:00<00:00, 55.44it/s] Writing constraints.: 0%| | 0/26 [00:00<?, ?it/s] Writing constraints.: 65%|██████▌ | 17/26 [00:00<00:00, 56.75it/s] Writing constraints.: 12%|█▏ | 3/26 [00:00<00:00, 29.41it/s]
Writing constraints.: 88%|████████▊ | 23/26 [00:00<00:00, 51.30it/s] Writing constraints.: 0%| | 0/26 [00:00<?, ?it/s] Writing constraints.: 100%|██████████| 26/26 [00:00<00:00, 50.61it/s] Writing continuous variables.: 0%| | 0/12 [00:00<?, ?it/s] Writing constraints.: 27%|██▋ | 7/26 [00:00<00:00, 31.82it/s] Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 115.56it/s] Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 115.31it/s] Writing constraints.: 42%|████▏ | 11/26 [00:00<00:00, 33.79it/s] Writing constraints.: 19%|█▉ | 5/26 [00:00<00:00, 36.28it/s]/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:226: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError. Dim: 'name': left=['battery storage'], right=['hydrogen storage'] Resolve: `.sel(...)` / `.reindex(...)` to align `.assign_coords(...)` to relabel one side `linopy.align(...)` to pre-align several operands or pass an explicit `join=` argument. Opt in: linopy.options['semantics'] = 'v1' Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning) return merge(expr)
Set parameter WLSAccessID
Set parameter WLSSecret
Set parameter LicenseID to value 2537914
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Read LP format model from file /tmp/linopy-problem-fy5um2ke.lp
Reading time = 0.11 seconds
obj: 23383 rows, 10720 columns, 44348 nonzeros
Gurobi Optimizer version 13.0.2 build v13.0.2rc1 (linux64 - "Ubuntu 24.04.5 LTS")
CPU model: AMD EPYC 7763 64-Core Processor, instruction set [SSE2|AVX|AVX2]
Thread count: 2 physical cores, 4 logical processors, using up to 4 threads
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Optimize a model with 23383 rows, 10720 columns and 44348 nonzeros (Min)
Model fingerprint: 0xf940b484
Model has 6 linear objective coefficients
Coefficient statistics:
Matrix range [1e-03, 2e+05]
Objective range [7e+01, 8e+04]
Bounds range [0e+00, 0e+00]
RHS range [5e+03, 8e+09]
Warning: Model contains large rhs
Consider reformulating model or setting NumericFocus parameter
to avoid numerical issues.
Presolve removed 13136 rows and 2416 columns
Presolve time: 0.07s
Presolved: 10247 rows, 8304 columns, 29770 nonzeros
Concurrent LP optimizer: dual simplex and barrier
Showing barrier log only...
Writing constraints.: 62%|██████▏ | 16/26 [00:00<00:00, 37.80it/s] Writing constraints.: 35%|███▍ | 9/26 [00:00<00:00, 26.74it/s] Writing constraints.: 81%|████████ | 21/26 [00:00<00:00, 40.20it/s]/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:226: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError. Dim: 'name': left=['battery storage'], right=['hydrogen storage'] Resolve: `.sel(...)` / `.reindex(...)` to align `.assign_coords(...)` to relabel one side `linopy.align(...)` to pre-align several operands or pass an explicit `join=` argument. Opt in: linopy.options['semantics'] = 'v1' Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning) return merge(expr)
Ordering time: 0.01s
Barrier statistics:
Dense cols : 6
AA' NZ : 2.537e+04
Factor NZ : 1.718e+05 (roughly 9 MB of memory)
Factor Ops : 2.974e+06 (less than 1 second per iteration)
Threads : 1
Objective Residual
Iter Primal Dual Primal Dual Compl Time
0 3.60914841e+09 -6.97893815e+11 7.39e+08 1.82e+03 3.43e+09 0s
1 6.43990647e+10 -6.05491420e+11 9.49e+07 3.29e+03 1.58e+09 0s
2 6.04189870e+10 -2.32308114e+11 5.05e+07 3.27e+01 2.61e+08 0s
3 2.12671070e+09 -1.02791856e+11 9.96e+05 2.36e-01 1.08e+07 0s
4 1.27984638e+09 -2.87976122e+10 4.28e+05 1.66e-11 2.79e+06 0s
5 6.35341676e+08 -1.18811129e+10 1.90e+05 4.45e-12 9.58e+05 0s
6 9.73252632e+07 -8.53203519e+09 1.25e+05 4.06e-12 6.25e+05 0s
7 -3.30215796e+08 -7.52161728e+09 9.22e+04 4.14e-12 5.06e+05 0s
8 -6.86302054e+08 -6.45473899e+09 7.29e+04 3.51e-12 4.01e+05 0s
9 -9.06521167e+08 -5.10356741e+09 6.04e+04 2.31e-12 2.93e+05 0s
Writing constraints.: 46%|████▌ | 12/26 [00:00<00:00, 21.02it/s] Writing constraints.: 100%|██████████| 26/26 [00:00<00:00, 36.88it/s] Writing constraints.: 100%|██████████| 26/26 [00:00<00:00, 36.37it/s] Writing continuous variables.: 0%| | 0/12 [00:00<?, ?it/s] Writing continuous variables.: 67%|██████▋ | 8/12 [00:00<00:00, 74.38it/s] Writing constraints.: 58%|█████▊ | 15/26 [00:00<00:00, 22.20it/s] Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 69.09it/s]
10 -8.55731095e+08 -4.95961353e+09 5.85e+04 2.19e-12 2.86e+05 0s 11 -9.91891267e+08 -4.56553274e+09 5.08e+04 1.30e-12 2.48e+05 0s 12 -1.22514021e+09 -4.05802488e+09 3.45e+04 1.16e-12 1.92e+05 0s 13 -1.48423886e+09 -3.37250096e+09 2.35e+04 1.64e-12 1.28e+05 0s 14 -1.53455733e+09 -2.72107089e+09 2.12e+04 1.21e-12 8.35e+04 0s 15 -1.63057389e+09 -2.49882216e+09 9.13e+03 7.22e-13 5.72e+04 0s 16 -1.68939386e+09 -2.13985505e+09 4.85e+03 8.22e-13 2.96e+04 0s 17 -1.74936063e+09 -1.97796008e+09 1.55e+03 1.67e-12 1.45e+04 0s 18 -1.76775288e+09 -1.95092816e+09 1.12e+03 1.65e-12 1.16e+04 0s Set parameter WLSAccessID Set parameter WLSSecret Set parameter LicenseID to value 2537914 Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de 19 -1.77203105e+09 -1.90898553e+09 9.55e+02 2.64e-12 8.73e+03 0s 20 -1.77915438e+09 -1.90517593e+09 7.47e+02 2.07e-12 7.96e+03 0s 21 -1.78732896e+09 -1.86649507e+09 4.75e+02 2.12e-12 5.01e+03 1s
Writing constraints.: 69%|██████▉ | 18/26 [00:00<00:00, 21.39it/s]/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:226: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError. Dim: 'name': left=['battery storage'], right=['hydrogen storage'] Resolve: `.sel(...)` / `.reindex(...)` to align `.assign_coords(...)` to relabel one side `linopy.align(...)` to pre-align several operands or pass an explicit `join=` argument. Opt in: linopy.options['semantics'] = 'v1' Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning) return merge(expr) /home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:567: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError. Dim: 'name': left=['wind', 'solar'], right=['battery storage', 'electrolysis', 'hydrogen storage', 'turbine'] Resolve: `.sel(...)` / `.reindex(...)` to align `.assign_coords(...)` to relabel one side `linopy.align(...)` to pre-align several operands or pass an explicit `join=` argument. Opt in: linopy.options['semantics'] = 'v1' Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning) -sum( Writing constraints.: 88%|████████▊ | 23/26 [00:00<00:00, 24.68it/s]
22 -1.79368463e+09 -1.85323200e+09 2.04e+02 1.94e-12 3.69e+03 1s
23 -1.79479494e+09 -1.84513154e+09 1.50e+02 1.91e-12 3.11e+03 1s
Read LP format model from file /tmp/linopy-problem-e_keowkf.lp
Reading time = 0.09 seconds
obj: 23383 rows, 10720 columns, 44348 nonzeros
Gurobi Optimizer version 13.0.2 build v13.0.2rc1 (linux64 - "Ubuntu 24.04.5 LTS")
CPU model: AMD EPYC 7763 64-Core Processor, instruction set [SSE2|AVX|AVX2]
Thread count: 2 physical cores, 4 logical processors, using up to 4 threads
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Optimize a model with 23383 rows, 10720 columns and 44348 nonzeros (Min)
Model fingerprint: 0xf5e9877b
Model has 6 linear objective coefficients
Coefficient statistics:
Matrix range [1e-03, 2e+05]
Objective range [7e+01, 9e+04]
Bounds range [0e+00, 0e+00]
RHS range [5e+03, 8e+09]
Warning: Model contains large rhs
Consider reformulating model or setting NumericFocus parameter
to avoid numerical issues.
24 -1.79644355e+09 -1.82896786e+09 1.13e+02 1.41e-12 2.02e+03 1s
25 -1.79855881e+09 -1.81055149e+09 4.49e+01 1.70e-12 7.45e+02 1s
Presolve removed 13136 rows and 2416 columns
Presolve time: 0.05s
Presolved: 10247 rows, 8304 columns, 29770 nonzeros
Concurrent LP optimizer: dual simplex and barrier
Showing barrier log only...
26 -1.79977301e+09 -1.80190687e+09 4.31e+00 2.49e-12 1.31e+02 1s
Ordering time: 0.02s
Barrier statistics:
Dense cols : 6
AA' NZ : 2.537e+04
Factor NZ : 1.718e+05 (roughly 9 MB of memory)
Factor Ops : 2.974e+06 (less than 1 second per iteration)
Threads : 1
27 -1.79995011e+09 -1.80005600e+09 1.32e+00 1.87e-12 7.04e+00 1s
Objective Residual
Iter Primal Dual Primal Dual Compl Time
0 -1.28208978e+09 -4.84373432e+11 7.39e+08 1.27e+03 2.37e+09 0s
28 -1.80003347e+09 -1.80003470e+09 4.09e-05 1.78e-11 7.36e-02 1s
1 -8.78024837e+10 -4.57958999e+11 1.47e+08 2.20e+03 1.33e+09 0s
2 -7.75956017e+10 -1.41885965e+11 6.92e+07 6.02e+01 1.86e+08 0s
29 -1.80003410e+09 -1.80003411e+09 1.71e-08 5.62e-11 3.66e-04 1s
3 -6.95375359e+09 -6.51149697e+10 5.84e+06 5.85e+00 1.84e+07 0s
4 -3.36626014e+08 -2.52268434e+10 4.88e+05 2.91e-01 2.45e+06 0s
30 -1.80003410e+09 -1.80003410e+09 4.59e-08 3.64e-11 3.66e-07 1s
5 4.66324682e+07 -1.06785580e+10 1.99e+05 5.40e-02 8.69e+05 0s
6 1.10469930e+08 -2.61080271e+09 1.15e+05 3.44e-12 2.25e+05 0s
31 -1.80003410e+09 -1.80003410e+09 4.21e-08 3.50e-11 1.20e-11 1s
Barrier solved model in 31 iterations and 0.79 seconds (0.20 work units)
Optimal objective -1.80003410e+09
7 -1.23747429e+08 -1.14708674e+09 3.09e+04 2.03e-12 7.33e+04 0s
Crossover log...
8 -2.53708869e+08 -7.10129311e+08 1.54e+04 1.14e-12 3.23e+04 0s
9 -3.52496203e+08 -5.57793560e+08 5.50e+03 5.91e-13 1.40e+04 0s
10 -3.91357061e+08 -4.67650739e+08 1.75e+03 9.79e-13 5.08e+03 0s
8 DPushes remaining with DInf 0.0000000e+00 1s
0 DPushes remaining with DInf 0.0000000e+00 1s
1813 PPushes remaining with PInf 0.0000000e+00 1s
11 -4.07205646e+08 -4.31274831e+08 4.49e+02 1.15e-12 1.57e+03 0s
12 -4.11863962e+08 -4.19544517e+08 1.25e+02 1.21e-12 4.96e+02 0s
13 -4.13564284e+08 -4.15066961e+08 2.32e+01 1.10e-12 9.68e+01 0s
14 -4.13947009e+08 -4.14136176e+08 2.33e+00 1.09e-12 1.20e+01 0s
15 -4.13994795e+08 -4.13995298e+08 2.63e-06 8.52e-13 3.03e-02 0s
Writing constraints.: 100%|██████████| 26/26 [00:01<00:00, 24.22it/s] Writing constraints.: 100%|██████████| 26/26 [00:01<00:00, 24.02it/s] Writing continuous variables.: 0%| | 0/12 [00:00<?, ?it/s] Writing continuous variables.: 50%|█████ | 6/12 [00:00<00:00, 59.73it/s]
16 -4.13994989e+08 -4.13994990e+08 3.68e-08 1.35e-12 3.03e-05 0s
0 PPushes remaining with PInf 0.0000000e+00 1s
Push phase complete: Pinf 0.0000000e+00, Dinf 4.0756731e-11 1s
17 -4.13994989e+08 -4.13994989e+08 2.57e-07 4.55e-12 2.89e-08 0s
Crossover time: 0.20 seconds (0.06 work units)
Solved with barrier
18 -4.13994989e+08 -4.13994989e+08 1.05e-08 8.98e-12 2.89e-11 0s
Barrier solved model in 18 iterations and 0.46 seconds (0.13 work units)
Optimal objective -4.13994989e+08
Crossover log...
Iteration Objective Primal Inf. Dual Inf. Time
1824 -1.8000341e+09 0.000000e+00 0.000000e+00 1s
Solved in 1824 iterations and 1.04 seconds (0.26 work units)
Optimal objective -1.800034101e+09
12 DPushes remaining with DInf 0.0000000e+00 1s
Set parameter WLSAccessID
Set parameter WLSSecret
Set parameter LicenseID to value 2537914
0 DPushes remaining with DInf 0.0000000e+00 1s
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
710 PPushes remaining with PInf 0.0000000e+00 1s
0 PPushes remaining with PInf 0.0000000e+00 1s
Push phase complete: Pinf 0.0000000e+00, Dinf 1.1709744e-11 1s
Crossover time: 0.11 seconds (0.02 work units)
Solved with barrier
Iteration Objective Primal Inf. Dual Inf. Time
725 -4.1399499e+08 0.000000e+00 0.000000e+00 1s
Solved in 725 iterations and 0.58 seconds (0.15 work units)
Optimal objective -4.139949893e+08
Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 57.36it/s] Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 57.63it/s] /opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/contextlib.py:85: FutureWarning: The default value of `include_objective_constant` will change from True to False in version 2.0. Set `include_objective_constant` explicitly to suppress this warning. Using False improves LP numerical conditioning by not including the objective constant as a variable. return func(*args, **kwds)
Read LP format model from file /tmp/linopy-problem-59m9414j.lp
Reading time = 0.16 seconds
obj: 23383 rows, 10720 columns, 44348 nonzeros
Gurobi Optimizer version 13.0.2 build v13.0.2rc1 (linux64 - "Ubuntu 24.04.5 LTS")
CPU model: AMD EPYC 7763 64-Core Processor, instruction set [SSE2|AVX|AVX2]
Thread count: 2 physical cores, 4 logical processors, using up to 4 threads
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Optimize a model with 23383 rows, 10720 columns and 44348 nonzeros (Min)
Model fingerprint: 0x154d6ad6
Model has 6 linear objective coefficients
Coefficient statistics:
Matrix range [1e-03, 2e+05]
Objective range [1e+01, 5e+04]
Bounds range [0e+00, 0e+00]
RHS range [5e+03, 8e+09]
Warning: Model contains large rhs
Consider reformulating model or setting NumericFocus parameter
to avoid numerical issues.
Presolve removed 13136 rows and 2416 columns
Presolve time: 0.10s
Presolved: 10247 rows, 8304 columns, 29770 nonzeros
Concurrent LP optimizer: dual simplex and barrier
Showing barrier log only...
Ordering time: 0.03s
Barrier statistics:
Dense cols : 6
AA' NZ : 2.537e+04
Factor NZ : 1.718e+05 (roughly 9 MB of memory)
Factor Ops : 2.974e+06 (less than 1 second per iteration)
Threads : 1
Writing constraints.: 0%| | 0/26 [00:00<?, ?it/s]/opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/contextlib.py:85: FutureWarning: The default value of `include_objective_constant` will change from True to False in version 2.0. Set `include_objective_constant` explicitly to suppress this warning. Using False improves LP numerical conditioning by not including the objective constant as a variable. return func(*args, **kwds) Writing constraints.: 19%|█▉ | 5/26 [00:00<00:00, 44.33it/s]
Objective Residual
Iter Primal Dual Primal Dual Compl Time
0 3.61690948e+09 -2.75958766e+09 7.55e+08 0.00e+00 1.40e+07 0s
1 3.55043200e+09 -2.15469479e+09 2.83e+07 6.31e+00 1.90e+06 0s
2 2.21833676e+09 -2.95874796e+08 5.76e+06 7.10e-01 3.40e+05 0s
3 1.56524276e+09 4.68203965e+08 3.62e+06 2.08e-02 1.34e+05 0s
4 1.41958012e+09 1.08197226e+09 2.30e+06 1.39e-02 9.38e+04 0s
Writing constraints.: 42%|████▏ | 11/26 [00:00<00:00, 50.82it/s] Writing constraints.: 65%|██████▌ | 17/26 [00:00<00:00, 54.56it/s]
5 1.44803157e+09 1.37596780e+09 1.77e+06 1.19e-03 6.98e+04 0s 6 1.45492998e+09 1.41621271e+09 1.67e+06 4.02e-04 6.58e+04 0s 7 1.46221596e+09 1.47554506e+09 1.42e+06 4.57e-04 5.60e+04 0s 8 1.51136551e+09 1.58444623e+09 1.19e+06 5.05e-04 4.79e+04 1s 9 1.54401152e+09 1.60936942e+09 1.09e+06 4.71e-04 4.49e+04 1s 10 1.59260112e+09 1.72605561e+09 9.60e+05 9.95e-04 3.77e+04 1s 11 1.67774860e+09 1.78170196e+09 6.97e+05 7.42e-04 2.81e+04 1s
12 1.71777162e+09 1.80534723e+09 5.87e+05 7.12e-04 2.41e+04 1s 13 1.73376317e+09 1.83394928e+09 5.60e+05 6.33e-04 2.23e+04 1s 14 1.76073505e+09 1.84190466e+09 4.98e+05 5.74e-04 2.06e+04 1s 15 1.78983300e+09 1.87087574e+09 4.45e+05 4.82e-04 1.86e+04 1s 16 1.83675282e+09 1.90854444e+09 3.61e+05 3.97e-04 1.59e+04 1s 17 1.85195911e+09 1.96683678e+09 3.38e+05 3.07e-04 1.36e+04 1s 18 1.87620185e+09 1.99002331e+09 2.99e+05 2.40e-04 1.22e+04 1s 19 1.88750452e+09 1.99941121e+09 2.84e+05 2.21e-04 1.16e+04 1s
Writing constraints.: 88%|████████▊ | 23/26 [00:00<00:00, 41.11it/s] Writing constraints.: 100%|██████████| 26/26 [00:00<00:00, 42.01it/s] Writing continuous variables.: 0%| | 0/12 [00:00<?, ?it/s] Writing continuous variables.: 58%|█████▊ | 7/12 [00:00<00:00, 68.80it/s]
20 1.90804100e+09 2.04828011e+09 2.55e+05 1.48e-04 9.38e+03 1s 21 1.93718649e+09 2.05896925e+09 2.16e+05 1.33e-04 8.15e+03 1s 22 1.95151129e+09 2.06840226e+09 1.99e+05 7.68e-05 7.18e+03 1s 23 1.98200762e+09 2.07330567e+09 1.63e+05 4.84e-05 6.18e+03 1s 24 2.00658837e+09 2.09676260e+09 1.37e+05 1.47e-05 4.71e+03 1s Set parameter WLSAccessID Set parameter WLSSecret Set parameter LicenseID to value 2537914 Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de 25 2.02123482e+09 2.10433509e+09 1.22e+05 2.32e-11 4.14e+03 1s 26 2.03917773e+09 2.10560988e+09 1.04e+05 2.00e-11 3.83e+03 1s 27 2.04658956e+09 2.11260938e+09 9.67e+04 1.73e-11 3.46e+03 1s
Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 69.34it/s]
/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:226: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError.
Dim: 'name': left=['battery storage'], right=['hydrogen storage']
Resolve: `.sel(...)` / `.reindex(...)` to align
`.assign_coords(...)` to relabel one side
`linopy.align(...)` to pre-align several operands
or pass an explicit `join=` argument.
Opt in: linopy.options['semantics'] = 'v1'
Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning)
return merge(expr)
/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:567: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError.
Dim: 'name': left=['wind', 'solar'], right=['battery storage', 'electrolysis', 'hydrogen storage', 'turbine']
Resolve: `.sel(...)` / `.reindex(...)` to align
`.assign_coords(...)` to relabel one side
`linopy.align(...)` to pre-align several operands
or pass an explicit `join=` argument.
Opt in: linopy.options['semantics'] = 'v1'
Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning)
-sum(
28 2.05285749e+09 2.11274591e+09 9.08e+04 2.09e-11 3.35e+03 1s
29 2.06956423e+09 2.12464358e+09 7.61e+04 2.86e-11 2.66e+03 1s
30 2.07264684e+09 2.13212084e+09 7.33e+04 3.37e-11 2.25e+03 1s
Read LP format model from file /tmp/linopy-problem-3cz3s963.lp
Reading time = 0.17 seconds
obj: 23383 rows, 10720 columns, 44348 nonzeros
Gurobi Optimizer version 13.0.2 build v13.0.2rc1 (linux64 - "Ubuntu 24.04.5 LTS")
CPU model: AMD EPYC 7763 64-Core Processor, instruction set [SSE2|AVX|AVX2]
Thread count: 2 physical cores, 4 logical processors, using up to 4 threads
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Optimize a model with 23383 rows, 10720 columns and 44348 nonzeros (Min)
Model fingerprint: 0xbe290eb4
Model has 6 linear objective coefficients
Coefficient statistics:
Matrix range [1e-03, 2e+05]
Objective range [2e+01, 1e+05]
Bounds range [0e+00, 0e+00]
RHS range [5e+03, 8e+09]
Warning: Model contains large rhs
Consider reformulating model or setting NumericFocus parameter
to avoid numerical issues.
31 2.08377172e+09 2.13335077e+09 6.40e+04 4.05e-11 2.13e+03 1s
32 2.09325379e+09 2.13618399e+09 5.58e+04 3.27e-11 1.91e+03 1s
33 2.10119387e+09 2.13841232e+09 4.89e+04 3.18e-11 1.73e+03 1s
Presolve removed 13136 rows and 2416 columns
Presolve time: 0.11s
34 2.10657055e+09 2.14000088e+09 4.42e+04 4.55e-11 1.60e+03 1s
Presolved: 10247 rows, 8304 columns, 29770 nonzeros
Concurrent LP optimizer: dual simplex and barrier
Showing barrier log only...
35 2.10749600e+09 2.14274428e+09 4.34e+04 5.41e-11 1.48e+03 1s
36 2.11309253e+09 2.14362962e+09 3.84e+04 4.96e-11 1.36e+03 1s
37 2.11699749e+09 2.14782464e+09 3.50e+04 3.18e-11 1.16e+03 1s
Ordering time: 0.03s
Barrier statistics:
Dense cols : 6
AA' NZ : 2.537e+04
Factor NZ : 1.718e+05 (roughly 9 MB of memory)
Factor Ops : 2.974e+06 (less than 1 second per iteration)
Threads : 1
38 2.11958503e+09 2.14867811e+09 3.33e+04 3.96e-11 1.15e+03 1s
Objective Residual
Iter Primal Dual Primal Dual Compl Time
0 -1.62263588e+08 -1.06867055e+12 7.39e+08 2.80e+03 5.25e+09 0s
39 2.12694854e+09 2.14982939e+09 2.75e+04 2.77e-11 1.04e+03 1s
40 2.12835460e+09 2.15029218e+09 2.64e+04 2.46e-11 1.00e+03 1s
1 -1.10753177e+09 -9.29847868e+11 1.02e+08 5.39e+03 2.50e+09 0s
41 2.12852692e+09 2.15251432e+09 2.63e+04 1.36e-11 9.22e+02 1s
2 7.01182399e+09 -3.45670832e+11 5.46e+07 5.67e+01 4.05e+08 0s
42 2.13052361e+09 2.15359280e+09 2.49e+04 8.19e-12 8.92e+02 1s
43 2.13412843e+09 2.15444229e+09 2.24e+04 1.50e-11 8.54e+02 1s
44 2.14080892e+09 2.15659091e+09 1.74e+04 8.19e-12 6.65e+02 1s
3 -1.13590495e+09 -1.56164708e+11 1.17e+06 7.48e-01 1.71e+07 0s
45 2.14733804e+09 2.16050940e+09 1.25e+04 9.09e-12 3.80e+02 2s
/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:226: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError.
Dim: 'name': left=['battery storage'], right=['hydrogen storage']
Resolve: `.sel(...)` / `.reindex(...)` to align
`.assign_coords(...)` to relabel one side
`linopy.align(...)` to pre-align several operands
or pass an explicit `join=` argument.
Opt in: linopy.options['semantics'] = 'v1'
Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning)
return merge(expr)
/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:226: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError.
Dim: 'name': left=['battery storage'], right=['hydrogen storage']
Resolve: `.sel(...)` / `.reindex(...)` to align
`.assign_coords(...)` to relabel one side
`linopy.align(...)` to pre-align several operands
or pass an explicit `join=` argument.
Opt in: linopy.options['semantics'] = 'v1'
Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning)
return merge(expr)
46 2.15284480e+09 2.16098290e+09 8.48e+03 3.64e-12 3.07e+02 2s 47 2.15709472e+09 2.16335611e+09 5.42e+03 2.91e-11 1.37e+02 2s 4 -1.47917409e+09 -4.07686681e+10 3.88e+05 2.61e-11 3.60e+06 0s 48 2.15842339e+09 2.16341318e+09 4.45e+03 2.36e-11 1.22e+02 2s 49 2.15928262e+09 2.16407112e+09 3.81e+03 2.73e-12 7.81e+01 2s 5 -1.84838923e+09 -2.03895670e+10 1.58e+05 1.23e-11 1.38e+06 0s 50 2.16164498e+09 2.16436875e+09 2.11e+03 6.14e-12 3.87e+01 2s 51 2.16224541e+09 2.16439230e+09 1.67e+03 6.31e-12 3.12e+01 2s 6 -2.18168908e+09 -1.39837007e+10 9.29e+04 6.76e-12 8.24e+05 0s 52 2.16294686e+09 2.16441709e+09 1.16e+03 4.77e-12 2.35e+01 2s 53 2.16320319e+09 2.16447452e+09 9.77e+02 6.59e-12 1.81e+01 2s 7 -2.53053384e+09 -1.08940732e+10 6.44e+04 6.10e-12 5.69e+05 0s 54 2.16431682e+09 2.16448573e+09 1.65e+02 5.91e-12 5.82e+00 2s 55 2.16454057e+09 2.16454004e+09 7.70e-02 6.19e-10 3.98e-02 2s 8 -2.93343532e+09 -9.63636066e+09 4.80e+04 5.22e-12 4.48e+05 1s 56 2.16454041e+09 2.16454041e+09 3.61e-07 2.73e-12 3.98e-05 2s 57 2.16454041e+09 2.16454041e+09 1.61e-07 7.73e-12 3.90e-10 2s Barrier solved model in 57 iterations and 1.72 seconds (0.31 work units) Optimal objective 2.16454041e+09
/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:226: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError.
Dim: 'name': left=['battery storage'], right=['hydrogen storage']
Resolve: `.sel(...)` / `.reindex(...)` to align
`.assign_coords(...)` to relabel one side
`linopy.align(...)` to pre-align several operands
or pass an explicit `join=` argument.
Opt in: linopy.options['semantics'] = 'v1'
Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning)
return merge(expr)
Writing constraints.: 0%| | 0/26 [00:00<?, ?it/s]/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:567: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError.
Dim: 'name': left=['wind', 'solar'], right=['battery storage', 'electrolysis', 'hydrogen storage', 'turbine']
Resolve: `.sel(...)` / `.reindex(...)` to align
`.assign_coords(...)` to relabel one side
`linopy.align(...)` to pre-align several operands
or pass an explicit `join=` argument.
Opt in: linopy.options['semantics'] = 'v1'
Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning)
-sum(
Writing constraints.: 15%|█▌ | 4/26 [00:00<00:00, 36.34it/s]
Crossover log...
9 -3.16031590e+09 -8.32369604e+09 3.97e+04 4.26e-12 3.44e+05 1s
10 -3.27559734e+09 -7.79061912e+09 3.00e+04 3.76e-12 2.95e+05 1s
20 DPushes remaining with DInf 0.0000000e+00 2s
0 DPushes remaining with DInf 0.0000000e+00 2s
907 PPushes remaining with PInf 0.0000000e+00 2s
11 -3.73341313e+09 -6.43624401e+09 1.76e+04 3.13e-12 1.75e+05 1s
0 PPushes remaining with PInf 0.0000000e+00 2s
12 -3.84938331e+09 -6.35832437e+09 1.57e+04 3.32e-12 1.62e+05 1s
Push phase complete: Pinf 0.0000000e+00, Dinf 8.8391516e-12 2s
Crossover time: 0.13 seconds (0.03 work units)
Solved with barrier
13 -3.94310423e+09 -6.29511841e+09 1.35e+04 4.09e-12 1.51e+05 1s
Iteration Objective Primal Inf. Dual Inf. Time
930 2.1645404e+09 0.000000e+00 0.000000e+00 2s
Solved in 930 iterations and 1.89 seconds (0.35 work units)
Optimal objective 2.164540414e+09
14 -3.98366435e+09 -5.18785463e+09 8.71e+03 3.11e-12 7.85e+04 1s
Writing constraints.: 35%|███▍ | 9/26 [00:00<00:00, 41.49it/s] Writing constraints.: 62%|██████▏ | 16/26 [00:00<00:00, 53.56it/s]
15 -4.06938255e+09 -4.92980478e+09 5.92e+03 1.68e-12 5.58e+04 1s 16 -4.16136516e+09 -4.88527885e+09 3.66e+03 1.73e-12 4.61e+04 1s 17 -4.16595733e+09 -4.54335729e+09 2.91e+03 1.66e-12 2.45e+04 1s 18 -4.22562001e+09 -4.33685262e+09 1.42e+03 2.44e-12 7.52e+03 1s 19 -4.26965297e+09 -4.30250484e+09 3.67e+02 2.47e-12 2.19e+03 1s 20 -4.27941366e+09 -4.29374880e+09 1.47e+02 1.87e-12 9.46e+02 1s
Writing constraints.: 85%|████████▍ | 22/26 [00:00<00:00, 52.99it/s] Writing constraints.: 0%| | 0/26 [00:00<?, ?it/s] Writing constraints.: 100%|██████████| 26/26 [00:00<00:00, 53.60it/s] Writing continuous variables.: 0%| | 0/12 [00:00<?, ?it/s] Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 311.77it/s] Writing constraints.: 23%|██▎ | 6/26 [00:00<00:00, 55.28it/s]
21 -4.28488122e+09 -4.29100104e+09 2.67e+01 1.89e-12 3.84e+02 1s
22 -4.28496965e+09 -4.28700641e+09 2.48e+01 3.08e-12 1.37e+02 1s
23 -4.28609340e+09 -4.28628898e+09 4.23e-02 2.26e-12 1.18e+01 1s
Set parameter WLSAccessID
Set parameter WLSSecret
Set parameter LicenseID to value 2537914
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
24 -4.28610432e+09 -4.28610515e+09 3.91e-04 2.46e-10 5.02e-02 1s
25 -4.28610450e+09 -4.28610450e+09 5.54e-08 2.91e-11 5.02e-05 1s
Read LP format model from file /tmp/linopy-problem-byyvobgs.lp
Reading time = 0.10 seconds
obj: 23383 rows, 10720 columns, 44348 nonzeros
Gurobi Optimizer version 13.0.2 build v13.0.2rc1 (linux64 - "Ubuntu 24.04.5 LTS")
CPU model: AMD EPYC 7763 64-Core Processor, instruction set [SSE2|AVX|AVX2]
Thread count: 2 physical cores, 4 logical processors, using up to 4 threads
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Optimize a model with 23383 rows, 10720 columns and 44348 nonzeros (Min)
26 -4.28610450e+09 -4.28610450e+09 1.28e-08 1.72e-10 5.02e-08 1s
Model fingerprint: 0xe1262005
Model has 6 linear objective coefficients
Coefficient statistics:
Matrix range [1e-03, 2e+05]
Objective range [1e+02, 2e+05]
Bounds range [0e+00, 0e+00]
RHS range [5e+03, 8e+09]
Warning: Model contains large rhs
Consider reformulating model or setting NumericFocus parameter
to avoid numerical issues.
27 -4.28610450e+09 -4.28610450e+09 8.85e-09 9.66e-11 5.02e-11 1s
Barrier solved model in 27 iterations and 1.25 seconds (0.17 work units)
Optimal objective -4.28610450e+09
Crossover log...
Presolve removed 13136 rows and 2416 columns
Presolve time: 0.07s
Presolved: 10247 rows, 8304 columns, 29770 nonzeros
Concurrent LP optimizer: dual simplex and barrier
Showing barrier log only...
Ordering time: 0.01s
Barrier statistics:
Dense cols : 6
AA' NZ : 2.537e+04
Factor NZ : 1.718e+05 (roughly 9 MB of memory)
Factor Ops : 2.974e+06 (less than 1 second per iteration)
Threads : 1
Objective Residual
Iter Primal Dual Primal Dual Compl Time
0 -6.14214855e+09 -9.09669185e+11 7.39e+08 2.38e+03 4.46e+09 0s
8 DPushes remaining with DInf 0.0000000e+00 1s
0 DPushes remaining with DInf 0.0000000e+00 1s
1 -1.87987466e+11 -8.61558756e+11 1.46e+08 4.77e+03 2.52e+09 0s
1909 PPushes remaining with PInf 0.0000000e+00 1s
2 -1.79609035e+11 -2.71703580e+11 7.02e+07 1.14e+02 3.56e+08 0s
3 -1.61145237e+10 -1.21960649e+11 5.19e+06 1.07e+01 3.18e+07 0s
4 -3.41294910e+09 -4.94718875e+10 4.57e+05 3.22e-01 4.42e+06 0s
5 -2.54774005e+09 -2.29880324e+10 1.50e+05 6.71e-02 1.55e+06 0s
6 -2.43260196e+09 -9.32868075e+09 9.11e+04 7.36e-12 5.16e+05 0s
Writing constraints.: 46%|████▌ | 12/26 [00:00<00:00, 56.25it/s] Writing constraints.: 81%|████████ | 21/26 [00:00<00:00, 69.97it/s] Writing constraints.: 100%|██████████| 26/26 [00:00<00:00, 64.93it/s] Writing continuous variables.: 0%| | 0/12 [00:00<?, ?it/s]
7 -2.55158742e+09 -6.24214288e+09 1.61e+04 1.62e-03 2.36e+05 0s
0 PPushes remaining with PInf 0.0000000e+00 1s
Push phase complete: Pinf 0.0000000e+00, Dinf 6.7188921e-11 1s
Crossover time: 0.22 seconds (0.06 work units)
Solved with barrier
8 -2.79339718e+09 -5.17434689e+09 7.14e+03 4.57e-04 1.49e+05 0s
9 -2.90172983e+09 -4.46359440e+09 4.49e+03 9.56e-05 9.73e+04 0s
Iteration Objective Primal Inf. Dual Inf. Time
1920 -4.2861045e+09 0.000000e+00 0.000000e+00 1s
Solved in 1920 iterations and 1.50 seconds (0.23 work units)
Optimal objective -4.286104499e+09
10 -2.99525680e+09 -4.04908427e+09 2.64e+03 1.64e-12 6.53e+04 0s
11 -3.05779624e+09 -3.89273781e+09 1.79e+03 1.87e-12 5.16e+04 0s
12 -3.10631497e+09 -3.80028265e+09 1.21e+03 2.33e-12 4.28e+04 0s
13 -3.14287529e+09 -3.48505917e+09 8.05e+02 6.68e-05 2.11e+04 0s
Set parameter WLSAccessID
Set parameter WLSSecret
Set parameter LicenseID to value 2537914
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
14 -3.18918609e+09 -3.31862757e+09 3.03e+02 6.44e-13 7.99e+03 0s
15 -3.20080858e+09 -3.27744506e+09 2.01e+02 1.06e-12 4.73e+03 0s
16 -3.21514117e+09 -3.24562651e+09 7.71e+01 8.41e-13 1.88e+03 0s
17 -3.21871298e+09 -3.23508345e+09 4.72e+01 1.09e-12 1.01e+03 0s
18 -3.22415147e+09 -3.22477336e+09 6.21e-01 7.91e-13 3.79e+01 0s
Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 127.85it/s]
19 -3.22433588e+09 -3.22435155e+09 2.23e-05 1.75e-12 9.45e-01 0s
Read LP format model from file /tmp/linopy-problem-uiel1cd9.lp
Reading time = 0.10 seconds
obj: 23383 rows, 10720 columns, 44348 nonzeros
Gurobi Optimizer version 13.0.2 build v13.0.2rc1 (linux64 - "Ubuntu 24.04.5 LTS")
CPU model: AMD EPYC 7763 64-Core Processor, instruction set [SSE2|AVX|AVX2]
Thread count: 2 physical cores, 4 logical processors, using up to 4 threads
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Optimize a model with 23383 rows, 10720 columns and 44348 nonzeros (Min)
Model fingerprint: 0xd391f25d
Model has 6 linear objective coefficients
Coefficient statistics:
Matrix range [1e-03, 2e+05]
Objective range [8e+01, 1e+05]
Bounds range [0e+00, 0e+00]
RHS range [5e+03, 8e+09]
Warning: Model contains large rhs
Consider reformulating model or setting NumericFocus parameter
to avoid numerical issues.
20 -3.22434023e+09 -3.22434025e+09 1.27e-07 5.96e-11 1.25e-03 0s
21 -3.22434024e+09 -3.22434024e+09 4.49e-08 4.09e-12 1.25e-06 0s
22 -3.22434024e+09 -3.22434024e+09 3.98e-08 1.02e-11 1.25e-09 1s
Barrier solved model in 22 iterations and 0.51 seconds (0.14 work units)
Optimal objective -3.22434024e+09
Crossover log...
Presolve removed 13136 rows and 2416 columns
Presolve time: 0.07s
Presolved: 10247 rows, 8304 columns, 29770 nonzeros
Concurrent LP optimizer: dual simplex and barrier
Showing barrier log only...
2 DPushes remaining with DInf 0.0000000e+00 1s
0 DPushes remaining with DInf 0.0000000e+00 1s
Ordering time: 0.02s
679 PPushes remaining with PInf 0.0000000e+00 1s
Barrier statistics:
Dense cols : 6
AA' NZ : 2.537e+04
Factor NZ : 1.718e+05 (roughly 9 MB of memory)
Factor Ops : 2.974e+06 (less than 1 second per iteration)
Threads : 1
0 PPushes remaining with PInf 0.0000000e+00 1s
Objective Residual
Iter Primal Dual Primal Dual Compl Time
Push phase complete: Pinf 0.0000000e+00, Dinf 6.9007910e-11 1s
0 -7.06982528e+09 -7.72434230e+11 7.39e+08 2.03e+03 3.79e+09 0s
Crossover time: 0.11 seconds (0.02 work units)
Solved with barrier
1 -1.56754038e+11 -6.95858055e+11 1.29e+08 4.16e+03 2.07e+09 0s
Iteration Objective Primal Inf. Dual Inf. Time
684 -3.2243402e+09 0.000000e+00 0.000000e+00 1s
Solved in 684 iterations and 0.65 seconds (0.17 work units)
Optimal objective -3.224340239e+09
2 -1.48607845e+11 -2.49130578e+11 6.97e+07 6.69e+01 3.32e+08 0s 3 -9.93382997e+09 -1.11130394e+11 2.72e+06 2.64e+00 1.83e+07 0s 4 -5.50885787e+09 -3.84110261e+10 5.09e+05 1.32e-11 3.35e+06 0s 5 -4.85866880e+09 -1.92779960e+10 1.76e+05 7.45e-12 1.13e+06 0s 6 -4.73443539e+09 -7.91836964e+09 1.02e+05 5.93e-12 2.53e+05 0s 7 -4.65965835e+09 -6.24325697e+09 1.26e+04 2.39e-12 1.00e+05 0s 8 -4.71797102e+09 -5.68861804e+09 7.34e+03 1.82e-12 6.07e+04 0s 9 -4.77548136e+09 -5.58310430e+09 5.26e+03 2.09e-12 5.02e+04 0s
/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:226: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError.
Dim: 'name': left=['battery storage'], right=['hydrogen storage']
Resolve: `.sel(...)` / `.reindex(...)` to align
`.assign_coords(...)` to relabel one side
`linopy.align(...)` to pre-align several operands
or pass an explicit `join=` argument.
Opt in: linopy.options['semantics'] = 'v1'
Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning)
return merge(expr)
10 -4.81910634e+09 -5.52702800e+09 4.32e+03 1.65e-12 4.39e+04 0s 11 -4.88387243e+09 -5.36428231e+09 2.25e+03 1.60e-12 2.95e+04 0s 12 -4.90628287e+09 -5.27494178e+09 1.96e+03 1.12e-12 2.27e+04 0s 13 -4.94786062e+09 -5.19055171e+09 1.31e+03 9.66e-13 1.49e+04 1s 14 -4.96983974e+09 -5.14902303e+09 8.39e+02 1.45e-12 1.10e+04 1s 15 -4.99210547e+09 -5.10210275e+09 4.33e+02 9.44e-13 6.72e+03 1s 16 -4.99767833e+09 -5.06245887e+09 2.75e+02 8.72e-13 3.96e+03 1s 17 -5.00799984e+09 -5.03275011e+09 9.02e+01 1.49e-12 1.51e+03 1s
18 -5.01070999e+09 -5.01973191e+09 4.95e+01 1.26e-12 5.54e+02 1s 19 -5.01190390e+09 -5.01655260e+09 3.20e+01 1.15e-12 2.87e+02 1s 20 -5.01311218e+09 -5.01551032e+09 1.57e+01 7.50e-13 1.48e+02 1s 21 -5.01390610e+09 -5.01458800e+09 5.09e+00 1.03e-12 4.21e+01 1s 22 -5.01431195e+09 -5.01435265e+09 2.96e-01 5.00e-12 2.51e+00 1s 23 -5.01433630e+09 -5.01434062e+09 3.14e-02 1.77e-11 2.67e-01 1s 24 -5.01434009e+09 -5.01434012e+09 1.07e-04 1.64e-10 1.96e-03 1s 25 -5.01434010e+09 -5.01434010e+09 9.86e-07 1.77e-11 3.09e-08 1s
/opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/contextlib.py:85: FutureWarning: The default value of `include_objective_constant` will change from True to False in version 2.0. Set `include_objective_constant` explicitly to suppress this warning. Using False improves LP numerical conditioning by not including the objective constant as a variable. return func(*args, **kwds)
26 -5.01434010e+09 -5.01434010e+09 1.09e-08 5.76e-10 3.09e-11 1s
Barrier solved model in 26 iterations and 0.84 seconds (0.16 work units)
Optimal objective -5.01434010e+09
Crossover log...
8 DPushes remaining with DInf 0.0000000e+00 1s
0 DPushes remaining with DInf 0.0000000e+00 1s
1757 PPushes remaining with PInf 0.0000000e+00 1s
0 PPushes remaining with PInf 0.0000000e+00 1s
Push phase complete: Pinf 0.0000000e+00, Dinf 1.9717561e-11 1s
Crossover time: 0.20 seconds (0.06 work units)
Solved with barrier
/opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/contextlib.py:85: FutureWarning: The default value of `include_objective_constant` will change from True to False in version 2.0. Set `include_objective_constant` explicitly to suppress this warning. Using False improves LP numerical conditioning by not including the objective constant as a variable.
return func(*args, **kwds)
/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:226: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError.
Dim: 'name': left=['battery storage'], right=['hydrogen storage']
Resolve: `.sel(...)` / `.reindex(...)` to align
`.assign_coords(...)` to relabel one side
`linopy.align(...)` to pre-align several operands
or pass an explicit `join=` argument.
Opt in: linopy.options['semantics'] = 'v1'
Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning)
return merge(expr)
Iteration Objective Primal Inf. Dual Inf. Time
1768 -5.0143401e+09 0.000000e+00 0.000000e+00 1s
Solved in 1768 iterations and 1.07 seconds (0.22 work units)
Optimal objective -5.014340105e+09
/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:226: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError.
Dim: 'name': left=['battery storage'], right=['hydrogen storage']
Resolve: `.sel(...)` / `.reindex(...)` to align
`.assign_coords(...)` to relabel one side
`linopy.align(...)` to pre-align several operands
or pass an explicit `join=` argument.
Opt in: linopy.options['semantics'] = 'v1'
Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning)
return merge(expr)
/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:226: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError.
Dim: 'name': left=['battery storage'], right=['hydrogen storage']
Resolve: `.sel(...)` / `.reindex(...)` to align
`.assign_coords(...)` to relabel one side
`linopy.align(...)` to pre-align several operands
or pass an explicit `join=` argument.
Opt in: linopy.options['semantics'] = 'v1'
Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning)
return merge(expr)
/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:567: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError.
Dim: 'name': left=['wind', 'solar'], right=['battery storage', 'electrolysis', 'hydrogen storage', 'turbine']
Resolve: `.sel(...)` / `.reindex(...)` to align
`.assign_coords(...)` to relabel one side
`linopy.align(...)` to pre-align several operands
or pass an explicit `join=` argument.
Opt in: linopy.options['semantics'] = 'v1'
Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning)
-sum(
/opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/contextlib.py:85: FutureWarning: The default value of `include_objective_constant` will change from True to False in version 2.0. Set `include_objective_constant` explicitly to suppress this warning. Using False improves LP numerical conditioning by not including the objective constant as a variable.
return func(*args, **kwds)
/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:226: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError.
Dim: 'name': left=['battery storage'], right=['hydrogen storage']
Resolve: `.sel(...)` / `.reindex(...)` to align
`.assign_coords(...)` to relabel one side
`linopy.align(...)` to pre-align several operands
or pass an explicit `join=` argument.
Opt in: linopy.options['semantics'] = 'v1'
Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning)
return merge(expr)
Writing constraints.: 0%| | 0/26 [00:00<?, ?it/s]/opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/contextlib.py:85: FutureWarning: The default value of `include_objective_constant` will change from True to False in version 2.0. Set `include_objective_constant` explicitly to suppress this warning. Using False improves LP numerical conditioning by not including the objective constant as a variable. return func(*args, **kwds) Writing constraints.: 73%|███████▎ | 19/26 [00:00<00:00, 184.27it/s] Writing constraints.: 100%|██████████| 26/26 [00:00<00:00, 169.21it/s] Writing continuous variables.: 0%| | 0/12 [00:00<?, ?it/s] Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 295.96it/s]
Set parameter WLSAccessID
Set parameter WLSSecret
Set parameter LicenseID to value 2537914
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Read LP format model from file /tmp/linopy-problem-v3e2e7x8.lp
Reading time = 0.05 seconds
obj: 23383 rows, 10720 columns, 44348 nonzeros
Gurobi Optimizer version 13.0.2 build v13.0.2rc1 (linux64 - "Ubuntu 24.04.5 LTS")
CPU model: AMD EPYC 7763 64-Core Processor, instruction set [SSE2|AVX|AVX2]
Thread count: 2 physical cores, 4 logical processors, using up to 4 threads
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Optimize a model with 23383 rows, 10720 columns and 44348 nonzeros (Min)
Model fingerprint: 0xbe0ff6b0
Model has 6 linear objective coefficients
Coefficient statistics:
Matrix range [1e-03, 2e+05]
Objective range [1e+02, 1e+05]
Bounds range [0e+00, 0e+00]
RHS range [5e+03, 8e+09]
Warning: Model contains large rhs
Consider reformulating model or setting NumericFocus parameter
to avoid numerical issues.
Presolve removed 13136 rows and 2416 columns
Presolve time: 0.04s
Presolved: 10247 rows, 8304 columns, 29770 nonzeros
Concurrent LP optimizer: dual simplex and barrier
Showing barrier log only...
Ordering time: 0.01s
Barrier statistics:
Dense cols : 6
AA' NZ : 2.537e+04
Factor NZ : 1.718e+05 (roughly 9 MB of memory)
Factor Ops : 2.974e+06 (less than 1 second per iteration)
Threads : 1
Objective Residual
Iter Primal Dual Primal Dual Compl Time
0 5.60526403e+09 -4.66537001e+11 7.39e+08 1.22e+03 2.29e+09 0s
1 1.04734029e+11 -4.07188789e+11 9.40e+07 2.08e+03 1.06e+09 0s
2 9.18803873e+10 -1.53823789e+11 5.00e+07 2.34e+01 1.75e+08 0s
3 3.75519528e+09 -6.69499746e+10 9.13e+05 1.81e-01 7.00e+06 0s
/opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/contextlib.py:85: FutureWarning: The default value of `include_objective_constant` will change from True to False in version 2.0. Set `include_objective_constant` explicitly to suppress this warning. Using False improves LP numerical conditioning by not including the objective constant as a variable. return func(*args, **kwds)
4 2.60857256e+09 -1.74363735e+10 3.87e+05 1.34e-11 1.77e+06 0s 5 1.85241393e+09 -7.67119885e+09 1.95e+05 5.11e-12 7.22e+05 0s 6 1.24774163e+09 -5.24702128e+09 1.25e+05 3.97e-12 4.71e+05 0s 7 7.56745785e+08 -4.52907884e+09 9.31e+04 3.11e-12 3.75e+05 0s 8 4.68005728e+08 -3.52004670e+09 7.65e+04 2.85e-12 2.82e+05 0s 9 3.61105671e+08 -2.74564553e+09 5.96e+04 2.35e-12 2.17e+05 0s 10 1.59510973e+08 -2.59049935e+09 4.94e+04 2.54e-12 1.90e+05 0s 11 -4.93596229e+07 -1.96274221e+09 3.70e+04 1.64e-12 1.33e+05 0s 12 -1.20297852e+08 -1.74535041e+09 3.09e+04 1.85e-12 1.13e+05 0s 13 -2.01292869e+08 -1.05769475e+09 1.02e+04 8.28e-13 5.66e+04 0s
14 -2.64371458e+08 -9.00701862e+08 6.34e+03 9.72e-13 4.14e+04 0s 15 -2.97167004e+08 -7.36190756e+08 5.25e+03 1.00e-12 2.90e+04 0s 16 -3.07642516e+08 -6.86027440e+08 3.68e+03 3.31e-13 2.46e+04 0s 17 -3.42610910e+08 -6.39852456e+08 2.34e+03 6.74e-13 1.91e+04 0s 18 -3.58910521e+08 -5.87325442e+08 1.33e+03 4.48e-13 1.44e+04 0s 19 -3.75729927e+08 -5.46602929e+08 7.51e+02 1.20e-12 1.07e+04 1s 20 -3.84674633e+08 -5.30603938e+08 5.33e+02 5.84e-13 9.05e+03 1s 21 -3.85709027e+08 -5.01230589e+08 4.67e+02 1.12e-12 7.19e+03 1s
22 -3.94512343e+08 -4.72334467e+08 2.42e+02 9.97e-13 4.81e+03 1s
23 -3.95943113e+08 -4.37986827e+08 1.93e+02 6.55e-13 2.63e+03 1s
24 -3.99834013e+08 -4.24666262e+08 8.22e+01 1.07e-12 1.54e+03 1s
25 -4.01803089e+08 -4.19971989e+08 2.83e+01 9.49e-13 1.11e+03 1s
26 -4.02583044e+08 -4.08026156e+08 8.81e+00 1.19e-12 3.32e+02 1s
27 -4.02946161e+08 -4.05312802e+08 2.57e-01 1.14e-12 1.43e+02 1s
28 -4.02981538e+08 -4.03073433e+08 5.20e-02 4.23e-11 5.56e+00 1s
29 -4.03000375e+08 -4.03000571e+08 1.96e-04 1.46e-11 1.15e-02 1s
30 -4.03000437e+08 -4.03000437e+08 1.01e-06 1.46e-11 1.15e-05 1s
31 -4.03000437e+08 -4.03000437e+08 1.90e-07 1.23e-10 1.15e-08 1s
32 -4.03000437e+08 -4.03000437e+08 2.56e-09 1.24e-10 1.15e-11 1s
Barrier solved model in 32 iterations and 0.73 seconds (0.19 work units)
Optimal objective -4.03000437e+08
Crossover log...
12 DPushes remaining with DInf 0.0000000e+00 1s
0 DPushes remaining with DInf 0.0000000e+00 1s
1772 PPushes remaining with PInf 0.0000000e+00 1s
0 PPushes remaining with PInf 0.0000000e+00 1s
Push phase complete: Pinf 0.0000000e+00, Dinf 4.9112714e-11 1s
Crossover time: 0.11 seconds (0.06 work units)
Solved with barrier
Iteration Objective Primal Inf. Dual Inf. Time
1787 -4.0300044e+08 0.000000e+00 0.000000e+00 1s
Solved in 1787 iterations and 0.88 seconds (0.25 work units)
Optimal objective -4.030004370e+08
/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:226: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError.
Dim: 'name': left=['battery storage'], right=['hydrogen storage']
Resolve: `.sel(...)` / `.reindex(...)` to align
`.assign_coords(...)` to relabel one side
`linopy.align(...)` to pre-align several operands
or pass an explicit `join=` argument.
Opt in: linopy.options['semantics'] = 'v1'
Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning)
return merge(expr)
/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:567: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError.
Dim: 'name': left=['wind', 'solar'], right=['battery storage', 'electrolysis', 'hydrogen storage', 'turbine']
Resolve: `.sel(...)` / `.reindex(...)` to align
`.assign_coords(...)` to relabel one side
`linopy.align(...)` to pre-align several operands
or pass an explicit `join=` argument.
Opt in: linopy.options['semantics'] = 'v1'
Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning)
-sum(
/opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/contextlib.py:85: FutureWarning: The default value of `include_objective_constant` will change from True to False in version 2.0. Set `include_objective_constant` explicitly to suppress this warning. Using False improves LP numerical conditioning by not including the objective constant as a variable.
return func(*args, **kwds)
Writing constraints.: 0%| | 0/26 [00:00<?, ?it/s] Writing constraints.: 27%|██▋ | 7/26 [00:00<00:00, 64.40it/s]
Writing constraints.: 54%|█████▍ | 14/26 [00:00<00:00, 48.76it/s] Writing constraints.: 77%|███████▋ | 20/26 [00:00<00:00, 43.46it/s]
/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:226: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError.
Dim: 'name': left=['battery storage'], right=['hydrogen storage']
Resolve: `.sel(...)` / `.reindex(...)` to align
`.assign_coords(...)` to relabel one side
`linopy.align(...)` to pre-align several operands
or pass an explicit `join=` argument.
Opt in: linopy.options['semantics'] = 'v1'
Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning)
return merge(expr)
Writing constraints.: 96%|█████████▌| 25/26 [00:00<00:00, 29.90it/s]
Writing constraints.: 100%|██████████| 26/26 [00:00<00:00, 34.85it/s]
Writing continuous variables.: 0%| | 0/12 [00:00<?, ?it/s]
Writing continuous variables.: 50%|█████ | 6/12 [00:00<00:00, 58.41it/s]
Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 52.37it/s] Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 53.15it/s]
Set parameter WLSAccessID
Set parameter WLSSecret
Set parameter LicenseID to value 2537914
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Warning: environment still referenced so free is deferred (Continue to use WLS)
Read LP format model from file /tmp/linopy-problem-5lrlg90k.lp
Reading time = 0.16 seconds
obj: 23383 rows, 10720 columns, 44348 nonzeros
Gurobi Optimizer version 13.0.2 build v13.0.2rc1 (linux64 - "Ubuntu 24.04.5 LTS")
CPU model: AMD EPYC 7763 64-Core Processor, instruction set [SSE2|AVX|AVX2]
Thread count: 2 physical cores, 4 logical processors, using up to 4 threads
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Optimize a model with 23383 rows, 10720 columns and 44348 nonzeros (Min)
Model fingerprint: 0x8fb8becf
Model has 6 linear objective coefficients
Coefficient statistics:
Matrix range [1e-03, 2e+05]
Objective range [4e+01, 5e+04]
Bounds range [0e+00, 0e+00]
RHS range [5e+03, 8e+09]
Warning: Model contains large rhs
Consider reformulating model or setting NumericFocus parameter
to avoid numerical issues.
Warning: environment still referenced so free is deferred (Continue to use WLS)
Presolve removed 13136 rows and 2416 columns
Presolve time: 0.11s
Presolved: 10247 rows, 8304 columns, 29770 nonzeros
Concurrent LP optimizer: dual simplex and barrier
Showing barrier log only...
Ordering time: 0.03s
Barrier statistics:
Dense cols : 6
AA' NZ : 2.537e+04
Factor NZ : 1.718e+05 (roughly 9 MB of memory)
Factor Ops : 2.974e+06 (less than 1 second per iteration)
Threads : 1
Objective Residual
Iter Primal Dual Primal Dual Compl Time
0 -4.75503318e+09 -1.01883151e+12 7.39e+08 2.67e+03 5.00e+09 0s
1 -9.15359888e+10 -9.53769303e+11 1.18e+08 5.37e+03 2.68e+09 0s
2 -8.72712528e+10 -3.37459926e+11 6.62e+07 1.07e+02 4.47e+08 0s 3 -6.37254065e+09 -1.42001284e+11 2.74e+06 6.08e+00 2.55e+07 0s 4 -3.70943073e+09 -5.14613845e+10 4.77e+05 7.06e-02 4.69e+06 0s 5 -3.40604835e+09 -2.67858314e+10 1.57e+05 3.63e-03 1.76e+06 0s 6 -3.41212764e+09 -1.25556265e+10 9.73e+04 9.90e-12 6.72e+05 0s 7 -3.55843865e+09 -8.78132743e+09 3.72e+04 5.75e-12 3.45e+05 0s 8 -3.65323916e+09 -6.91189306e+09 2.41e+04 4.84e-12 2.11e+05 0s 9 -3.86491055e+09 -6.75103614e+09 1.35e+04 3.98e-12 1.82e+05 0s
10 -3.94499680e+09 -6.07592513e+09 1.11e+04 3.68e-12 1.34e+05 1s 11 -4.01524044e+09 -5.93219816e+09 8.80e+03 3.56e-12 1.20e+05 1s 12 -4.04884183e+09 -5.62070002e+09 8.12e+03 1.62e-12 9.88e+04 1s 13 -4.12018925e+09 -5.41010724e+09 6.99e+03 2.64e-12 8.12e+04 1s 14 -4.23122516e+09 -5.39465478e+09 3.86e+03 2.48e-12 7.20e+04 1s 15 -4.32160121e+09 -4.82946105e+09 2.34e+03 1.74e-12 3.17e+04 1s 16 -4.39541078e+09 -4.75423024e+09 1.17e+03 1.81e-12 2.22e+04 1s 17 -4.39672395e+09 -4.69670843e+09 1.15e+03 1.72e-12 1.86e+04 1s
/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:226: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError.
Dim: 'name': left=['battery storage'], right=['hydrogen storage']
Resolve: `.sel(...)` / `.reindex(...)` to align
`.assign_coords(...)` to relabel one side
`linopy.align(...)` to pre-align several operands
or pass an explicit `join=` argument.
Opt in: linopy.options['semantics'] = 'v1'
Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning)
return merge(expr)
/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:567: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError.
Dim: 'name': left=['wind', 'solar'], right=['battery storage', 'electrolysis', 'hydrogen storage', 'turbine']
Resolve: `.sel(...)` / `.reindex(...)` to align
`.assign_coords(...)` to relabel one side
`linopy.align(...)` to pre-align several operands
or pass an explicit `join=` argument.
Opt in: linopy.options['semantics'] = 'v1'
Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning)
-sum(
18 -4.40846828e+09 -4.69010192e+09 9.53e+02 2.68e-12 1.74e+04 1s 19 -4.43625867e+09 -4.62520192e+09 4.77e+02 2.20e-12 1.16e+04 1s 20 -4.44263727e+09 -4.54361838e+09 3.55e+02 1.48e-12 6.25e+03 1s 21 -4.44681255e+09 -4.53023587e+09 2.60e+02 1.73e-12 5.15e+03 1s 22 -4.45586073e+09 -4.48607964e+09 9.34e+01 2.69e-12 1.86e+03 1s 23 -4.46010332e+09 -4.46238480e+09 2.17e+01 3.13e-12 1.47e+02 1s 24 -4.46146306e+09 -4.46148748e+09 3.52e-06 2.55e-12 1.47e+00 1s 25 -4.46146935e+09 -4.46146946e+09 3.77e-09 1.01e-09 6.32e-03 1s 26 -4.46146936e+09 -4.46146936e+09 9.65e-08 5.08e-08 8.53e-06 1s 27 -4.46146936e+09 -4.46146936e+09 6.15e-08 2.00e-10 8.53e-09 1s Barrier solved model in 27 iterations and 0.90 seconds (0.17 work units) Optimal objective -4.46146936e+09 Crossover log...
5 DPushes remaining with DInf 0.0000000e+00 1s
0 DPushes remaining with DInf 0.0000000e+00 1s
2028 PPushes remaining with PInf 0.0000000e+00 1s
0 PPushes remaining with PInf 0.0000000e+00 1s
Push phase complete: Pinf 0.0000000e+00, Dinf 5.9770855e-11 1s
Crossover time: 0.15 seconds (0.06 work units)
Solved with barrier
Iteration Objective Primal Inf. Dual Inf. Time
2036 -4.4614694e+09 0.000000e+00 0.000000e+00 1s
Solved in 2036 iterations and 1.08 seconds (0.24 work units)
Optimal objective -4.461469358e+09
Writing constraints.: 0%| | 0/26 [00:00<?, ?it/s] Writing constraints.: 23%|██▎ | 6/26 [00:00<00:00, 54.53it/s]
Writing constraints.: 46%|████▌ | 12/26 [00:00<00:00, 42.14it/s] Writing constraints.: 77%|███████▋ | 20/26 [00:00<00:00, 55.59it/s]
Writing constraints.: 100%|██████████| 26/26 [00:00<00:00, 52.20it/s] Writing constraints.: 100%|██████████| 26/26 [00:00<00:00, 51.43it/s] Writing continuous variables.: 0%| | 0/12 [00:00<?, ?it/s] Writing continuous variables.: 75%|███████▌ | 9/12 [00:00<00:00, 88.97it/s]/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:226: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError. Dim: 'name': left=['battery storage'], right=['hydrogen storage'] Resolve: `.sel(...)` / `.reindex(...)` to align `.assign_coords(...)` to relabel one side `linopy.align(...)` to pre-align several operands or pass an explicit `join=` argument. Opt in: linopy.options['semantics'] = 'v1' Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning) return merge(expr) Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 86.80it/s]
Set parameter WLSAccessID
Set parameter WLSSecret
Set parameter LicenseID to value 2537914
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Warning: environment still referenced so free is deferred (Continue to use WLS)
Warning: environment still referenced so free is deferred (Continue to use WLS)
Read LP format model from file /tmp/linopy-problem-4y5uopmc.lp
Reading time = 0.18 seconds
obj: 23383 rows, 10720 columns, 44348 nonzeros
Gurobi Optimizer version 13.0.2 build v13.0.2rc1 (linux64 - "Ubuntu 24.04.5 LTS")
CPU model: AMD EPYC 7763 64-Core Processor, instruction set [SSE2|AVX|AVX2]
Thread count: 2 physical cores, 4 logical processors, using up to 4 threads
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Optimize a model with 23383 rows, 10720 columns and 44348 nonzeros (Min)
Model fingerprint: 0xf83b7980
Model has 6 linear objective coefficients
Coefficient statistics:
Matrix range [1e-03, 2e+05]
Objective range [2e+01, 1e+05]
Bounds range [0e+00, 0e+00]
RHS range [5e+03, 8e+09]
Warning: Model contains large rhs
Consider reformulating model or setting NumericFocus parameter
to avoid numerical issues.
Presolve removed 13136 rows and 2416 columns
Presolve time: 0.09s
Presolved: 10247 rows, 8304 columns, 29770 nonzeros
Concurrent LP optimizer: dual simplex and barrier
Showing barrier log only...
Ordering time: 0.02s
Barrier statistics:
Dense cols : 6
AA' NZ : 2.537e+04
Factor NZ : 1.718e+05 (roughly 9 MB of memory)
Factor Ops : 2.974e+06 (less than 1 second per iteration)
Threads : 1
Objective Residual
Iter Primal Dual Primal Dual Compl Time
0 1.70853610e+09 -2.33930572e+11 7.39e+08 2.71e+02 1.15e+09 0s
1 -1.20092137e+10 -2.16780756e+11 1.27e+08 9.70e+02 5.99e+08 0s
2 3.34174274e+09 -1.06672932e+11 6.53e+07 2.62e+02 1.96e+08 0s
3 -9.02329180e+08 -6.08536930e+10 2.48e+07 8.09e+00 6.40e+07 0s
4 1.71119335e+09 -3.69668191e+10 8.56e+05 1.91e-01 4.29e+06 0s 5 1.94143036e+09 -1.38737471e+10 3.29e+05 5.11e-03 1.39e+06 0s 6 1.98915698e+09 -9.09407209e+09 1.43e+05 4.11e-12 8.15e+05 0s 7 1.94402510e+09 -5.69962573e+09 8.83e+04 4.07e-12 5.31e+05 0s 8 1.85837439e+09 -2.63771927e+09 5.34e+04 2.38e-12 3.03e+05 0s 9 1.77861158e+09 -1.09549780e+09 3.73e+04 5.91e-12 1.90e+05 0s 10 1.71344274e+09 -5.03518463e+08 3.07e+04 1.51e-12 1.46e+05 0s 11 1.59167579e+09 -3.11694718e+08 2.38e+04 1.38e-12 1.24e+05 1s
/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:226: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError.
Dim: 'name': left=['battery storage'], right=['hydrogen storage']
Resolve: `.sel(...)` / `.reindex(...)` to align
`.assign_coords(...)` to relabel one side
`linopy.align(...)` to pre-align several operands
or pass an explicit `join=` argument.
Opt in: linopy.options['semantics'] = 'v1'
Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning)
return merge(expr)
/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:567: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError.
Dim: 'name': left=['wind', 'solar'], right=['battery storage', 'electrolysis', 'hydrogen storage', 'turbine']
Resolve: `.sel(...)` / `.reindex(...)` to align
`.assign_coords(...)` to relabel one side
`linopy.align(...)` to pre-align several operands
or pass an explicit `join=` argument.
Opt in: linopy.options['semantics'] = 'v1'
Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning)
-sum(
12 1.54577586e+09 2.69355777e+08 2.00e+04 1.04e-12 8.36e+04 1s 13 1.41228837e+09 6.15483013e+08 7.72e+03 3.64e-12 5.06e+04 1s 14 1.34925269e+09 7.83709349e+08 4.40e+03 5.91e-12 3.55e+04 1s 15 1.31985539e+09 9.44088111e+08 2.89e+03 1.23e-12 2.36e+04 1s 16 1.29702121e+09 1.02575730e+09 1.57e+03 6.40e-13 1.69e+04 1s 17 1.28605622e+09 1.06774706e+09 1.05e+03 6.58e-13 1.35e+04 1s 18 1.27426804e+09 1.16167581e+09 4.28e+02 9.52e-13 6.94e+03 1s 19 1.26927441e+09 1.18891513e+09 2.94e+02 9.13e-13 4.95e+03 1s 20 1.26767416e+09 1.20420396e+09 2.49e+02 5.00e-12 3.91e+03 1s
21 1.26564011e+09 1.21909763e+09 1.96e+02 5.23e-13 2.87e+03 1s
22 1.26125691e+09 1.22601904e+09 6.56e+01 4.82e-13 2.15e+03 1s
23 1.26022496e+09 1.24577401e+09 3.42e+01 6.95e-13 8.85e+02 1s
24 1.25954961e+09 1.25295874e+09 1.81e+01 3.13e-13 4.04e+02 1s
25 1.25894692e+09 1.25769869e+09 2.58e+00 7.50e-13 7.62e+01 1s
26 1.25880590e+09 1.25880114e+09 4.60e-03 9.09e-12 2.88e-01 1s
27 1.25880463e+09 1.25880463e+09 1.44e-07 6.54e-11 2.88e-04 1s
28 1.25880463e+09 1.25880463e+09 9.52e-08 2.96e-12 2.88e-07 1s
29 1.25880463e+09 1.25880463e+09 9.55e-08 2.02e-11 2.88e-10 1s
Barrier solved model in 29 iterations and 0.87 seconds (0.18 work units)
Optimal objective 1.25880463e+09
Crossover log...
4 DPushes remaining with DInf 0.0000000e+00 1s
0 DPushes remaining with DInf 0.0000000e+00 1s
1033 PPushes remaining with PInf 0.0000000e+00 1s
0 PPushes remaining with PInf 0.0000000e+00 1s
Push phase complete: Pinf 0.0000000e+00, Dinf 1.6939339e-11 1s
Crossover time: 0.13 seconds (0.04 work units)
Solved with barrier
Iteration Objective Primal Inf. Dual Inf. Time
1040 1.2588046e+09 0.000000e+00 0.000000e+00 1s
Solved in 1040 iterations and 1.03 seconds (0.22 work units)
Optimal objective 1.258804632e+09
Writing constraints.: 0%| | 0/26 [00:00<?, ?it/s] Writing constraints.: 35%|███▍ | 9/26 [00:00<00:00, 73.70it/s]
Writing constraints.: 65%|██████▌ | 17/26 [00:00<00:00, 67.74it/s] Writing constraints.: 92%|█████████▏| 24/26 [00:00<00:00, 54.11it/s]
Set parameter WLSAccessID Set parameter WLSSecret Set parameter LicenseID to value 2537914 Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Writing constraints.: 100%|██████████| 26/26 [00:00<00:00, 56.97it/s] Writing continuous variables.: 0%| | 0/12 [00:00<?, ?it/s] Writing continuous variables.: 75%|███████▌ | 9/12 [00:00<00:00, 87.92it/s] Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 85.46it/s]
/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:226: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError.
Dim: 'name': left=['battery storage'], right=['hydrogen storage']
Resolve: `.sel(...)` / `.reindex(...)` to align
`.assign_coords(...)` to relabel one side
`linopy.align(...)` to pre-align several operands
or pass an explicit `join=` argument.
Opt in: linopy.options['semantics'] = 'v1'
Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning)
return merge(expr)
Read LP format model from file /tmp/linopy-problem-ivrm4w90.lp
Reading time = 0.10 seconds
obj: 23383 rows, 10720 columns, 44348 nonzeros
Gurobi Optimizer version 13.0.2 build v13.0.2rc1 (linux64 - "Ubuntu 24.04.5 LTS")
CPU model: AMD EPYC 7763 64-Core Processor, instruction set [SSE2|AVX|AVX2]
Thread count: 2 physical cores, 4 logical processors, using up to 4 threads
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Optimize a model with 23383 rows, 10720 columns and 44348 nonzeros (Min)
Model fingerprint: 0x49704c30
Model has 6 linear objective coefficients
Coefficient statistics:
Matrix range [1e-03, 2e+05]
Objective range [9e+00, 5e+04]
Bounds range [0e+00, 0e+00]
RHS range [5e+03, 8e+09]
Warning: Model contains large rhs
Consider reformulating model or setting NumericFocus parameter
to avoid numerical issues.
Presolve removed 13136 rows and 2416 columns
Presolve time: 0.07s
Presolved: 10247 rows, 8304 columns, 29770 nonzeros
Concurrent LP optimizer: dual simplex and barrier
Showing barrier log only...
/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:567: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError.
Dim: 'name': left=['wind', 'solar'], right=['battery storage', 'electrolysis', 'hydrogen storage', 'turbine']
Resolve: `.sel(...)` / `.reindex(...)` to align
`.assign_coords(...)` to relabel one side
`linopy.align(...)` to pre-align several operands
or pass an explicit `join=` argument.
Opt in: linopy.options['semantics'] = 'v1'
Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning)
-sum(
/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:226: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError.
Dim: 'name': left=['battery storage'], right=['hydrogen storage']
Resolve: `.sel(...)` / `.reindex(...)` to align
`.assign_coords(...)` to relabel one side
`linopy.align(...)` to pre-align several operands
or pass an explicit `join=` argument.
Opt in: linopy.options['semantics'] = 'v1'
Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning)
return merge(expr)
Ordering time: 0.02s
Barrier statistics:
Dense cols : 6
AA' NZ : 2.537e+04
Factor NZ : 1.718e+05 (roughly 9 MB of memory)
Factor Ops : 2.974e+06 (less than 1 second per iteration)
Threads : 1
Objective Residual
Iter Primal Dual Primal Dual Compl Time
0 8.70683082e+08 -4.59490331e+11 7.39e+08 1.08e+03 2.26e+09 0s
1 -8.53518931e+09 -4.15519865e+11 1.10e+08 2.42e+03 1.16e+09 0s
2 -8.08940387e+09 -1.39163350e+11 6.01e+07 3.35e+01 1.78e+08 0s 3 -4.56087799e+08 -6.62283553e+10 2.52e+06 1.27e+00 1.08e+07 0s 4 -2.01329476e+08 -1.92754539e+10 4.84e+05 5.09e-11 1.90e+06 0s 5 -3.25836499e+08 -1.06212879e+10 1.96e+05 1.23e-11 8.14e+05 0s
6 -4.86012101e+08 -4.77715746e+09 1.41e+05 2.23e-11 3.49e+05 0s 7 -8.04837954e+08 -3.81493704e+09 7.86e+04 5.46e-12 2.26e+05 0s 8 -1.02510083e+09 -3.47732338e+09 5.92e+04 9.78e-12 1.80e+05 0s
9 -1.11105132e+09 -2.91243626e+09 4.84e+04 9.29e-12 1.32e+05 0s 10 -1.30272212e+09 -2.40951594e+09 2.64e+04 1.71e-11 7.87e+04 0s 11 -1.38066051e+09 -2.26465416e+09 1.69e+04 8.21e-12 6.08e+04 0s 12 -1.38180890e+09 -2.15638740e+09 1.45e+04 1.07e-11 5.29e+04 0s Warning: environment still referenced so free is deferred (Continue to use WLS) 13 -1.41781914e+09 -2.03888381e+09 1.19e+04 9.32e-12 4.24e+04 1s
Warning: environment still referenced so free is deferred (Continue to use WLS) 14 -1.46034548e+09 -1.85407404e+09 7.88e+03 6.82e-12 2.70e+04 1s 15 -1.49336352e+09 -1.72073022e+09 4.46e+03 2.68e-11 1.55e+04 1s 16 -1.49440486e+09 -1.69946191e+09 4.22e+03 1.82e-11 1.40e+04 1s
/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:226: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError.
Dim: 'name': left=['battery storage'], right=['hydrogen storage']
Resolve: `.sel(...)` / `.reindex(...)` to align
`.assign_coords(...)` to relabel one side
`linopy.align(...)` to pre-align several operands
or pass an explicit `join=` argument.
Opt in: linopy.options['semantics'] = 'v1'
Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning)
return merge(expr)
/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:567: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError.
Dim: 'name': left=['wind', 'solar'], right=['battery storage', 'electrolysis', 'hydrogen storage', 'turbine']
Resolve: `.sel(...)` / `.reindex(...)` to align
`.assign_coords(...)` to relabel one side
`linopy.align(...)` to pre-align several operands
or pass an explicit `join=` argument.
Opt in: linopy.options['semantics'] = 'v1'
Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning)
-sum(
Writing constraints.: 0%| | 0/26 [00:00<?, ?it/s]/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:226: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError.
Dim: 'name': left=['battery storage'], right=['hydrogen storage']
Resolve: `.sel(...)` / `.reindex(...)` to align
`.assign_coords(...)` to relabel one side
`linopy.align(...)` to pre-align several operands
or pass an explicit `join=` argument.
Opt in: linopy.options['semantics'] = 'v1'
Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning)
return merge(expr)
/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:567: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError.
Dim: 'name': left=['wind', 'solar'], right=['battery storage', 'electrolysis', 'hydrogen storage', 'turbine']
Resolve: `.sel(...)` / `.reindex(...)` to align
`.assign_coords(...)` to relabel one side
`linopy.align(...)` to pre-align several operands
or pass an explicit `join=` argument.
Opt in: linopy.options['semantics'] = 'v1'
Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning)
-sum(
Writing constraints.: 19%|█▉ | 5/26 [00:00<00:00, 41.46it/s]
17 -1.51085492e+09 -1.60471055e+09 2.49e+03 1.46e-11 6.58e+03 1s 18 -1.53091356e+09 -1.56422538e+09 6.52e+02 1.73e-11 2.24e+03 1s 19 -1.53787266e+09 -1.54297260e+09 1.06e+02 6.31e-12 3.45e+02 1s 20 -1.53923625e+09 -1.54043029e+09 2.05e+01 1.02e-11 7.92e+01 1s 21 -1.53956651e+09 -1.53959263e+09 4.30e-01 7.28e-12 1.73e+00 1s 22 -1.53958205e+09 -1.53958212e+09 3.33e-04 4.62e-10 4.46e-03 1s 23 -1.53958208e+09 -1.53958208e+09 1.28e-05 7.50e-12 4.46e-06 1s
24 -1.53958208e+09 -1.53958208e+09 3.00e-07 1.37e-10 3.16e-11 1s Barrier solved model in 24 iterations and 0.77 seconds (0.15 work units) Optimal objective -1.53958208e+09 Crossover log...
17 DPushes remaining with DInf 0.0000000e+00 1s
0 DPushes remaining with DInf 0.0000000e+00 1s
1519 PPushes remaining with PInf 0.0000000e+00 1s
0 PPushes remaining with PInf 0.0000000e+00 1s
Writing constraints.: 38%|███▊ | 10/26 [00:00<00:00, 34.78it/s] Writing constraints.: 58%|█████▊ | 15/26 [00:00<00:00, 39.52it/s]
Push phase complete: Pinf 0.0000000e+00, Dinf 4.0955683e-11 1s
Crossover time: 0.21 seconds (0.05 work units)
Solved with barrier
Iteration Objective Primal Inf. Dual Inf. Time
1539 -1.5395821e+09 0.000000e+00 0.000000e+00 1s
Solved in 1539 iterations and 1.03 seconds (0.21 work units)
Optimal objective -1.539582079e+09
Writing constraints.: 81%|████████ | 21/26 [00:00<00:00, 43.67it/s]/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:226: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError. Dim: 'name': left=['battery storage'], right=['hydrogen storage'] Resolve: `.sel(...)` / `.reindex(...)` to align `.assign_coords(...)` to relabel one side `linopy.align(...)` to pre-align several operands or pass an explicit `join=` argument. Opt in: linopy.options['semantics'] = 'v1' Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning) return merge(expr) /home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:567: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError. Dim: 'name': left=['wind', 'solar'], right=['battery storage', 'electrolysis', 'hydrogen storage', 'turbine'] Resolve: `.sel(...)` / `.reindex(...)` to align `.assign_coords(...)` to relabel one side `linopy.align(...)` to pre-align several operands or pass an explicit `join=` argument. Opt in: linopy.options['semantics'] = 'v1' Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning) -sum( Writing constraints.: 100%|██████████| 26/26 [00:00<00:00, 43.04it/s] Writing continuous variables.: 0%| | 0/12 [00:00<?, ?it/s] Writing constraints.: 0%| | 0/26 [00:00<?, ?it/s] Writing constraints.: 0%| | 0/26 [00:00<?, ?it/s]
Writing continuous variables.: 92%|█████████▏| 11/12 [00:00<00:00, 103.18it/s] Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 104.26it/s] Writing constraints.: 38%|███▊ | 10/26 [00:00<00:00, 70.40it/s] Writing constraints.: 27%|██▋ | 7/26 [00:00<00:00, 50.75it/s]
Set parameter WLSAccessID
Set parameter WLSSecret
Set parameter LicenseID to value 2537914
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Read LP format model from file /tmp/linopy-problem-dgw9rhws.lp
Reading time = 0.09 seconds
obj: 23383 rows, 10720 columns, 44348 nonzeros
Gurobi Optimizer version 13.0.2 build v13.0.2rc1 (linux64 - "Ubuntu 24.04.5 LTS")
CPU model: AMD EPYC 7763 64-Core Processor, instruction set [SSE2|AVX|AVX2]
Thread count: 2 physical cores, 4 logical processors, using up to 4 threads
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Optimize a model with 23383 rows, 10720 columns and 44348 nonzeros (Min)
Model fingerprint: 0x553fcbef
Model has 6 linear objective coefficients
Coefficient statistics:
Matrix range [1e-03, 2e+05]
Objective range [1e+02, 2e+05]
Bounds range [0e+00, 0e+00]
RHS range [5e+03, 8e+09]
Warning: Model contains large rhs
Consider reformulating model or setting NumericFocus parameter
to avoid numerical issues.
Presolve removed 13136 rows and 2416 columns
Presolve time: 0.06s
Presolved: 10247 rows, 8304 columns, 29770 nonzeros
Concurrent LP optimizer: dual simplex and barrier
Showing barrier log only...
Ordering time: 0.01s
Barrier statistics:
Dense cols : 6
AA' NZ : 2.537e+04
Factor NZ : 1.718e+05 (roughly 9 MB of memory)
Factor Ops : 2.974e+06 (less than 1 second per iteration)
Threads : 1
Objective Residual
Iter Primal Dual Primal Dual Compl Time
0 6.24033147e+09 -5.02050666e+11 7.39e+08 1.05e+03 2.47e+09 0s
1 1.41199194e+11 -4.48929465e+11 9.55e+07 2.57e+03 1.19e+09 0s 2 1.27535474e+11 -1.63140805e+11 5.24e+07 3.11e+01 1.96e+08 0s 3 5.10385528e+09 -7.40260886e+10 1.15e+06 4.83e-01 8.46e+06 0s 4 2.90568210e+09 -1.80284128e+10 3.86e+05 1.27e-11 1.82e+06 0s 5 1.91144836e+09 -8.09081217e+09 1.58e+05 6.11e-12 7.16e+05 0s 6 1.37685900e+09 -4.99198289e+09 9.48e+04 4.06e-12 4.32e+05 0s 7 1.05385397e+09 -4.12000014e+09 7.63e+04 3.28e-12 3.49e+05 0s 8 7.03083239e+08 -3.84591964e+09 6.26e+04 3.08e-12 3.04e+05 0s 9 6.85888969e+08 -2.58115248e+09 6.13e+04 2.18e-12 2.23e+05 0s 10 3.65937261e+08 -2.00462719e+09 2.05e+04 2.11e-12 1.51e+05 0s 11 1.16853958e+08 -1.76439751e+09 1.62e+04 2.05e-12 1.20e+05 0s 12 7.60842927e+07 -1.58887367e+09 1.48e+04 1.56e-12 1.06e+05 0s
Writing constraints.: 50%|█████ | 13/26 [00:00<00:00, 40.35it/s] Writing constraints.: 0%| | 0/26 [00:00<?, ?it/s] Writing constraints.: 69%|██████▉ | 18/26 [00:00<00:00, 40.25it/s] Writing constraints.: 27%|██▋ | 7/26 [00:00<00:00, 63.15it/s] Writing constraints.: 69%|██████▉ | 18/26 [00:00<00:00, 36.39it/s]
13 -1.43938781e+08 -1.43067488e+09 1.04e+04 1.29e-12 8.19e+04 0s 14 -1.75495006e+08 -1.08641596e+09 9.01e+03 1.18e-12 5.88e+04 0s
15 -2.48946992e+08 -8.54742250e+08 6.34e+03 1.66e-12 3.94e+04 0s 16 -2.90284991e+08 -7.70683091e+08 3.75e+03 1.14e-12 3.07e+04 0s 17 -3.03671975e+08 -6.35253667e+08 3.04e+03 1.17e-12 2.14e+04 0s 18 -3.18807066e+08 -6.03270354e+08 2.41e+03 1.34e-12 1.83e+04 0s 19 -3.19874672e+08 -4.71501302e+08 2.32e+03 9.93e-13 1.02e+04 0s 20 -3.27683161e+08 -3.90525897e+08 1.68e+03 1.17e-12 4.55e+03 0s 21 -3.39976974e+08 -3.80057723e+08 7.29e+02 1.40e-12 2.74e+03 1s 22 -3.46118225e+08 -3.62405972e+08 2.58e+02 1.05e-12 1.10e+03 1s
23 -3.48572059e+08 -3.52824362e+08 6.99e+01 1.35e-12 2.88e+02 1s 24 -3.49083076e+08 -3.50988117e+08 3.48e+01 1.76e-12 1.30e+02 1s 25 -3.49626402e+08 -3.49714965e+08 5.37e-07 7.91e-11 5.33e+00 1s
Writing constraints.: 54%|█████▍ | 14/26 [00:00<00:00, 51.59it/s] Writing constraints.: 88%|████████▊ | 23/26 [00:00<00:00, 29.79it/s] Writing constraints.: 88%|████████▊ | 23/26 [00:00<00:00, 26.41it/s]
26 -3.49643933e+08 -3.49644110e+08 9.22e-08 2.55e-11 1.06e-02 1s
27 -3.49643984e+08 -3.49643984e+08 1.62e-09 1.80e-11 1.06e-05 1s
28 -3.49643984e+08 -3.49643984e+08 6.87e-08 2.09e-11 2.01e-10 1s
Barrier solved model in 28 iterations and 0.71 seconds (0.18 work units)
Optimal objective -3.49643984e+08
Crossover log...
361 DPushes remaining with DInf 0.0000000e+00 1s
Set parameter WLSAccessID Set parameter WLSSecret Set parameter LicenseID to value 2537914 Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Writing constraints.: 100%|██████████| 26/26 [00:00<00:00, 32.20it/s] Writing continuous variables.: 0%| | 0/12 [00:00<?, ?it/s] Writing constraints.: 77%|███████▋ | 20/26 [00:00<00:00, 35.59it/s] Writing constraints.: 100%|██████████| 26/26 [00:00<00:00, 28.44it/s] Writing continuous variables.: 0%| | 0/12 [00:00<?, ?it/s] Writing continuous variables.: 67%|██████▋ | 8/12 [00:00<00:00, 69.80it/s] Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 74.30it/s]
0 DPushes remaining with DInf 0.0000000e+00 1s
2133 PPushes remaining with PInf 0.0000000e+00 1s
Crossover changed status from Optimal to Interrupted
Solved with dual simplex
Iteration Objective Primal Inf. Dual Inf. Time
Read LP format model from file /tmp/linopy-problem-pyriizzp.lp
Reading time = 0.11 seconds
obj: 23383 rows, 10720 columns, 44348 nonzeros
Gurobi Optimizer version 13.0.2 build v13.0.2rc1 (linux64 - "Ubuntu 24.04.5 LTS")
CPU model: AMD EPYC 7763 64-Core Processor, instruction set [SSE2|AVX|AVX2]
Thread count: 2 physical cores, 4 logical processors, using up to 4 threads
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Optimize a model with 23383 rows, 10720 columns and 44348 nonzeros (Min)
Model fingerprint: 0xa60c0229
Model has 6 linear objective coefficients
Coefficient statistics:
Matrix range [1e-03, 2e+05]
Objective range [5e+01, 6e+04]
Bounds range [0e+00, 0e+00]
RHS range [5e+03, 8e+09]
Warning: Model contains large rhs
Consider reformulating model or setting NumericFocus parameter
to avoid numerical issues.
5736 -3.4964398e+08 0.000000e+00 0.000000e+00 1s
Solved in 5736 iterations and 0.94 seconds (0.71 work units)
Optimal objective -3.496439842e+08
Set parameter WLSAccessID
Set parameter WLSSecret
Set parameter LicenseID to value 2537914
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Presolve removed 13136 rows and 2416 columns
Presolve time: 0.07s
Presolved: 10247 rows, 8304 columns, 29770 nonzeros
Concurrent LP optimizer: dual simplex and barrier
Showing barrier log only...
Ordering time: 0.02s Set parameter WLSAccessID Set parameter WLSSecret Set parameter LicenseID to value 2537914
Writing continuous variables.: 58%|█████▊ | 7/12 [00:00<00:00, 59.85it/s] Writing constraints.: 96%|█████████▌| 25/26 [00:00<00:00, 30.50it/s] Writing constraints.: 100%|██████████| 26/26 [00:00<00:00, 35.77it/s] Writing continuous variables.: 0%| | 0/12 [00:00<?, ?it/s]/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:226: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError. Dim: 'name': left=['battery storage'], right=['hydrogen storage'] Resolve: `.sel(...)` / `.reindex(...)` to align `.assign_coords(...)` to relabel one side `linopy.align(...)` to pre-align several operands or pass an explicit `join=` argument. Opt in: linopy.options['semantics'] = 'v1' Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning) return merge(expr) Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 49.56it/s] Writing continuous variables.: 67%|██████▋ | 8/12 [00:00<00:00, 77.89it/s] Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 85.42it/s]
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Barrier statistics:
Dense cols : 6
AA' NZ : 2.537e+04
Factor NZ : 1.718e+05 (roughly 9 MB of memory)
Factor Ops : 2.974e+06 (less than 1 second per iteration)
Threads : 1
Objective Residual
Iter Primal Dual Primal Dual Compl Time
0 -5.95830342e+08 -3.92256847e+11 7.39e+08 7.88e+02 1.92e+09 0s
1 -5.23131484e+10 -3.76642717e+11 1.33e+08 2.11e+03 1.09e+09 0s
Read LP format model from file /tmp/linopy-problem-kn70fpam.lp
Reading time = 0.11 seconds
obj: 23383 rows, 10720 columns, 44348 nonzeros
Gurobi Optimizer version 13.0.2 build v13.0.2rc1 (linux64 - "Ubuntu 24.04.5 LTS")
CPU model: AMD EPYC 7763 64-Core Processor, instruction set [SSE2|AVX|AVX2]
Thread count: 2 physical cores, 4 logical processors, using up to 4 threads
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Optimize a model with 23383 rows, 10720 columns and 44348 nonzeros (Min)
Model fingerprint: 0x67b731b1
Model has 6 linear objective coefficients
Coefficient statistics:
Matrix range [1e-03, 2e+05]
Objective range [9e+01, 1e+05]
Bounds range [0e+00, 0e+00]
RHS range [5e+03, 8e+09]
Warning: Model contains large rhs
Consider reformulating model or setting NumericFocus parameter
to avoid numerical issues.
2 -4.97385633e+10 -1.19085857e+11 6.76e+07 4.78e+01 1.60e+08 0s
3 -4.65164669e+09 -5.66156771e+10 5.57e+06 4.23e+00 1.56e+07 0s
Read LP format model from file /tmp/linopy-problem-k0nubpnx.lp
Reading time = 0.13 seconds
obj: 23383 rows, 10720 columns, 44348 nonzeros
Gurobi Optimizer version 13.0.2 build v13.0.2rc1 (linux64 - "Ubuntu 24.04.5 LTS")
CPU model: AMD EPYC 7763 64-Core Processor, instruction set [SSE2|AVX|AVX2]
Thread count: 2 physical cores, 4 logical processors, using up to 4 threads
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Optimize a model with 23383 rows, 10720 columns and 44348 nonzeros (Min)
Model fingerprint: 0x410a4430
Model has 6 linear objective coefficients
Coefficient statistics:
Matrix range [1e-03, 2e+05]
Objective range [1e+02, 2e+05]
Bounds range [0e+00, 0e+00]
RHS range [5e+03, 8e+09]
Warning: Model contains large rhs
Consider reformulating model or setting NumericFocus parameter
to avoid numerical issues.
Presolve removed 13136 rows and 2416 columns
Presolve time: 0.07s
Presolved: 10247 rows, 8304 columns, 29770 nonzeros
Concurrent LP optimizer: dual simplex and barrier
Showing barrier log only...
4 -8.36223447e+08 -2.19730962e+10 6.06e+05 1.20e-01 2.26e+06 0s
5 -6.11841369e+08 -1.01641711e+10 2.58e+05 1.38e-02 8.28e+05 0s
Ordering time: 0.02s
Barrier statistics:
Dense cols : 6
AA' NZ : 2.537e+04
Factor NZ : 1.718e+05 (roughly 9 MB of memory)
Factor Ops : 2.974e+06 (less than 1 second per iteration)
Threads : 1
6 -6.18892036e+08 -4.04473208e+09 1.76e+05 2.45e-12 3.10e+05 0s
Presolve removed 13136 rows and 2416 columns Presolve time: 0.07s Presolved: 10247 rows, 8304 columns, 29770 nonzeros Concurrent LP optimizer: dual simplex and barrier Showing barrier log only...
7 -8.37198541e+08 -2.90613571e+09 7.41e+04 2.23e-12 1.61e+05 0s
Objective Residual
Iter Primal Dual Primal Dual Compl Time
0 2.18995940e+09 -7.15664783e+11 7.39e+08 1.87e+03 3.52e+09 0s
8 -1.00842559e+09 -2.41073400e+09 4.62e+04 8.95e-13 1.05e+05 0s
Ordering time: 0.02s
1 6.45260111e+10 -6.36881870e+11 9.77e+07 3.68e+03 1.71e+09 0s
Barrier statistics:
Dense cols : 6
AA' NZ : 2.537e+04
Factor NZ : 1.718e+05 (roughly 9 MB of memory)
Factor Ops : 2.974e+06 (less than 1 second per iteration)
Threads : 1
9 -1.16394075e+09 -2.10255467e+09 2.63e+04 9.62e-13 6.73e+04 0s
2 6.65776956e+10 -1.90007520e+11 5.42e+07 4.74e+01 2.21e+08 0s
Objective Residual
Iter Primal Dual Primal Dual Compl Time
0 -8.20238888e+09 -9.52907361e+11 7.39e+08 2.50e+03 4.67e+09 0s
10 -1.21620643e+09 -1.81822360e+09 9.58e+03 8.82e-13 3.99e+04 0s
3 2.60657441e+09 -8.53831070e+10 2.01e+06 1.65e+00 1.25e+07 0s
1 -2.11442791e+11 -9.06688084e+11 1.45e+08 5.05e+03 2.68e+09 0s
11 -1.27342481e+09 -1.56489351e+09 4.60e+03 1.14e-12 1.92e+04 0s
2 -2.07458746e+11 -2.98635403e+11 7.18e+07 1.25e+02 4.00e+08 0s
4 1.72150545e+08 -2.50317560e+10 3.75e+05 6.07e-11 2.24e+06 0s
12 -1.29303367e+09 -1.49936714e+09 3.10e+03 1.18e-12 1.35e+04 0s
5 -3.95225130e+08 -1.20735650e+10 1.59e+05 1.96e-11 8.64e+05 0s
3 -1.87908313e+10 -1.33888908e+11 5.03e+06 1.08e+01 3.39e+07 0s
13 -1.30696337e+09 -1.45896677e+09 2.16e+03 1.23e-12 9.89e+03 0s
Warning: environment still referenced so free is deferred (Continue to use WLS)
6 -6.80662463e+08 -7.24655093e+09 1.07e+05 2.02e-11 4.69e+05 0s
14 -1.32097531e+09 -1.40848833e+09 1.00e+03 7.44e-13 5.60e+03 1s
4 -5.41738675e+09 -5.30046613e+10 5.25e+05 2.30e-01 4.86e+06 0s
7 -1.01578904e+09 -6.01464346e+09 8.25e+04 2.77e-11 3.50e+05 0s 15 -1.32943014e+09 -1.36661126e+09 4.18e+02 8.03e-13 2.38e+03 1s 5 -4.46529347e+09 -2.52935591e+10 2.05e+05 3.17e-02 1.70e+06 0s Warning: environment still referenced so free is deferred (Continue to use WLS) 8 -1.22835547e+09 -5.45341968e+09 6.41e+04 1.75e-11 2.90e+05 0s 16 -1.33146245e+09 -1.34079947e+09 2.69e+02 1.65e-12 6.46e+02 1s 6 -4.19304156e+09 -1.05715272e+10 9.31e+04 8.59e-12 4.83e+05 0s 9 -1.20011611e+09 -5.17682415e+09 6.26e+04 1.52e-11 2.73e+05 0s 7 -4.24765667e+09 -6.85937522e+09 1.44e+04 4.92e-12 1.67e+05 0s 17 -1.33391695e+09 -1.33718522e+09 1.01e+02 1.39e-12 2.28e+02 1s 10 -1.29112211e+09 -3.89567045e+09 5.37e+04 1.86e-11 1.81e+05 0s 8 -4.40119052e+09 -6.28912581e+09 8.27e+03 3.32e-12 1.19e+05 0s 18 -1.33508099e+09 -1.33561345e+09 2.47e+01 8.10e-13 3.97e+01 1s 11 -1.53266803e+09 -2.96291080e+09 2.24e+04 1.27e-11 9.49e+04 0s 9 -4.54860555e+09 -5.65982802e+09 4.52e+03 2.46e-12 6.94e+04 0s 19 -1.33547588e+09 -1.33549823e+09 3.76e-01 1.75e-12 1.46e+00 1s 12 -1.59640534e+09 -2.84880401e+09 1.90e+04 1.31e-11 8.29e+04 1s 10 -4.62179274e+09 -5.32278294e+09 2.80e+03 2.84e-12 4.36e+04 0s 20 -1.33548569e+09 -1.33548578e+09 3.04e-07 5.64e-11 5.49e-03 1s 13 -1.72976614e+09 -2.67879232e+09 1.17e+04 1.15e-11 6.17e+04 1s
21 -1.33548572e+09 -1.33548572e+09 3.42e-08 3.64e-12 5.49e-06 1s
11 -4.70763339e+09 -5.15440372e+09 1.14e+03 1.95e-12 2.75e+04 1s
14 -1.80006352e+09 -2.65557646e+09 8.07e+03 1.46e-11 5.47e+04 1s
22 -1.33548572e+09 -1.33548572e+09 1.45e-07 3.80e-11 5.49e-09 1s
Barrier solved model in 22 iterations and 0.77 seconds (0.14 work units)
Optimal objective -1.33548572e+09
12 -4.73884027e+09 -4.99557545e+09 7.40e+02 1.02e-12 1.58e+04 1s
Crossover log...
15 -1.86804044e+09 -2.40629483e+09 5.81e+03 1.46e-11 3.47e+04 1s
13 -4.76601379e+09 -4.89831885e+09 3.83e+02 1.34e-12 8.15e+03 1s
16 -1.88647793e+09 -2.20213777e+09 4.31e+03 7.50e-12 2.07e+04 1s
14 -4.77611860e+09 -4.86400353e+09 2.74e+02 1.42e-12 5.42e+03 1s
17 -1.91987645e+09 -2.10359005e+09 2.38e+03 1.07e-11 1.20e+04 1s
18 DPushes remaining with DInf 0.0000000e+00 1s
15 -4.78921238e+09 -4.83520483e+09 1.36e+02 8.85e-13 2.83e+03 1s
0 DPushes remaining with DInf 0.0000000e+00 1s
18 -1.93536159e+09 -2.04609374e+09 1.45e+03 8.64e-12 7.24e+03 1s
1166 PPushes remaining with PInf 0.0000000e+00 1s
16 -4.79566272e+09 -4.81264990e+09 6.69e+01 1.00e-12 1.05e+03 1s
19 -1.95116182e+09 -2.00091853e+09 4.73e+02 1.09e-11 3.18e+03 1s
20 -1.95768389e+09 -1.97214838e+09 6.30e+01 1.46e-11 8.96e+02 1s
17 -4.79936626e+09 -4.80510040e+09 2.73e+01 1.73e-12 3.55e+02 1s
21 -1.95863787e+09 -1.96687299e+09 7.63e+00 9.96e-11 4.99e+02 1s
18 -4.80169703e+09 -4.80256352e+09 3.88e+00 1.59e-12 5.36e+01 1s
19 -4.80209320e+09 -4.80211108e+09 5.85e-02 7.28e-12 1.10e+00 1s
22 -1.95888604e+09 -1.95928738e+09 6.66e-01 8.17e-10 2.44e+01 1s
0 PPushes remaining with PInf 0.0000000e+00 1s
Push phase complete: Pinf 0.0000000e+00, Dinf 3.0567548e-11 1s
23 -1.95895010e+09 -1.95896414e+09 1.72e-06 1.50e-11 8.46e-01 1s
Crossover time: 0.21 seconds (0.04 work units)
Solved with barrier
20 -4.80210257e+09 -4.80210259e+09 6.95e-07 3.64e-12 1.10e-03 1s
24 -1.95895106e+09 -1.95895106e+09 1.79e-08 1.91e-11 4.98e-06 1s
Iteration Objective Primal Inf. Dual Inf. Time
1187 -1.3354857e+09 0.000000e+00 0.000000e+00 1s
Solved in 1187 iterations and 1.01 seconds (0.19 work units)
Optimal objective -1.335485715e+09
21 -4.80210258e+09 -4.80210258e+09 2.03e-07 5.62e-12 1.10e-06 1s
25 -1.95895106e+09 -1.95895106e+09 1.77e-08 3.23e-11 4.98e-09 1s
Barrier solved model in 25 iterations and 0.85 seconds (0.16 work units)
Optimal objective -1.95895106e+09
22 -4.80210258e+09 -4.80210258e+09 4.75e-08 6.82e-12 1.10e-09 1s
Barrier solved model in 22 iterations and 0.81 seconds (0.14 work units)
Optimal objective -4.80210258e+09
Crossover log...
Crossover log...
871 DPushes remaining with DInf 0.0000000e+00 1s
2 DPushes remaining with DInf 0.0000000e+00 1s
0 DPushes remaining with DInf 0.0000000e+00 1s
695 PPushes remaining with PInf 0.0000000e+00 1s
0 DPushes remaining with DInf 0.0000000e+00 1s
2278 PPushes remaining with PInf 0.0000000e+00 1s
0 PPushes remaining with PInf 0.0000000e+00 1s
Push phase complete: Pinf 0.0000000e+00, Dinf 4.6114224e-11 1s
Crossover time: 0.17 seconds (0.02 work units)
Solved with barrier
0 PPushes remaining with PInf 0.0000000e+00 1s
Push phase complete: Pinf 0.0000000e+00, Dinf 4.4337867e-11 1s
Crossover time: 0.22 seconds (0.09 work units)
Solved with barrier
Iteration Objective Primal Inf. Dual Inf. Time
700 -4.8021026e+09 0.000000e+00 0.000000e+00 1s
Solved in 700 iterations and 1.02 seconds (0.17 work units)
Optimal objective -4.802102580e+09
Iteration Objective Primal Inf. Dual Inf. Time
3152 -1.9589511e+09 0.000000e+00 0.000000e+00 1s
Solved in 3152 iterations and 1.11 seconds (0.25 work units)
Optimal objective -1.958951063e+09
/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:226: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError.
Dim: 'name': left=['battery storage'], right=['hydrogen storage']
Resolve: `.sel(...)` / `.reindex(...)` to align
`.assign_coords(...)` to relabel one side
`linopy.align(...)` to pre-align several operands
or pass an explicit `join=` argument.
Opt in: linopy.options['semantics'] = 'v1'
Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning)
return merge(expr)
Warning: environment still referenced so free is deferred (Continue to use WLS)
Warning: environment still referenced so free is deferred (Continue to use WLS)
/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:226: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError.
Dim: 'name': left=['battery storage'], right=['hydrogen storage']
Resolve: `.sel(...)` / `.reindex(...)` to align
`.assign_coords(...)` to relabel one side
`linopy.align(...)` to pre-align several operands
or pass an explicit `join=` argument.
Opt in: linopy.options['semantics'] = 'v1'
Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning)
return merge(expr)
/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:226: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError.
Dim: 'name': left=['battery storage'], right=['hydrogen storage']
Resolve: `.sel(...)` / `.reindex(...)` to align
`.assign_coords(...)` to relabel one side
`linopy.align(...)` to pre-align several operands
or pass an explicit `join=` argument.
Opt in: linopy.options['semantics'] = 'v1'
Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning)
return merge(expr)
Warning: environment still referenced so free is deferred (Continue to use WLS) Warning: environment still referenced so free is deferred (Continue to use WLS) Warning: environment still referenced so free is deferred (Continue to use WLS) Warning: environment still referenced so free is deferred (Continue to use WLS)
/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:226: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError.
Dim: 'name': left=['battery storage'], right=['hydrogen storage']
Resolve: `.sel(...)` / `.reindex(...)` to align
`.assign_coords(...)` to relabel one side
`linopy.align(...)` to pre-align several operands
or pass an explicit `join=` argument.
Opt in: linopy.options['semantics'] = 'v1'
Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning)
return merge(expr)
Warning: environment still referenced so free is deferred (Continue to use WLS) Warning: environment still referenced so free is deferred (Continue to use WLS)
/home/runner/work/PyPSA/PyPSA/pypsa/network/io.py:2085: FutureWarning: pandas infers the `str` dtype for string data since its version 3.0. PyPSA still converts it back to numpy object dtype on import, but will keep it from PyPSA 2.0 on. Set `pypsa.options.api.legacy_string_dtype` explicitly to suppress this warning. new_static = _coerce_string_dtypes(new_static)
/opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/contextlib.py:85: FutureWarning: The default value of `include_objective_constant` will change from True to False in version 2.0. Set `include_objective_constant` explicitly to suppress this warning. Using False improves LP numerical conditioning by not including the objective constant as a variable. return func(*args, **kwds)
/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:226: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError.
Dim: 'name': left=['battery storage'], right=['hydrogen storage']
Resolve: `.sel(...)` / `.reindex(...)` to align
`.assign_coords(...)` to relabel one side
`linopy.align(...)` to pre-align several operands
or pass an explicit `join=` argument.
Opt in: linopy.options['semantics'] = 'v1'
Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning)
return merge(expr)
/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:567: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError.
Dim: 'name': left=['wind', 'solar'], right=['battery storage', 'electrolysis', 'hydrogen storage', 'turbine']
Resolve: `.sel(...)` / `.reindex(...)` to align
`.assign_coords(...)` to relabel one side
`linopy.align(...)` to pre-align several operands
or pass an explicit `join=` argument.
Opt in: linopy.options['semantics'] = 'v1'
Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning)
-sum(
Writing constraints.: 0%| | 0/26 [00:00<?, ?it/s]
Writing constraints.: 100%|██████████| 26/26 [00:00<00:00, 260.28it/s] Writing continuous variables.: 0%| | 0/12 [00:00<?, ?it/s] Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 447.00it/s]
Set parameter WLSAccessID
Set parameter WLSSecret
Set parameter LicenseID to value 2537914
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Read LP format model from file /tmp/linopy-problem-75ycn7f9.lp
Reading time = 0.03 seconds
obj: 23383 rows, 10720 columns, 44348 nonzeros
Gurobi Optimizer version 13.0.2 build v13.0.2rc1 (linux64 - "Ubuntu 24.04.5 LTS")
CPU model: AMD EPYC 7763 64-Core Processor, instruction set [SSE2|AVX|AVX2]
Thread count: 2 physical cores, 4 logical processors, using up to 4 threads
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Optimize a model with 23383 rows, 10720 columns and 44348 nonzeros (Min)
Model fingerprint: 0x3cce7291
Model has 6 linear objective coefficients
Coefficient statistics:
Matrix range [1e-03, 2e+05]
Objective range [5e+01, 1e+05]
Bounds range [0e+00, 0e+00]
RHS range [5e+03, 8e+09]
Warning: Model contains large rhs
Consider reformulating model or setting NumericFocus parameter
to avoid numerical issues.
Presolve removed 13136 rows and 2416 columns
Presolve time: 0.02s
Presolved: 10247 rows, 8304 columns, 29770 nonzeros
Concurrent LP optimizer: dual simplex and barrier
Showing barrier log only...
Ordering time: 0.00s
Barrier statistics:
Dense cols : 6
AA' NZ : 2.537e+04
Factor NZ : 1.718e+05 (roughly 9 MB of memory)
Factor Ops : 2.974e+06 (less than 1 second per iteration)
Threads : 1
Objective Residual
Iter Primal Dual Primal Dual Compl Time
0 6.18383285e+08 -1.06615267e+12 7.39e+08 2.79e+03 5.24e+09 0s
1 2.36938477e+10 -9.15192874e+11 9.92e+07 5.28e+03 2.42e+09 0s
2 3.19363148e+10 -3.56027767e+11 5.17e+07 5.17e+01 3.98e+08 0s
3 -2.37994790e+08 -1.58174387e+11 1.02e+06 3.86e-01 1.64e+07 0s
4 -8.36891405e+08 -4.66830104e+10 4.59e+05 1.97e-11 4.37e+06 0s
5 -1.38090755e+09 -2.19387794e+10 1.74e+05 1.73e-11 1.55e+06 0s
6 -1.71050128e+09 -1.24568180e+10 1.05e+05 9.89e-12 7.60e+05 0s
7 -1.88850752e+09 -1.14825155e+10 8.69e+04 9.00e-12 6.65e+05 0s
8 -2.34097313e+09 -9.64079536e+09 6.41e+04 7.03e-12 4.96e+05 0s
9 -2.91497585e+09 -8.53193566e+09 4.50e+04 6.18e-12 3.74e+05 0s
10 -3.01370606e+09 -7.58308482e+09 4.20e+04 2.84e-12 3.07e+05 0s
11 -3.37726395e+09 -6.83176309e+09 1.71e+04 3.31e-12 2.20e+05 0s
12 -3.55779532e+09 -6.65555190e+09 1.43e+04 2.54e-12 1.96e+05 0s
13 -3.48128735e+09 -6.31045336e+09 1.37e+04 2.47e-12 1.80e+05 0s
14 -3.80774040e+09 -5.67595528e+09 8.56e+03 1.88e-12 1.18e+05 0s
15 -3.88650747e+09 -5.43178999e+09 6.85e+03 2.17e-12 9.76e+04 0s
16 -3.87332757e+09 -5.19956750e+09 5.84e+03 2.46e-12 8.37e+04 0s
17 -3.96495452e+09 -4.53224462e+09 3.09e+03 2.65e-12 3.62e+04 0s
18 -3.99619418e+09 -4.24051182e+09 2.33e+03 1.99e-12 1.61e+04 0s
19 -4.01378022e+09 -4.15908391e+09 1.88e+03 1.29e-12 9.86e+03 0s
20 -4.03544507e+09 -4.15255560e+09 1.36e+03 1.67e-12 7.86e+03 0s
21 -4.06870966e+09 -4.09610741e+09 3.62e+02 2.03e-12 1.86e+03 0s
22 -4.08231935e+09 -4.08644917e+09 2.72e+01 2.89e-12 2.64e+02 0s
23 -4.08366106e+09 -4.08467484e+09 5.12e+00 2.25e-12 6.40e+01 0s
24 -4.08398962e+09 -4.08436811e+09 4.65e-01 2.80e-12 2.31e+01 0s
25 -4.08402737e+09 -4.08414058e+09 1.59e-01 2.61e-12 6.91e+00 0s
26 -4.08403334e+09 -4.08404962e+09 1.13e-01 9.48e-12 1.04e+00 0s
27 -4.08404447e+09 -4.08404490e+09 3.23e-04 2.18e-10 2.67e-02 0s
28 -4.08404460e+09 -4.08404460e+09 8.91e-07 1.39e-11 2.67e-05 0s
29 -4.08404460e+09 -4.08404460e+09 8.15e-08 4.82e-11 1.16e-09 0s
Barrier solved model in 29 iterations and 0.17 seconds (0.18 work units)
Optimal objective -4.08404460e+09
Crossover log...
8 DPushes remaining with DInf 0.0000000e+00 0s
0 DPushes remaining with DInf 0.0000000e+00 0s
1961 PPushes remaining with PInf 0.0000000e+00 0s
0 PPushes remaining with PInf 0.0000000e+00 0s
Push phase complete: Pinf 0.0000000e+00, Dinf 7.3356432e-11 0s
Crossover time: 0.05 seconds (0.06 work units)
Solved with barrier
Iteration Objective Primal Inf. Dual Inf. Time
1972 -4.0840446e+09 0.000000e+00 0.000000e+00 0s
Solved in 1972 iterations and 0.23 seconds (0.24 work units)
Optimal objective -4.084044601e+09
/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:226: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError.
Dim: 'name': left=['battery storage'], right=['hydrogen storage']
Resolve: `.sel(...)` / `.reindex(...)` to align
`.assign_coords(...)` to relabel one side
`linopy.align(...)` to pre-align several operands
or pass an explicit `join=` argument.
Opt in: linopy.options['semantics'] = 'v1'
Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning)
return merge(expr)
/opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/contextlib.py:85: FutureWarning: The default value of `include_objective_constant` will change from True to False in version 2.0. Set `include_objective_constant` explicitly to suppress this warning. Using False improves LP numerical conditioning by not including the objective constant as a variable. return func(*args, **kwds)
/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:226: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError.
Dim: 'name': left=['battery storage'], right=['hydrogen storage']
Resolve: `.sel(...)` / `.reindex(...)` to align
`.assign_coords(...)` to relabel one side
`linopy.align(...)` to pre-align several operands
or pass an explicit `join=` argument.
Opt in: linopy.options['semantics'] = 'v1'
Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning)
return merge(expr)
/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:567: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError.
Dim: 'name': left=['wind', 'solar'], right=['battery storage', 'electrolysis', 'hydrogen storage', 'turbine']
Resolve: `.sel(...)` / `.reindex(...)` to align
`.assign_coords(...)` to relabel one side
`linopy.align(...)` to pre-align several operands
or pass an explicit `join=` argument.
Opt in: linopy.options['semantics'] = 'v1'
Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning)
-sum(
Writing constraints.: 0%| | 0/26 [00:00<?, ?it/s]
Writing constraints.: 100%|██████████| 26/26 [00:00<00:00, 268.09it/s] Writing continuous variables.: 0%| | 0/12 [00:00<?, ?it/s] Writing continuous variables.: 100%|██████████| 12/12 [00:00<00:00, 439.95it/s]
Set parameter WLSAccessID
Set parameter WLSSecret
Set parameter LicenseID to value 2537914
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Read LP format model from file /tmp/linopy-problem-k8gyr1w6.lp
Reading time = 0.02 seconds
obj: 23383 rows, 10720 columns, 44348 nonzeros
Gurobi Optimizer version 13.0.2 build v13.0.2rc1 (linux64 - "Ubuntu 24.04.5 LTS")
CPU model: AMD EPYC 7763 64-Core Processor, instruction set [SSE2|AVX|AVX2]
Thread count: 2 physical cores, 4 logical processors, using up to 4 threads
Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.de
Optimize a model with 23383 rows, 10720 columns and 44348 nonzeros (Min)
Model fingerprint: 0xe2ade5dc
Model has 6 linear objective coefficients
Coefficient statistics:
Matrix range [1e-03, 2e+05]
Objective range [6e+01, 8e+04]
Bounds range [0e+00, 0e+00]
RHS range [5e+03, 8e+09]
Warning: Model contains large rhs
Consider reformulating model or setting NumericFocus parameter
to avoid numerical issues.
Presolve removed 13136 rows and 2416 columns
Presolve time: 0.02s
Presolved: 10247 rows, 8304 columns, 29770 nonzeros
Concurrent LP optimizer: dual simplex and barrier
Showing barrier log only...
Ordering time: 0.00s
Barrier statistics:
Dense cols : 6
AA' NZ : 2.537e+04
Factor NZ : 1.718e+05 (roughly 9 MB of memory)
Factor Ops : 2.974e+06 (less than 1 second per iteration)
Threads : 1
Objective Residual
Iter Primal Dual Primal Dual Compl Time
0 -2.42533182e+09 -5.26704544e+11 7.39e+08 1.38e+03 2.58e+09 0s
1 -8.72662429e+10 -4.95980343e+11 1.36e+08 2.72e+03 1.41e+09 0s
2 -7.66714494e+10 -1.69797083e+11 6.59e+07 5.50e+01 2.11e+08 0s
3 -4.76416067e+09 -7.39333011e+10 3.43e+06 3.63e+00 1.45e+07 0s
4 -1.27624823e+09 -2.51752568e+10 4.92e+05 1.05e-01 2.41e+06 0s
5 -1.00599257e+09 -1.13257224e+10 1.57e+05 1.72e-02 8.06e+05 0s
6 -1.08114022e+09 -6.15757951e+09 1.02e+05 4.83e-12 3.88e+05 0s
7 -1.23909281e+09 -4.54817747e+09 6.80e+04 3.12e-12 2.45e+05 0s
8 -1.49726754e+09 -3.70079162e+09 2.93e+04 2.56e-12 1.51e+05 0s
9 -1.63553445e+09 -2.98622743e+09 1.89e+04 2.42e-12 9.18e+04 0s
10 -1.70563601e+09 -2.79132764e+09 1.49e+04 1.84e-12 7.34e+04 0s
11 -1.79624961e+09 -2.51415936e+09 1.05e+04 1.47e-12 4.86e+04 0s
12 -1.84853473e+09 -2.42008785e+09 7.70e+03 2.17e-12 3.84e+04 0s
13 -1.89577087e+09 -2.33345686e+09 4.39e+03 1.46e-12 2.86e+04 0s
14 -1.92562708e+09 -2.17388706e+09 2.40e+03 1.93e-12 1.62e+04 0s
15 -1.94960676e+09 -2.10638558e+09 1.23e+03 2.50e-12 1.01e+04 0s
16 -1.96091821e+09 -2.03536406e+09 6.09e+02 2.85e-12 4.78e+03 0s
17 -1.96680351e+09 -1.99517386e+09 3.17e+02 1.65e-12 1.86e+03 0s
18 -1.97128440e+09 -1.99089480e+09 1.23e+02 2.69e-12 1.24e+03 0s
19 -1.97339581e+09 -1.97950277e+09 3.21e+01 2.40e-12 3.84e+02 0s
20 -1.97386730e+09 -1.97464428e+09 1.22e+01 1.17e-12 5.23e+01 0s
21 -1.97418688e+09 -1.97421053e+09 6.79e-05 3.48e-12 1.43e+00 0s
22 -1.97419202e+09 -1.97419205e+09 5.17e-06 1.53e-10 1.43e-03 0s
23 -1.97419203e+09 -1.97419203e+09 2.03e-07 6.50e-11 1.43e-06 0s
24 -1.97419203e+09 -1.97419203e+09 5.52e-08 1.32e-11 2.00e-11 0s
Barrier solved model in 24 iterations and 0.15 seconds (0.15 work units)
Optimal objective -1.97419203e+09
Crossover log...
3 DPushes remaining with DInf 0.0000000e+00 0s
0 DPushes remaining with DInf 0.0000000e+00 0s
1383 PPushes remaining with PInf 0.0000000e+00 0s
0 PPushes remaining with PInf 0.0000000e+00 0s
Push phase complete: Pinf 0.0000000e+00, Dinf 8.4639851e-11 0s
Crossover time: 0.05 seconds (0.06 work units)
Solved with barrier
Iteration Objective Primal Inf. Dual Inf. Time
1389 -1.9741920e+09 0.000000e+00 0.000000e+00 0s
Solved in 1389 iterations and 0.20 seconds (0.21 work units)
Optimal objective -1.974192028e+09
/home/runner/work/PyPSA/PyPSA/pypsa/optimization/mga.py:226: LinopySemanticsWarning: Coordinate mismatch in merge along dim '_term' silently aligned by legacy (positional when sizes match, otherwise outer join by label). Under v1 this raises ValueError.
Dim: 'name': left=['battery storage'], right=['hydrogen storage']
Resolve: `.sel(...)` / `.reindex(...)` to align
`.assign_coords(...)` to relabel one side
`linopy.align(...)` to pre-align several operands
or pass an explicit `join=` argument.
Opt in: linopy.options['semantics'] = 'v1'
Silence: warnings.filterwarnings('ignore', category=LinopySemanticsWarning)
return merge(expr)
fig, ax = plt.subplots(figsize=(8, 6))
ax.scatter(
pts["wind"] / 1e6, pts["solar"] / 1e6, c=pts["storage"] / 1e6, cmap="viridis"
)
hull = ConvexHull(pts[["wind", "solar"]] / 1e6)
line_segments = [hull.points[simplex] for simplex in hull.simplices]
ax.add_collection(LineCollection(line_segments, colors="k", linestyle="solid"))
ax.axis("equal")
ax.set_xlabel("Wind investment (mEUR)")
ax.set_ylabel("Solar investment (mEUR)")
cbar = plt.colorbar(ax.collections[0], ax=ax)
cbar.set_label("Storage investment (mEUR)")
In the above example, we see that low investment in renewables necessitates higher investment in storage, while high investment in renewables excludes (via the total system cost bound) a high investment in storage.