Package com.powsybl.ampl.executor
Interface AmplInputFile
-
public interface AmplInputFile
An additional file provided to an Ampl run. Useful when you need more information for your ampl model.- Author:
- Nicolas PIERRE
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getFileName()
Name of the file to addInputStream
getParameterFileAsStream(StringToIntMapper<AmplSubset> networkAmplMapper)
InputStream to write in the file.
-
-
-
Method Detail
-
getFileName
String getFileName()
Name of the file to add
-
getParameterFileAsStream
InputStream getParameterFileAsStream(StringToIntMapper<AmplSubset> networkAmplMapper)
InputStream to write in the file. Called before the ampl solve.- Parameters:
networkAmplMapper
- Mapper to convertNetwork
IDs to Ampl IDs and vice versa
-
-