Interface ModelValidator<ModelInput_ extends ModelInput, ModelConfigOverrides_ extends ModelConfigOverrides>

Type Parameters:
ModelInput_ - the type of the model input

public interface ModelValidator<ModelInput_ extends ModelInput, ModelConfigOverrides_ extends ModelConfigOverrides>
Provides a complex validation of the model input before the solving, or other operation, starts.
  • Method Details

    • validate

      default void validate(ValidationBuilder validationBuilder, ModelInput_ modelInput, ModelConfig<ModelConfigOverrides_> modelConfig)
      Validates the model input before the solving, or other operation, starts.
      Parameters:
      validationBuilder - ValidationBuilder instance to add validation issues to; never null
      modelInput - the model input; never null
      modelConfig - the model configuration; never null