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
All Methods Instance Methods Abstract 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
Collection<AmplInputFile> getInputParameters()
Collection of input files to add before launching an Ampl solve.
-
getOutputParameters
Collection<AmplOutputFile> getOutputParameters(boolean hasConverged)
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:
AmplModel.checkModelConvergence(java.util.Map<java.lang.String, java.lang.String>)
-
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
-
-