Download OpenAPI specification:
| id | string or null |
object (TORequest) |
{- "id": "string",
- "request": {
- "options": {
- "workingDays": [
- "string"
], - "inequalityLoadBetweenMachines": 0,
- "timeHorizon": {
- "startDate": "string",
- "endDate": "string"
}, - "tickDuration": 0,
- "differentMachinesMoveDuration": 0,
- "sequentialExecutionBonus": 0,
- "maxTimeDuration": 0,
- "threadsCount": 0
}, - "services": [
- {
- "id": "string",
- "type": 0,
- "resource": 0,
- "daysLeft": 0,
- "earlyPenalty": 0,
- "dayEarlyPenalty": 0,
- "latePenalty": 0,
- "dayLatePenalty": 0,
- "notEarly": 0.1,
- "nightHolding": true,
- "complexity": 0,
- "unServicePenalty": 0,
- "maxRepeat": 0,
- "serviceBonus": 0
}
], - "machines": [
- {
- "id": "string",
- "startDate": "string",
- "endDate": "string",
- "reservedDates": [
- "string"
], - "speeds": [
- {
- "type": 0,
- "speed": 0
}
], - "activationCost": 0,
- "dayActivationCost": 0,
- "tickCost": [
- {
- "type": 0,
- "cost": 0
}
], - "workRegime": {
- "startTime": "string",
- "endTime": "string"
}, - "machineHoursPenalty": [
- 0
]
}
], - "equipment": [
- {
- "id": "string",
- "startDate": "string",
- "endDate": "string",
- "initialResource": [
- {
- "type": 0,
- "days": 0,
- "resource": 0,
- "predictedDayWork": 0,
- "predictedWorkingCategory": 0.1
}
], - "services": [
- "string"
], - "skipDayPenalty": 0
}
]
}
}"string"| taskId required | string Идентификатор задачи |
{- "id": "string",
- "response": {
- "machines": [
- {
- "machineId": "string",
- "calendar": [
- {
- "date": "string",
- "jobs": [
- {
- "jobId": "string",
- "equipmentID": "string",
- "serviceType": 0,
- "startTime": "string",
- "endTime": "string",
- "durationTicks": 0,
- "ticksCost": 0
}
]
}
], - "dayActivationCost": 0,
- "daysActive": 0,
- "tickCost": 0,
- "utilisedTicks": 0,
- "tickUtilization": 0.1,
- "daysUtilization": 0.1,
- "reservedDates": [
- "string"
], - "startTime": "string",
- "endTime": "string",
- "startDate": "string",
- "endDate": "string"
}
], - "cost": {
- "totalCost": 0,
- "serviceBonuses": 0,
- "machinesTickCost": 0,
- "unServiceJobsPenalty": 0,
- "earlyLateServicePenalty": 0,
- "skipDayPenalty": 0,
- "sequentialJobsBonus": 0,
- "inequalityDaysPenaltyPerMachine": 0,
- "machinesDayActivationCost": 0,
- "machinesActivationCosts": 0,
- "inequalityLoadBetweenMachines": 0,
- "totalTickUtilization": 0.1,
- "totalDaysUtilization": 0.1,
- "unserviceJobs": [
- {
- "equipmentID": "string",
- "serviceID": "string",
- "count": 0
}
]
}, - "weekEnds": [
- "string"
], - "equipments": [
- {
- "equipmentID": "string",
- "jobs": {
- "property1": [
- {
- "to": "string",
- "startDay": "string",
- "endDay": "string",
- "earlyDay": "string",
- "lateDay": "string",
- "machine": "string",
- "startTimeTick": 0,
- "active": true,
- "sequentialNumber": 0
}
], - "property2": [
- {
- "to": "string",
- "startDay": "string",
- "endDay": "string",
- "earlyDay": "string",
- "lateDay": "string",
- "machine": "string",
- "startTimeTick": 0,
- "active": true,
- "sequentialNumber": 0
}
]
}
}
], - "step": 0,
- "exactSolution": true
}
}Предназначен для решения коротких маршрутов. Для задач, решение которых занимает больше 10 секунд, используйте асинхронный запрос.
| id | string or null |
object (TORequest) |
{- "id": "string",
- "request": {
- "options": {
- "workingDays": [
- "string"
], - "inequalityLoadBetweenMachines": 0,
- "timeHorizon": {
- "startDate": "string",
- "endDate": "string"
}, - "tickDuration": 0,
- "differentMachinesMoveDuration": 0,
- "sequentialExecutionBonus": 0,
- "maxTimeDuration": 0,
- "threadsCount": 0
}, - "services": [
- {
- "id": "string",
- "type": 0,
- "resource": 0,
- "daysLeft": 0,
- "earlyPenalty": 0,
- "dayEarlyPenalty": 0,
- "latePenalty": 0,
- "dayLatePenalty": 0,
- "notEarly": 0.1,
- "nightHolding": true,
- "complexity": 0,
- "unServicePenalty": 0,
- "maxRepeat": 0,
- "serviceBonus": 0
}
], - "machines": [
- {
- "id": "string",
- "startDate": "string",
- "endDate": "string",
- "reservedDates": [
- "string"
], - "speeds": [
- {
- "type": 0,
- "speed": 0
}
], - "activationCost": 0,
- "dayActivationCost": 0,
- "tickCost": [
- {
- "type": 0,
- "cost": 0
}
], - "workRegime": {
- "startTime": "string",
- "endTime": "string"
}, - "machineHoursPenalty": [
- 0
]
}
], - "equipment": [
- {
- "id": "string",
- "startDate": "string",
- "endDate": "string",
- "initialResource": [
- {
- "type": 0,
- "days": 0,
- "resource": 0,
- "predictedDayWork": 0,
- "predictedWorkingCategory": 0.1
}
], - "services": [
- "string"
], - "skipDayPenalty": 0
}
]
}
}{- "id": "string",
- "response": {
- "machines": [
- {
- "machineId": "string",
- "calendar": [
- {
- "date": "string",
- "jobs": [
- {
- "jobId": "string",
- "equipmentID": "string",
- "serviceType": 0,
- "startTime": "string",
- "endTime": "string",
- "durationTicks": 0,
- "ticksCost": 0
}
]
}
], - "dayActivationCost": 0,
- "daysActive": 0,
- "tickCost": 0,
- "utilisedTicks": 0,
- "tickUtilization": 0.1,
- "daysUtilization": 0.1,
- "reservedDates": [
- "string"
], - "startTime": "string",
- "endTime": "string",
- "startDate": "string",
- "endDate": "string"
}
], - "cost": {
- "totalCost": 0,
- "serviceBonuses": 0,
- "machinesTickCost": 0,
- "unServiceJobsPenalty": 0,
- "earlyLateServicePenalty": 0,
- "skipDayPenalty": 0,
- "sequentialJobsBonus": 0,
- "inequalityDaysPenaltyPerMachine": 0,
- "machinesDayActivationCost": 0,
- "machinesActivationCosts": 0,
- "inequalityLoadBetweenMachines": 0,
- "totalTickUtilization": 0.1,
- "totalDaysUtilization": 0.1,
- "unserviceJobs": [
- {
- "equipmentID": "string",
- "serviceID": "string",
- "count": 0
}
]
}, - "weekEnds": [
- "string"
], - "equipments": [
- {
- "equipmentID": "string",
- "jobs": {
- "property1": [
- {
- "to": "string",
- "startDay": "string",
- "endDay": "string",
- "earlyDay": "string",
- "lateDay": "string",
- "machine": "string",
- "startTimeTick": 0,
- "active": true,
- "sequentialNumber": 0
}
], - "property2": [
- {
- "to": "string",
- "startDay": "string",
- "endDay": "string",
- "earlyDay": "string",
- "lateDay": "string",
- "machine": "string",
- "startTimeTick": 0,
- "active": true,
- "sequentialNumber": 0
}
]
}
}
], - "step": 0,
- "exactSolution": true
}
}