From 93dd99a527c37ead0b2b72120539c4685de9cb8c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D0=BD=D0=B0=D1=81=D1=82=D0=B0=D1=81=D0=B8=D1=8F=20?= =?UTF-8?q?=D0=90=D0=BA=D0=B8=D0=BC=D0=BE=D0=B2=D0=B0?= Date: Mon, 18 Dec 2023 19:02:57 +0400 Subject: [PATCH] =?UTF-8?q?=D0=BB=D0=B0=D0=B1=D0=B0=201=20=D0=B3=D0=BE?= =?UTF-8?q?=D1=82=D0=BE=D0=B2=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- main.py | 12 +++++++----- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 0da06c5..18943d9 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # VM_lab_PIbd_31_Akimova_A.A -# Участники: Акимова А.А. +# Участники: Акимова А., Спиридонов В. # Вариант 6. Для изготовления двух видов продукции P1 и P2 используют 4 вида ресурсов S1, S2, S3, S4. diff --git a/main.py b/main.py index 7eb29d6..ce0b21f 100644 --- a/main.py +++ b/main.py @@ -2,11 +2,13 @@ import numpy as np import tabulate as tb from SimplexMethod import SimplexMethod -table = np.array([[18, 1, 3], - [16, 2, 1], - [5, 0, 1], - [21, 3, 0], - [0, -2, -3]]) +table = np.array([ + [18, 1, 3], + [16, 2, 1], + [5, 0, 1], + [21, 3, 0], + [0, -2, -3] +]) result = np.zeros(2) S = SimplexMethod(table)