Initializing help system before first use

XPRStunerwritemethod

XPRStunerwritemethod


Purpose
This function writes the current tuner method to a given file or prints it to the console.
Synopsis
int XPRS_CC XPRStunerwritemethod(XPRSprob prob, const char* methodfile);
Arguments
prob 
The current problem.
methodfile 
The method file name, to which the tuner will write the current tuner method. If the input is stdout or STDOUT, then the tuner will print the method to the console instead.
Example 1 (Library)
XPRStunerwritemethod(prob, "method.xtm");
This writes the tuner method to the method.xtm file.
Example 2 (Library)
XPRStunerwritemethod(prob, "stdout");
This prints the tuner method to the console.
Further information

Please refer to Section The Tuner Method for more information about the tuner method, and Appendix The Tuner Method (.xtm) File for the format of the tuner method file.