write_patterson_file

Write the project data to a Patterson format (on file or on screen).

This function can be used to convert the PSPLIB format to a Patterson format using the P2Reader:read_psplib_file function. The filename has to be set as the argument of the function. When no argument is set, the data will be printed to the screen.

Parameters: 
I/O Type Name Description
input string filename Name of the output file (optional)
Example: 
function ()
        io.write('\n')
end
Class: 
P2Reader