Commit fd4b2421 authored by Vladislav Kiselev's avatar Vladislav Kiselev

Упрощение.

parent 472f041f
...@@ -274,11 +274,9 @@ array [1..n_operations] of 1..n_locations : operations_destination; % Локац ...@@ -274,11 +274,9 @@ array [1..n_operations] of 1..n_locations : operations_destination; % Локац
storage_used_volume[storage, 0, cargo] = initial_storage_vol[storage, cargo] storage_used_volume[storage, 0, cargo] = initial_storage_vol[storage, cargo]
); );
constraint forall (storage in 1..n_obj_with_storage, cargo in 1..n_cargo_types) ( % Final values. constraint forall (storage in 1..n_obj_with_storage, cargo in 1..n_cargo_types % Final values.
if final_storage_vol[storage, cargo] >= 0 then where final_storage_vol[storage, cargo] >= 0) (
storage_used_volume[storage, n_intervals + 1, cargo] == final_storage_vol[storage, cargo] storage_used_volume[storage, n_intervals + 1, cargo] = final_storage_vol[storage, cargo]
else true
endif
); );
% Изменение грузов в хранилищах. % Изменение грузов в хранилищах.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment