From 22b3ee2bdc08163268074afc850ed286c395d936 Mon Sep 17 00:00:00 2001 From: Brandon Rodriguez <brodriguez8774@gmail.com> Date: Sat, 30 Nov 2019 01:36:32 -0500 Subject: [PATCH] Add additional JSON files to test with --- resources/json_files/ex_4.json | 10 ++++++++++ resources/json_files/ex_5.json | 9 +++++++++ resources/json_files/ex_6.json | 10 ++++++++++ 3 files changed, 29 insertions(+) create mode 100644 resources/json_files/ex_4.json create mode 100644 resources/json_files/ex_5.json create mode 100644 resources/json_files/ex_6.json diff --git a/resources/json_files/ex_4.json b/resources/json_files/ex_4.json new file mode 100644 index 0000000..7cab05c --- /dev/null +++ b/resources/json_files/ex_4.json @@ -0,0 +1,10 @@ +{ + "Description": "Example from in class 'Simplex Method' worksheet.", + "constraints": [ + [-1, 1], + [1, 3], + [1, -1] + ], + "constants": [3, 13, 1], + "objective": [1, 2] +} diff --git a/resources/json_files/ex_5.json b/resources/json_files/ex_5.json new file mode 100644 index 0000000..679014b --- /dev/null +++ b/resources/json_files/ex_5.json @@ -0,0 +1,9 @@ +{ + "Description": "Example from our Algorithms book on page 886. Shows a problem that makes full use of our initialize method.", + "constraints": [ + [2, -1], + [1, -5] + ], + "constants": [2, -4], + "objective": [2, -1] +} diff --git a/resources/json_files/ex_6.json b/resources/json_files/ex_6.json new file mode 100644 index 0000000..9732b02 --- /dev/null +++ b/resources/json_files/ex_6.json @@ -0,0 +1,10 @@ +{ + "Description": "Example from our Algorithms book on page 865. Shows an 'extended example' of simplex.", + "constraints": [ + [1, 1, 3], + [2, 2, 5], + [4, 1, 2] + ], + "constants": [30, 24, 36], + "objective": [3, 1, 2] +} -- GitLab