You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey there!
First I would like to ask which Python version is suitable for urbs? Because on the website https://github.com/tum-ens/urbs/blob/master/README.md#installation Version 3.6 or 2.7 is stated. In the ##README.md File in the zip-Folder it says Version 3.5 or 2.7.
Thanks in advanve for any help. Highly appreciated!
I tried several times to install. When following the procedure (executing runme.py and comp.py) this happens:
(base) C:\Users\lukas>conda activate urbs
(urbs) C:\Users\lukas>py --version
Python 3.6.13 :: Anaconda, Inc.
(urbs) C:\Users\lukas\OneDrive\Desktop\Programme_Installation\urbs\urbs-1.0.1\urbs-1.0.1>python comp.py
Traceback (most recent call last):
File "comp.py", line 259, in
compare_scenarios(list(reversed(result_files)), comp_filename)
File "comp.py", line 154, in compare_scenarios
costs = pd.concat(costs, axis=1, keys=scenario_names)
File "C:\Users\lukas\miniconda3\envs\urbs\lib\site-packages\pandas\core\reshape\concat.py", line 228, in concat
copy=copy, sort=sort)
File "C:\Users\lukas\miniconda3\envs\urbs\lib\site-packages\pandas\core\reshape\concat.py", line 262, in init
raise ValueError('No objects to concatenate')
ValueError: No objects to concatenate
The text was updated successfully, but these errors were encountered:
You seem to have some dependency problem somewhere around the import tables line; some DLL that is mentioned in its __init__.py seems not to be present. As the urbs environment installs pytables=3.6.1 for that, I would dig for a bug in that direction. Or maybe you just do not have pytables (or one of its binary depdencies, its docs list the hdf5, zlib, blosc, or bz2 as possible candidates) installed?
Hey there!
First I would like to ask which Python version is suitable for urbs? Because on the website https://github.com/tum-ens/urbs/blob/master/README.md#installation Version 3.6 or 2.7 is stated. In the ##README.md File in the zip-Folder it says Version 3.5 or 2.7.
Thanks in advanve for any help. Highly appreciated!
I tried several times to install. When following the procedure (executing runme.py and comp.py) this happens:
(base) C:\Users\lukas>conda activate urbs
(urbs) C:\Users\lukas>py --version
Python 3.6.13 :: Anaconda, Inc.
(urbs) C:\Users\lukas>cd C:\Users\lukas\OneDrive\Desktop\Programme_Installation\urbs\urbs-1.0.1\urbs-1.0.1
(urbs) C:\Users\lukas\OneDrive\Desktop\Programme_Installation\urbs\urbs-1.0.1\urbs-1.0.1>python runme.py
GLPSOL--GLPK LP/MIP Solver 5.0
Parameter(s) specified in the command line:
--log result\Mimo-ex-20220217T1424\scenario_base.log --write C:\Users\lukas\AppData\Local\Temp\tmpwgdr34og.glpk.raw
--wglp C:\Users\lukas\AppData\Local\Temp\tmpixcq5bka.glpk.glp --cpxlp C:\Users\lukas\AppData\Local\Temp\tmpunszp_om.pyomo.lp
Reading problem data from 'C:\Users\lukas\AppData\Local\Temp\tmpunszp_om.pyomo.lp'...
123371 rows, 129172 columns, 520448 non-zeros
1019811 lines were read
Writing problem data to 'C:\Users\lukas\AppData\Local\Temp\tmpixcq5bka.glpk.glp'...
824412 lines were written
GLPK Simplex Optimizer 5.0
123371 rows, 129172 columns, 520448 non-zeros
Preprocessing...
73820 rows, 83528 columns, 380839 non-zeros
Scaling...
A: min|aij| = 2.463e-04 max|aij| = 1.400e+04 ratio = 5.684e+07
GM: min|aij| = 2.477e-01 max|aij| = 4.038e+00 ratio = 1.630e+01
EQ: min|aij| = 6.134e-02 max|aij| = 1.000e+00 ratio = 1.630e+01
Constructing initial basis...
Size of triangular part is 73808
0: obj = 2.622769069e+11 inf = 7.911e+07 (2883)
1126: obj = 3.578967540e+11 inf = 6.827e+07 (1969) 6
2168: obj = 4.087411140e+11 inf = 6.542e+07 (1781) 5
3086: obj = 4.541193916e+11 inf = 6.289e+07 (1544) 6
3936: obj = 5.028769597e+11 inf = 6.084e+07 (1229) 5
4820: obj = 6.178339312e+11 inf = 5.879e+07 (996) 6
5639: obj = 9.652215159e+11 inf = 5.708e+07 (919) 7
6432: obj = 1.557208449e+12 inf = 5.222e+07 (896) 6
Warning: basis matrix is ill-conditioned (cond = 3.87e+13)
7231: obj = 1.997825908e+12 inf = 4.403e+07 (869) 6
7976: obj = 2.217542034e+12 inf = 3.166e+07 (770) 5
8703: obj = 2.390247335e+12 inf = 2.753e+07 (708) 5
9414: obj = 2.536218815e+12 inf = 2.393e+07 (647) 5
10117: obj = 2.756054236e+12 inf = 2.163e+07 (593) 5
10802: obj = 2.935353932e+12 inf = 1.908e+07 (532) 4
11477: obj = 3.086179517e+12 inf = 1.754e+07 (480) 4
12150: obj = 3.197893621e+12 inf = 1.628e+07 (450) 5
12788: obj = 3.298689697e+12 inf = 1.498e+07 (426) 5
13440: obj = 3.333287446e+12 inf = 1.251e+07 (382) 4
14083: obj = 3.300325046e+12 inf = 1.077e+07 (340) 5
14740: obj = 3.310991662e+12 inf = 8.777e+06 (313) 4
15392: obj = 3.306829795e+12 inf = 8.130e+06 (298) 5
16062: obj = 3.167939175e+12 inf = 7.197e+06 (289) 4
16693: obj = 2.836111646e+12 inf = 5.763e+06 (273) 5
17333: obj = 2.697862855e+12 inf = 4.519e+06 (120) 4
17986: obj = 2.620014273e+12 inf = 3.939e+06 (102) 4
18632: obj = 2.450996742e+12 inf = 3.343e+06 (84) 4
19275: obj = 2.361044575e+12 inf = 2.870e+06 (67) 5
19909: obj = 2.364960423e+12 inf = 2.286e+06 (42) 4
20496: obj = 2.398133956e+12 inf = 1.956e+06 (17) 5
21090: obj = 2.435527949e+12 inf = 1.681e+06 (9) 4
21699: obj = 2.413369321e+12 inf = 1.192e+06 (6) 4
22320: obj = 2.393698876e+12 inf = 9.176e+05 (3) 4
22924: obj = 2.418149249e+12 inf = 7.777e+05 (3) 4
23536: obj = 2.456471196e+12 inf = 4.530e+05 (1) 4
24163: obj = 2.463938084e+12 inf = 3.236e+05 (1) 5
24758: obj = 2.537501175e+12 inf = 2.219e+05 (1) 4
25372: obj = 2.761056031e+12 inf = 8.529e+03 (1) 4
25379: obj = 2.768162266e+12 inf = 5.804e-10 (0)
Warning: basis matrix is ill-conditioned (cond = 2.79e+13)
Warning: basis matrix is ill-conditioned (cond = 9.78e+13)
*100249: obj = 6.190958028e+11 inf = 5.271e-10 (19801) 4
*100816: obj = 6.186886468e+11 inf = 2.763e-11 (13830) 4
Perturbing LP to avoid stalling [101184]...
*101396: obj = 6.185768616e+11 inf = 2.725e-11 (15930) 3
*101975: obj = 6.180519214e+11 inf = 7.678e-09 (14254) 4
*102493: obj = 6.167074369e+11 inf = 1.195e-08 (14336) 3
*103014: obj = 6.154665015e+11 inf = 1.539e-08 (13653) 4
*103490: obj = 6.130384122e+11 inf = 1.624e-08 (9704) 4
*103997: obj = 6.111050187e+11 inf = 1.712e-08 (9818) 5
*104571: obj = 6.097058839e+11 inf = 1.246e-08 (9644) 3
*105113: obj = 6.086403566e+11 inf = 1.638e-08 (16110) 5
*105681: obj = 6.078757203e+11 inf = 2.364e-08 (8662) 4
*106263: obj = 6.074228001e+11 inf = 2.850e-08 (14232) 3
*106797: obj = 6.070631019e+11 inf = 1.963e-08 (10837) 5
*107364: obj = 6.059592360e+11 inf = 2.026e-08 (12769) 5
*107925: obj = 6.057433043e+11 inf = 2.044e-08 (12951) 4
*108505: obj = 6.055491134e+11 inf = 2.245e-08 (7093) 4
*109117: obj = 6.055122774e+11 inf = 2.155e-08 (7220) 3
*109699: obj = 6.052552144e+11 inf = 2.155e-08 (7209) 5
*110307: obj = 6.052329371e+11 inf = 2.154e-08 (10836) 2
*110886: obj = 6.048025478e+11 inf = 2.373e-08 (9370) 4
*111421: obj = 6.042353809e+11 inf = 3.484e-08 (14574) 1
*111970: obj = 6.040771053e+11 inf = 4.239e-08 (5113) 3
*112521: obj = 6.039847634e+11 inf = 1.210e-06 (6958) 4
*113082: obj = 6.039811589e+11 inf = 6.777e-06 (6005) 3
*113605: obj = 6.034104148e+11 inf = 2.262e-06 (6216) 3
*114173: obj = 6.034077040e+11 inf = 2.255e-06 (5458) 3
*114725: obj = 6.030965311e+11 inf = 2.524e-06 (12924) 3
*115249: obj = 6.029058089e+11 inf = 2.536e-06 (11601) 3
*115845: obj = 6.028295762e+11 inf = 1.045e-05 (3894) 4
*116479: obj = 6.027435295e+11 inf = 1.042e-05 (3583) 4
*117125: obj = 6.027422455e+11 inf = 1.043e-05 (5532) 4
*117767: obj = 6.027391596e+11 inf = 1.838e-05 (2658) 3
*118432: obj = 6.026033521e+11 inf = 2.944e-05 (2938) 5
*119227: obj = 6.026021094e+11 inf = 3.151e-05 (3066) 3
*119870: obj = 6.026017086e+11 inf = 5.132e-05 (2575) 5
*120535: obj = 6.025935656e+11 inf = 9.020e-05 (5358) 3
*121241: obj = 6.025935630e+11 inf = 1.077e-04 (6716) 3
*121905: obj = 6.025812415e+11 inf = 9.508e-05 (829) 5
*122520: obj = 6.025681311e+11 inf = 1.174e-04 (5137) 4
*123201: obj = 6.025681311e+11 inf = 1.400e-04 (355) 3
*123799: obj = 6.025555305e+11 inf = 1.010e-04 (3697) 6
*124405: obj = 6.025552233e+11 inf = 8.746e-05 (2171) 5
*125041: obj = 6.025552206e+11 inf = 1.167e-04 (425) 4
Warning: basis matrix is ill-conditioned (cond = 1.05e+14)
*125615: obj = 6.025208383e+11 inf = 1.154e-04 (5061) 6
*126091: obj = 6.025208160e+11 inf = 1.199e-04 (1744) 5
*126667: obj = 6.025208157e+11 inf = 1.304e-04 (58) 4
*127203: obj = 6.025208133e+11 inf = 1.237e-04 (610) 3
*127791: obj = 6.025208131e+11 inf = 1.189e-04 (1218) 8
Removing LP perturbation [127991]...
*127991: obj = 6.025208131e+11 inf = 1.023e-07 (0) 2
OPTIMAL LP SOLUTION FOUND
Time used: 1093.7 secs
Memory used: 161.3 Mb (169150388 bytes)
Writing basic solution to 'C:\Users\lukas\AppData\Local\Temp\tmpwgdr34og.glpk.raw'...
252552 lines were written
Traceback (most recent call last):
File "runme.py", line 106, in
report_sites_name=report_sites_name)
File "C:\Users\lukas\OneDrive\Desktop\Programme_Installation\urbs\urbs-1.0.1\urbs-1.0.1\urbs\runfunctions.py", line 107, in run_scenario
save(prob, os.path.join(result_dir, '{}.h5'.format(sce)))
File "C:\Users\lukas\OneDrive\Desktop\Programme_Installation\urbs\urbs-1.0.1\urbs-1.0.1\urbs\saveload.py", line 31, in save
import tables
File "C:\Users\lukas\miniconda3\envs\urbs\lib\site-packages\tables_init_.py", line 99, in
from .utilsextension import (
ImportError: DLL load failed: Das angegebene Modul wurde nicht gefunden.
(urbs) C:\Users\lukas\OneDrive\Desktop\Programme_Installation\urbs\urbs-1.0.1\urbs-1.0.1>python comp.py
Traceback (most recent call last):
File "comp.py", line 259, in
compare_scenarios(list(reversed(result_files)), comp_filename)
File "comp.py", line 154, in compare_scenarios
costs = pd.concat(costs, axis=1, keys=scenario_names)
File "C:\Users\lukas\miniconda3\envs\urbs\lib\site-packages\pandas\core\reshape\concat.py", line 228, in concat
copy=copy, sort=sort)
File "C:\Users\lukas\miniconda3\envs\urbs\lib\site-packages\pandas\core\reshape\concat.py", line 262, in init
raise ValueError('No objects to concatenate')
ValueError: No objects to concatenate
The text was updated successfully, but these errors were encountered: