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 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 convert Network IDs to Ampl IDs and vice versa