Package com.powsybl.ampl.executor
Class EmptyAmplParameters
java.lang.Object
com.powsybl.ampl.executor.EmptyAmplParameters
- All Implemented Interfaces:
AmplParameters
- Author:
- Nicolas Pierre <[email protected]>
-
Constructor Summary
-
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.
-
Constructor Details
-
EmptyAmplParameters
public EmptyAmplParameters()
-
-
Method Details
-
getInputParameters
Description copied from interface:AmplParameters
Collection of input files to add before launching an Ampl solve.- Specified by:
getInputParameters
in interfaceAmplParameters
-
getOutputParameters
Description copied from interface:AmplParameters
Collection of output files to read after an Ampl solve. All the files will be read, even if some throws IOExceptions while parsing.- Specified by:
getOutputParameters
in interfaceAmplParameters
- Parameters:
hasConverged
- boolean indicating if the model has converged.- See Also:
-
isDebug
public boolean isDebug()Description copied from interface:AmplParameters
Check if run is done in debug mode. In debug mode, AMPL temporary files are not deleted.- Specified by:
isDebug
in interfaceAmplParameters
- Returns:
- true if debug mode is on, else otherwise
-
getAmplExportConfig
Description copied from interface:AmplParameters
Configuration for AmplExporter- Specified by:
getAmplExportConfig
in interfaceAmplParameters
-