The details of an optimization allow you to view the optimization proposed by CARL Optim graphically.
To remain consistent with the existing resource scheduling in CARL Source, the days of the week and daily hours displayed rely on the same parameters accessible in the "Resources" module settings.
Available Actions
Actions on an optimization are available if:
- The optimization result is in the Awaiting decision state,
- The validity period of the solution has not expired.
The 2 available actions are:
- Accept: Accepts the solution and triggers an update process of the data in CARL Source,
- Reject: Rejects the solution.
Solution Validity Duration
To avoid accepting an outdated solution and causing inconsistencies during integration into CARL Source, access to actions can be blocked by configuring the "BLOPTIM_VALIDITY_DURATION" module parameter found under the "Work" node. This parameter is by default initialized to 24 hours.
If the current date is later than the optimization date returned (which corresponds to the date the state AWAITING_VALID was reached) + BLOPTIM_VALIDITY_DURATION, then the buttons will be inaccessible.
Optimization States
CARL Optim States for an Optimization
The CARL Optim states are as follows:
- 400: Task submission failed because the request is invalid,
- 401: Task submission failed because the tenant is not authorized,
- 422: Task result retrieval failed because the allocated calculation time was insufficient, and the solver could not provide a solution,
- 500: Task result retrieval failed due to a data issue.
- 202: Task successfully submitted and still in progress,
- 200: Task successfully completed and result retrieved.
Carl Source States for an Optimization
The states of an optimization are managed through the BLOPTIMHISTOSTATUS workflow states:
- REQUEST: In preparation - Waiting for a response from CARL Optim. Associated with CARL Optim state 202,
- AWAITINGVALID: Awaiting decision - Waiting for the user's decision. Associated with CARL Optim state 200,
- VALIDATED: Validated - Optimization validated by the user,
- REJECTED: Rejected - Optimization rejected by the user,
- ERROR: Validation error - Optimization validated by the user but error during integration into CARL Source or error in retrieved data,
- PURGED: Purged - Optimization purged by the user,
- NOT_FOUND: Solution not found.