Package com.powsybl.ampl.executor
Class EmptyAmplParameters
- java.lang.Object
-
- com.powsybl.ampl.executor.EmptyAmplParameters
-
- All Implemented Interfaces:
AmplParameters
public class EmptyAmplParameters extends Object implements AmplParameters
- Author:
- Nicolas Pierre
-
-
Constructor Summary
Constructors Constructor Description EmptyAmplParameters()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<AmplInputFile>
getInputParameters()
Collection of input files to add before launching an Ampl solve.Collection<AmplOutputFile>
getOutputParameters(boolean hasConverged)
Collection of output files to read after an Ampl solve.boolean
isDebug()
Check if run is done in debug mode.
-
-
-
Method Detail
-
getInputParameters
public Collection<AmplInputFile> getInputParameters()
Description copied from interface:AmplParameters
Collection of input files to add before launching an Ampl solve.- Specified by:
getInputParameters
in interfaceAmplParameters
-
getOutputParameters
public Collection<AmplOutputFile> getOutputParameters(boolean hasConverged)
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:
AmplModel.checkModelConvergence(java.util.Map<java.lang.String, java.lang.String>)
-
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
-
-