curl --request POST \
--url https://api.erna.ai/v1/solver/solve \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"variables": [
{
"type": "bool",
"name": "<string>"
}
],
"constraints": [
{
"type": "linear",
"terms": [
{
"var": "<string>",
"coeff": 123
}
],
"op": "<=",
"rhs": 123
}
],
"objective": {
"sense": "minimize",
"terms": [
{
"var": "<string>",
"coeff": 123
}
]
},
"options": {
"timeLimitSeconds": 123,
"solutionLimit": 123
}
}
'