Interface AmplOutputFile


  • public interface AmplOutputFile
    An additional file to read as output of an Ampl run.
    Author:
    Nicolas PIERRE
    • Method Detail

      • getFileName

        String getFileName()
        Name of the file to read
      • read

        void read​(Path outputPath,
                  StringToIntMapper<AmplSubset> networkAmplMapper)
           throws IOException
        Consummer of the output file. Will be called if the Ampl solve is successful.

        No check is done on the presence of the file.

        Parameters:
        outputPath - Path representing the outputfile
        networkAmplMapper - Mapper to convert Network IDs to Ampl IDs and vice versa
        Throws:
        IOException