int user_io(void *user)
Here, the user can read in an instance in a custom format and set up appropriate data structures. If the user wants to use the default parsers to read either an MPS file or a GMPL/AMPL file, then the return value USER_DEFAULT should be specified (see user_readparams for the command-line switches to use to specify this behavior).
void *user | IN | Pointer to the user-defined data structure. |
USER_ERROR | Error. SYMPHONY stops. |
USER_SUCCESS | User I/O was completed successfully. |
USER_DEFAULT | Input will be read in from an MPS or GMPL/AMPL file. |