Project: Моделирование труднорешаемых задач
Views: 16Visibility: Unlisted (only visible to those who know the link)
Image: ubuntu2204Kernel: Python 3 (ipykernel)
In [1]:
In [2]:
In [3]:
In [4]:
In [5]:
# ==========================================================
# = Solver Results =
# ==========================================================
# ----------------------------------------------------------
# Problem Information
# ----------------------------------------------------------
Problem:
- Name: unknown
Lower bound: 7.0
Upper bound: 7.0
Number of objectives: 1
Number of constraints: 14
Number of variables: 15
Number of binary variables: 23
Number of integer variables: 23
Number of nonzeros: 10
Sense: maximize
# ----------------------------------------------------------
# Solver Information
# ----------------------------------------------------------
Solver:
- Status: ok
User time: -1.0
System time: 0.0
Wallclock time: 0.0
Termination condition: optimal
Termination message: Model was solved to optimality (subject to tolerances), and an optimal solution is available.
Statistics:
Branch and bound:
Number of bounded subproblems: 0
Number of created subproblems: 0
Black box:
Number of iterations: 0
Error rc: 0
Time: 0.0410923957824707
# ----------------------------------------------------------
# Solution Information
# ----------------------------------------------------------
Solution:
- number of solutions: 0
number of solutions displayed: 0
x[0] 1.0
x[3] 1.0
x[4] 1.0
x[10] 1.0
x[11] 1.0
y[1,0] 1.0
y[2,4] 1.0
y[5,11] 1.0
y[7,3] 1.0
y[8,10] 1.0
y[9,3] 1.0
y[9,4] 1.0
In [6]:
<pyomo.core.base.var.IndexedVar at 0x7fabb7ba6fd0>
In [7]:
In [ ]: