Adding the generic solver code
[optf/osdf.git] / test / optengine-tests / test_optengine_invalid_solver.json
diff --git a/test/optengine-tests/test_optengine_invalid_solver.json b/test/optengine-tests/test_optengine_invalid_solver.json
new file mode 100644 (file)
index 0000000..a967c16
--- /dev/null
@@ -0,0 +1,15 @@
+{
+  "requestInfo": {
+    "transactionId": "xxx-xxx-xxxx",
+    "requestID": "yyy-yyy-yyyy",
+    "sourceId": "cmopt",
+    "timeout": 600
+  },
+  "optimInfo": {
+    "solver": "apy",
+    "modelContent": "import sys\r\n\r\nif __name__ == \"__main__\":\r\n    print(sys.argv[1],sys.argv[2])\r\n\r\n    with open(sys.argv[2], \"wt\") as f:\r\n        f.write('{\"hello\":\"world\",\"another\":\"string\"}')\r\n\r\n",
+    "optData": {
+      "text": "flour = 8000; \r\nbanana = 11; \r\nsugar = 3000; \r\nbutter = 1500; \r\ncocoa = 800; "
+    }
+  }
+}
\ No newline at end of file