Quintiq file version 2.0
|
#parent: #root
|
Method InitDebugMode (
|
MathematicalProgram program
|
) const
|
{
|
Description: 'Initialize the settings of the debug mode'
|
TextBody:
|
[*
|
extension := CapacityPlanningSuboptimizer::ProblemFileExtension();
|
|
program.ProblemFileName( Translations::Algorithm_MP_ProblemFileName( ( 0 ).AsQUILL(), extension ) );
|
|
if( this.IsLPFileExported() )
|
{
|
// Write solution file at the end of the Cplex run
|
program.WriteSolFile( true );
|
// Write Cplex run parameters to .prm file
|
program.WriteParameters( true );
|
// Write MST file. MST file format is available to specify MIP start values for particular variables, most commonly the integer variables.
|
program.WriteMSTFile( true );
|
// Turn on the MIP Kappa computation (for a sample of subproblems
|
program.AddNumberParameter( 2137, 1 );
|
// For MIPs, display information about the LP subproblem at the root node
|
program.AddNumberParameter( 2012, 4 );
|
}
|
else //reset the ProblemFileName to empty, no .lp / .ord fill will be created
|
{
|
program.ProblemFileName( '' );
|
}
|
*]
|
InterfaceProperties { Accessibility: 'Module' }
|
}
|