diff --git a/express/requests.rest b/express/requests.rest index e605540..02640ee 100644 --- a/express/requests.rest +++ b/express/requests.rest @@ -3,7 +3,8 @@ Content-Type: application/json { "language": "python", - "content": "f(x)=x^2+2x+1 with the constraint x≥2" + "content": "f(x) = x^3 + 2x + 1 with the constraint x≥2", + "type": "code" } ### diff --git a/express/server.js b/express/server.js index 2799cc4..688ea0b 100644 --- a/express/server.js +++ b/express/server.js @@ -71,7 +71,7 @@ const get_family_schema = { family: { type: "string", description: - "either Linear Programming, Quadratic Programming and Semidefinite Programming", + "Family of the problem that is most likely to. Must be one of 'Linear Programming', 'Quadratic Programming' or 'Semidefinite Programming'", }, }, required: ["family"], @@ -104,7 +104,7 @@ const get_family = async (content) => { Minimize: Tr(C⋅X) Subject to: Tr(Ai⋅X)=bi, i=1,...,m and X⪰0 - Output your answer in either Linear Programming, Quadratic Programming and Semidefinite Programming + Output your answer in either 'Linear Programming', 'Quadratic Programming' or 'Semidefinite Programming' `, }, {