Package com.powsybl.ampl.executor
Interface AmplParameters
- All Known Implementing Classes:
EmptyAmplParameters
public interface AmplParameters
Parameters to interface extension to the defaults Ampl model files needed.
-
Method Summary
Modifier and TypeMethodDescriptionConfiguration for AmplExporterCollection of input files to add before launching an Ampl solve.getOutputParameters
(boolean hasConverged) Collection of output files to read after an Ampl solve.boolean
isDebug()
Check if run is done in debug mode.
-
Method Details
-
getInputParameters
Collection<AmplInputFile> getInputParameters()Collection of input files to add before launching an Ampl solve. -
getOutputParameters
Collection of output files to read after an Ampl solve. All the files will be read, even if some throws IOExceptions while parsing.- Parameters:
hasConverged
- boolean indicating if the model has converged.- See Also:
-
isDebug
boolean isDebug()Check if run is done in debug mode. In debug mode, AMPL temporary files are not deleted.- Returns:
- true if debug mode is on, else otherwise
-
getAmplExportConfig
AmplExportConfig getAmplExportConfig()Configuration for AmplExporter
-