Interface ModelPostProcessor


public interface ModelPostProcessor
  • Method Details

    • process

      void process(ModelOutput modelOutput, SolverModel<?> solverModel, String id)
      Process successfully solved model run.

      The post processor is called when solver terminates either by meeting termination conditions or by termination request.

      Parameters:
      solverModel - the model with all data taken from the solving
      id - unique identifier of the model
    • processComputed

      default void processComputed(ModelOutput modelOutput, SolverModel<?> solverModel, String id)
      Process successfully computed model (not yet solved).

      The post processor is called when dataset is validated and its initial outputs computed.

      Parameters:
      solverModel - the model
      id - unique identifier of the model
    • processFailed

      default void processFailed(String id, Throwable error)
      Process failed model run
      Parameters:
      id - unique identifier of the user model
      error - the error that caused the solving failure