aboutsummaryrefslogtreecommitdiffstats
path: root/test/optengine-tests/test_optengine_invalid_solver.json
blob: a967c161c630832da743227ba8e7aad2e07564b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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; "
    }
  }
}