Scippy

SCIP

Solving Constraint Integer Programs

dialog_default.c File Reference

Detailed Description

default user interface dialog

Author
Tobias Achterberg
Timo Berthold
Gerald Gamrath

Definition in file dialog_default.c.

#include <assert.h>
#include <string.h>
#include "scip/dialog_default.h"
#include "nlpi/nlpi.h"

Go to the source code of this file.

Functions

static SCIP_RETCODE dialogExecMenu (SCIP *scip, SCIP_DIALOG *dialog, SCIP_DIALOGHDLR *dialoghdlr, SCIP_DIALOG **nextdialog)
 
static SCIP_Bool parseBoolValue (SCIP *scip, const char *valuestr, SCIP_Bool *error)
 
static void displayReaders (SCIP *scip, SCIP_Bool reader, SCIP_Bool writer)
 
static SCIP_RETCODE writeProblem (SCIP *scip, SCIP_DIALOG *dialog, SCIP_DIALOGHDLR *dialoghdlr, SCIP_DIALOG **nextdialog, SCIP_Bool transformed, SCIP_Bool genericnames)
 
static SCIP_DECL_DIALOGCOPY (dialogCopyDefault)
 
 SCIP_DECL_DIALOGEXEC (SCIPdialogExecMenu)
 
 SCIP_DECL_DIALOGEXEC (SCIPdialogExecMenuLazy)
 
 SCIP_DECL_DIALOGEXEC (SCIPdialogExecChangeAddCons)
 
 SCIP_DECL_DIALOGEXEC (SCIPdialogExecChangeBounds)
 
 SCIP_DECL_DIALOGEXEC (SCIPdialogExecChangeFreetransproblem)
 
 SCIP_DECL_DIALOGEXEC (SCIPdialogExecChangeObjSense)
 
 SCIP_DECL_DIALOGEXEC (SCIPdialogExecChecksol)
 
 SCIP_DECL_DIALOGEXEC (SCIPdialogExecCliquegraph)
 
 SCIP_DECL_DIALOGEXEC (SCIPdialogExecDisplayBranching)
 
 SCIP_DECL_DIALOGEXEC (SCIPdialogExecDisplayRelaxators)
 
 SCIP_DECL_DIALOGEXEC (SCIPdialogExecDisplayConflict)
 
 SCIP_DECL_DIALOGEXEC (SCIPdialogExecDisplayConshdlrs)
 
 SCIP_DECL_DIALOGEXEC (SCIPdialogExecDisplayDisplaycols)
 
 SCIP_DECL_DIALOGEXEC (SCIPdialogExecDisplayHeuristics)
 
 SCIP_DECL_DIALOGEXEC (SCIPdialogExecDisplayMemory)
 
 SCIP_DECL_DIALOGEXEC (SCIPdialogExecDisplayNlpi)
 
 SCIP_DECL_DIALOGEXEC (SCIPdialogExecDisplayNodeselectors)
 
 SCIP_DECL_DIALOGEXEC (SCIPdialogExecDisplayParameters)
 
 SCIP_DECL_DIALOGEXEC (SCIPdialogExecDisplayPresolvers)
 
 SCIP_DECL_DIALOGEXEC (SCIPdialogExecDisplayPricers)
 
 SCIP_DECL_DIALOGEXEC (SCIPdialogExecDisplayProblem)
 
 SCIP_DECL_DIALOGEXEC (SCIPdialogExecDisplayPropagators)
 
 SCIP_DECL_DIALOGEXEC (SCIPdialogExecDisplayReaders)
 
 SCIP_DECL_DIALOGEXEC (SCIPdialogExecDisplaySeparators)
 
 SCIP_DECL_DIALOGEXEC (SCIPdialogExecDisplaySolution)
 
 SCIP_DECL_DIALOGEXEC (SCIPdialogExecDisplayDualSolution)
 
 SCIP_DECL_DIALOGEXEC (SCIPdialogExecDisplaySolutionPool)
 
 SCIP_DECL_DIALOGEXEC (SCIPdialogExecDisplayStatistics)
 
 SCIP_DECL_DIALOGEXEC (SCIPdialogExecDisplayReoptStatistics)
 
 SCIP_DECL_DIALOGEXEC (SCIPdialogExecDisplayCompression)
 
 SCIP_DECL_DIALOGEXEC (SCIPdialogExecDisplayTransproblem)
 
 SCIP_DECL_DIALOGEXEC (SCIPdialogExecDisplayValue)
 
 SCIP_DECL_DIALOGEXEC (SCIPdialogExecDisplayVarbranchstatistics)
 
 SCIP_DECL_DIALOGEXEC (SCIPdialogExecDisplayLPSolutionQuality)
 
 SCIP_DECL_DIALOGEXEC (SCIPdialogExecHelp)
 
 SCIP_DECL_DIALOGEXEC (SCIPdialogExecDisplayTranssolution)
 
 SCIP_DECL_DIALOGEXEC (SCIPdialogExecFree)
 
 SCIP_DECL_DIALOGEXEC (SCIPdialogExecNewstart)
 
 SCIP_DECL_DIALOGEXEC (SCIPdialogExecTransform)
 
 SCIP_DECL_DIALOGEXEC (SCIPdialogExecOptimize)
 
 SCIP_DECL_DIALOGEXEC (SCIPdialogExecPresolve)
 
 SCIP_DECL_DIALOGEXEC (SCIPdialogExecQuit)
 
 SCIP_DECL_DIALOGEXEC (SCIPdialogExecRead)
 
 SCIP_DECL_DIALOGEXEC (SCIPdialogExecSetDefault)
 
 SCIP_DECL_DIALOGEXEC (SCIPdialogExecSetLoad)
 
 SCIP_DECL_DIALOGEXEC (SCIPdialogExecSetSave)
 
 SCIP_DECL_DIALOGEXEC (SCIPdialogExecSetDiffsave)
 
 SCIP_DECL_DIALOGEXEC (SCIPdialogExecSetParam)
 
 SCIP_DECL_DIALOGDESC (SCIPdialogDescSetParam)
 
 SCIP_DECL_DIALOGEXEC (SCIPdialogExecFixParam)
 
 SCIP_DECL_DIALOGDESC (SCIPdialogDescFixParam)
 
 SCIP_DECL_DIALOGEXEC (SCIPdialogExecSetBranchingDirection)
 
 SCIP_DECL_DIALOGEXEC (SCIPdialogExecSetBranchingPriority)
 
 SCIP_DECL_DIALOGEXEC (SCIPdialogExecSetHeuristicsAggressive)
 
 SCIP_DECL_DIALOGEXEC (SCIPdialogExecSetHeuristicsFast)
 
 SCIP_DECL_DIALOGEXEC (SCIPdialogExecSetHeuristicsOff)
 
 SCIP_DECL_DIALOGEXEC (SCIPdialogExecSetPresolvingAggressive)
 
 SCIP_DECL_DIALOGEXEC (SCIPdialogExecSetPresolvingFast)
 
 SCIP_DECL_DIALOGEXEC (SCIPdialogExecSetPresolvingOff)
 
 SCIP_DECL_DIALOGEXEC (SCIPdialogExecSetSeparatingAggressive)
 
 SCIP_DECL_DIALOGEXEC (SCIPdialogExecSetSeparatingFast)
 
 SCIP_DECL_DIALOGEXEC (SCIPdialogExecSetSeparatingOff)
 
 SCIP_DECL_DIALOGEXEC (SCIPdialogExecSetEmphasisCounter)
 
 SCIP_DECL_DIALOGEXEC (SCIPdialogExecSetEmphasisCpsolver)
 
 SCIP_DECL_DIALOGEXEC (SCIPdialogExecSetEmphasisEasycip)
 
 SCIP_DECL_DIALOGEXEC (SCIPdialogExecSetEmphasisFeasibility)
 
 SCIP_DECL_DIALOGEXEC (SCIPdialogExecSetEmphasisHardlp)
 
 SCIP_DECL_DIALOGEXEC (SCIPdialogExecSetEmphasisOptimality)
 
 SCIP_DECL_DIALOGEXEC (SCIPdialogExecSetLimitsObjective)
 
static SCIP_DECL_DIALOGEXEC (SCIPdialogExecWriteLp)
 
static SCIP_DECL_DIALOGEXEC (SCIPdialogExecWriteMip)
 
static SCIP_DECL_DIALOGEXEC (SCIPdialogExecWriteNlp)
 
static SCIP_DECL_DIALOGEXEC (SCIPdialogExecWriteProblem)
 
static SCIP_DECL_DIALOGEXEC (SCIPdialogExecWriteGenProblem)
 
static SCIP_DECL_DIALOGEXEC (SCIPdialogExecWriteSolution)
 
static SCIP_DECL_DIALOGEXEC (SCIPdialogExecWriteFiniteSolution)
 
static SCIP_DECL_DIALOGEXEC (SCIPdialogExecWriteStatistics)
 
static SCIP_DECL_DIALOGEXEC (SCIPdialogExecWriteTransproblem)
 
static SCIP_DECL_DIALOGEXEC (SCIPdialogExecWriteGenTransproblem)
 
SCIP_RETCODE SCIPcreateRootDialog (SCIP *scip, SCIP_DIALOG **root)
 
SCIP_RETCODE SCIPincludeDialogDefault (SCIP *scip)
 
static SCIP_RETCODE addSetParamDialog (SCIP *scip, SCIP_DIALOG *menu, SCIP_PARAM *param, char *paramname)
 
static SCIP_RETCODE addFixParamDialog (SCIP *scip, SCIP_DIALOG *menu, SCIP_PARAM *param, char *paramname)
 
static SCIP_RETCODE createEmphasisSubmenu (SCIP *scip, SCIP_DIALOG *root, SCIP_DIALOG **submenu)
 
SCIP_RETCODE SCIPincludeDialogDefaultSet (SCIP *scip)
 
SCIP_RETCODE SCIPincludeDialogDefaultFix (SCIP *scip)
 

Function Documentation

static SCIP_RETCODE dialogExecMenu ( SCIP scip,
SCIP_DIALOG dialog,
SCIP_DIALOGHDLR dialoghdlr,
SCIP_DIALOG **  nextdialog 
)
static

executes a menu dialog

Parameters
scipSCIP data structure
dialogdialog menu
dialoghdlrdialog handler
nextdialogpointer to store next dialog to execute

Definition at line 35 of file dialog_default.c.

References FALSE, NULL, SCIP_Bool, SCIP_CALL, SCIP_OKAY, SCIPdialogDisplayCompletions(), SCIPdialogFindEntry(), SCIPdialogGetParent(), SCIPdialoghdlrClearBuffer(), SCIPdialoghdlrGetRoot(), SCIPdialoghdlrGetWord(), SCIPdialogMessage(), and TRUE.

Referenced by SCIP_DECL_DIALOGEXEC().

static SCIP_Bool parseBoolValue ( SCIP scip,
const char *  valuestr,
SCIP_Bool error 
)
static
Parameters
scipSCIP data structure
valuestrstring to parse
errorpointer to store the error result

Definition at line 100 of file dialog_default.c.

References FALSE, NULL, SCIPdialogMessage(), and TRUE.

Referenced by SCIP_DECL_DIALOGEXEC().

static void displayReaders ( SCIP scip,
SCIP_Bool  reader,
SCIP_Bool  writer 
)
static
Parameters
scipSCIP data structure
readerdisplay reader which can read
writerdisplay reader which can write

Definition at line 138 of file dialog_default.c.

References NULL, SCIPdialogMessage(), SCIPgetNReaders(), SCIPgetReaders(), SCIPreaderCanRead(), SCIPreaderCanWrite(), SCIPreaderGetDesc(), SCIPreaderGetExtension(), and SCIPreaderGetName().

Referenced by SCIP_DECL_DIALOGEXEC(), and writeProblem().

static SCIP_RETCODE writeProblem ( SCIP scip,
SCIP_DIALOG dialog,
SCIP_DIALOGHDLR dialoghdlr,
SCIP_DIALOG **  nextdialog,
SCIP_Bool  transformed,
SCIP_Bool  genericnames 
)
static
Parameters
scipSCIP data structure
dialogdialog menu
dialoghdlrdialog handler
nextdialogpointer to store next dialog to execute
transformedoutput the transformed problem?
genericnamesusing generic variable and constraint names?

Definition at line 175 of file dialog_default.c.

References displayReaders(), FALSE, NULL, SCIP_Bool, SCIP_CALL, SCIP_FILECREATEERROR, SCIP_OKAY, SCIP_PLUGINNOTFOUND, SCIP_WRITEERROR, SCIPdialoghdlrAddHistory(), SCIPdialoghdlrClearBuffer(), SCIPdialoghdlrGetWord(), SCIPdialogMessage(), SCIPduplicateBufferArray, SCIPfreeBufferArray, SCIPwriteOrigProblem(), SCIPwriteTransProblem(), and TRUE.

Referenced by SCIP_DECL_DIALOGEXEC().

static SCIP_DECL_DIALOGCOPY ( dialogCopyDefault  )
static

copy method for dialog plugins (called when SCIP copies plugins)

Definition at line 270 of file dialog_default.c.

References NULL, SCIP_CALL, SCIP_OKAY, and SCIPincludeDialogDefault().

SCIP_DECL_DIALOGEXEC ( SCIPdialogExecMenu  )

standard menu dialog execution method, that displays it's help screen if the remaining command line is empty

Definition at line 282 of file dialog_default.c.

References dialogExecMenu(), NULL, SCIP_CALL, SCIP_OKAY, SCIPdialogDisplayMenu(), SCIPdialoghdlrIsBufferEmpty(), and SCIPdialogMessage().

SCIP_DECL_DIALOGEXEC ( SCIPdialogExecMenuLazy  )

standard menu dialog execution method, that doesn't display it's help screen

Definition at line 298 of file dialog_default.c.

References dialogExecMenu(), SCIP_CALL, and SCIP_OKAY.

SCIP_DECL_DIALOGEXEC ( SCIPdialogExecChangeAddCons  )
SCIP_DECL_DIALOGEXEC ( SCIPdialogExecChangeFreetransproblem  )

dialog execution method for the freetransproblem command

Definition at line 468 of file dialog_default.c.

References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPdialoghdlrAddHistory(), SCIPdialoghdlrGetRoot(), and SCIPfreeTransform().

SCIP_DECL_DIALOGEXEC ( SCIPdialogExecChangeObjSense  )
SCIP_DECL_DIALOGEXEC ( SCIPdialogExecCliquegraph  )
SCIP_DECL_DIALOGEXEC ( SCIPdialogExecDisplayRelaxators  )
SCIP_DECL_DIALOGEXEC ( SCIPdialogExecDisplayHeuristics  )
SCIP_DECL_DIALOGEXEC ( SCIPdialogExecDisplayMemory  )

dialog execution method for the display memory command

Definition at line 881 of file dialog_default.c.

References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPdialoghdlrAddHistory(), SCIPdialoghdlrGetRoot(), SCIPdialogMessage(), and SCIPprintMemoryDiagnostic().

SCIP_DECL_DIALOGEXEC ( SCIPdialogExecDisplayNlpi  )
SCIP_DECL_DIALOGEXEC ( SCIPdialogExecDisplayNodeselectors  )
SCIP_DECL_DIALOGEXEC ( SCIPdialogExecDisplayParameters  )

dialog execution method for the display parameters command

Definition at line 979 of file dialog_default.c.

References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPdialoghdlrAddHistory(), SCIPdialoghdlrGetRoot(), SCIPdialogMessage(), SCIPgetNParams(), SCIPwriteParams(), and TRUE.

SCIP_DECL_DIALOGEXEC ( SCIPdialogExecDisplayPricers  )
SCIP_DECL_DIALOGEXEC ( SCIPdialogExecDisplayProblem  )

dialog execution method for the display problem command

Definition at line 1067 of file dialog_default.c.

References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIP_STAGE_PROBLEM, SCIPdialoghdlrAddHistory(), SCIPdialoghdlrGetRoot(), SCIPdialogMessage(), SCIPgetStage(), and SCIPprintOrigProblem().

SCIP_DECL_DIALOGEXEC ( SCIPdialogExecDisplayReaders  )

dialog execution method for the display readers command

Definition at line 1129 of file dialog_default.c.

References displayReaders(), FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPdialoghdlrAddHistory(), SCIPdialoghdlrGetRoot(), and TRUE.

SCIP_DECL_DIALOGEXEC ( SCIPdialogExecDisplaySeparators  )
SCIP_DECL_DIALOGEXEC ( SCIPdialogExecDisplaySolution  )

dialog execution method for the display solution command

Definition at line 1176 of file dialog_default.c.

References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPdialoghdlrAddHistory(), SCIPdialoghdlrGetRoot(), SCIPdialogMessage(), and SCIPprintBestSol().

SCIP_DECL_DIALOGEXEC ( SCIPdialogExecDisplayDualSolution  )

dialog execution method for the display dual solution command

Definition at line 1190 of file dialog_default.c.

References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPdialoghdlrAddHistory(), SCIPdialoghdlrGetRoot(), SCIPdialogMessage(), and SCIPprintDualSol().

SCIP_DECL_DIALOGEXEC ( SCIPdialogExecDisplaySolutionPool  )
SCIP_DECL_DIALOGEXEC ( SCIPdialogExecDisplayStatistics  )

dialog execution method for the display statistics command

Definition at line 1261 of file dialog_default.c.

References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPdialoghdlrAddHistory(), SCIPdialoghdlrGetRoot(), SCIPdialogMessage(), and SCIPprintStatistics().

SCIP_DECL_DIALOGEXEC ( SCIPdialogExecDisplayReoptStatistics  )

dialog execution method for the display reoptstatistics command

Definition at line 1275 of file dialog_default.c.

References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPdialoghdlrAddHistory(), SCIPdialoghdlrGetRoot(), SCIPdialogMessage(), and SCIPprintReoptStatistics().

SCIP_DECL_DIALOGEXEC ( SCIPdialogExecDisplayCompression  )
SCIP_DECL_DIALOGEXEC ( SCIPdialogExecDisplayTransproblem  )

dialog execution method for the display transproblem command

Definition at line 1331 of file dialog_default.c.

References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIP_STAGE_TRANSFORMED, SCIPdialoghdlrAddHistory(), SCIPdialoghdlrGetRoot(), SCIPdialogMessage(), SCIPgetStage(), and SCIPprintTransProblem().

SCIP_DECL_DIALOGEXEC ( SCIPdialogExecDisplayVarbranchstatistics  )

dialog execution method for the display varbranchstatistics command

Definition at line 1409 of file dialog_default.c.

References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPdialoghdlrAddHistory(), SCIPdialoghdlrGetRoot(), SCIPdialogMessage(), and SCIPprintBranchingStatistics().

SCIP_DECL_DIALOGEXEC ( SCIPdialogExecDisplayLPSolutionQuality  )

dialog execution method for the display LP solution quality command

Definition at line 1423 of file dialog_default.c.

References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPdialoghdlrAddHistory(), SCIPdialoghdlrGetRoot(), SCIPdialogMessage(), and SCIPprintLPSolutionQuality().

SCIP_DECL_DIALOGEXEC ( SCIPdialogExecHelp  )

dialog execution method for the help command

Definition at line 1437 of file dialog_default.c.

References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPdialogDisplayMenu(), SCIPdialogGetParent(), SCIPdialoghdlrAddHistory(), and SCIPdialogMessage().

SCIP_DECL_DIALOGEXEC ( SCIPdialogExecDisplayTranssolution  )
SCIP_DECL_DIALOGEXEC ( SCIPdialogExecFree  )

dialog execution method for the free command

Definition at line 1477 of file dialog_default.c.

References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPdialogGetParent(), SCIPdialoghdlrAddHistory(), and SCIPfreeProb().

SCIP_DECL_DIALOGEXEC ( SCIPdialogExecNewstart  )

dialog execution method for the newstart command

Definition at line 1489 of file dialog_default.c.

References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPdialogGetParent(), SCIPdialoghdlrAddHistory(), SCIPfreeSolve(), and TRUE.

SCIP_DECL_DIALOGEXEC ( SCIPdialogExecQuit  )

dialog execution method for the quit command

Definition at line 1630 of file dialog_default.c.

References NULL, SCIP_OKAY, and SCIPdialogMessage().

SCIP_DECL_DIALOGEXEC ( SCIPdialogExecSetDefault  )

dialog execution method for the set default command

Definition at line 1732 of file dialog_default.c.

References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPdialoghdlrAddHistory(), SCIPdialoghdlrGetRoot(), SCIPdialogMessage(), and SCIPresetParams().

SCIP_DECL_DIALOGEXEC ( SCIPdialogExecSetLoad  )
SCIP_DECL_DIALOGEXEC ( SCIPdialogExecSetSave  )
SCIP_DECL_DIALOGEXEC ( SCIPdialogExecSetDiffsave  )
SCIP_DECL_DIALOGEXEC ( SCIPdialogExecFixParam  )
SCIP_DECL_DIALOGDESC ( SCIPdialogDescFixParam  )

dialog description method for the fix parameter command

Definition at line 2140 of file dialog_default.c.

References NULL, SCIP_OKAY, SCIPdialogGetData(), SCIPdialogMessage(), SCIPparamGetDesc(), and SCIPparamIsFixed().

SCIP_DECL_DIALOGEXEC ( SCIPdialogExecSetBranchingPriority  )
SCIP_DECL_DIALOGEXEC ( SCIPdialogExecSetHeuristicsAggressive  )

dialog execution method for the set heuristics aggressive command

Definition at line 2316 of file dialog_default.c.

References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIP_PARAMSETTING_AGGRESSIVE, SCIPdialoghdlrAddHistory(), SCIPdialoghdlrGetRoot(), and SCIPsetHeuristics().

SCIP_DECL_DIALOGEXEC ( SCIPdialogExecSetHeuristicsFast  )

dialog execution method for the set heuristics fast command

Definition at line 2328 of file dialog_default.c.

References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIP_PARAMSETTING_FAST, SCIPdialoghdlrAddHistory(), SCIPdialoghdlrGetRoot(), and SCIPsetHeuristics().

SCIP_DECL_DIALOGEXEC ( SCIPdialogExecSetHeuristicsOff  )

dialog execution method for the set heuristics off command

Definition at line 2340 of file dialog_default.c.

References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIP_PARAMSETTING_OFF, SCIPdialoghdlrAddHistory(), SCIPdialoghdlrGetRoot(), and SCIPsetHeuristics().

SCIP_DECL_DIALOGEXEC ( SCIPdialogExecSetPresolvingAggressive  )

dialog execution method for the set heuristics aggressive command

Definition at line 2352 of file dialog_default.c.

References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIP_PARAMSETTING_AGGRESSIVE, SCIPdialoghdlrAddHistory(), SCIPdialoghdlrGetRoot(), and SCIPsetPresolving().

SCIP_DECL_DIALOGEXEC ( SCIPdialogExecSetPresolvingFast  )

dialog execution method for the set heuristics fast command

Definition at line 2364 of file dialog_default.c.

References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIP_PARAMSETTING_FAST, SCIPdialoghdlrAddHistory(), SCIPdialoghdlrGetRoot(), and SCIPsetPresolving().

SCIP_DECL_DIALOGEXEC ( SCIPdialogExecSetPresolvingOff  )

dialog execution method for the set heuristics off command

Definition at line 2376 of file dialog_default.c.

References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIP_PARAMSETTING_OFF, SCIPdialoghdlrAddHistory(), SCIPdialoghdlrGetRoot(), and SCIPsetPresolving().

SCIP_DECL_DIALOGEXEC ( SCIPdialogExecSetSeparatingAggressive  )

dialog execution method for the set heuristics aggressive command

Definition at line 2388 of file dialog_default.c.

References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIP_PARAMSETTING_AGGRESSIVE, SCIPdialoghdlrAddHistory(), SCIPdialoghdlrGetRoot(), and SCIPsetSeparating().

SCIP_DECL_DIALOGEXEC ( SCIPdialogExecSetSeparatingFast  )

dialog execution method for the set heuristics fast command

Definition at line 2400 of file dialog_default.c.

References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIP_PARAMSETTING_FAST, SCIPdialoghdlrAddHistory(), SCIPdialoghdlrGetRoot(), and SCIPsetSeparating().

SCIP_DECL_DIALOGEXEC ( SCIPdialogExecSetSeparatingOff  )

dialog execution method for the set heuristics off command

Definition at line 2412 of file dialog_default.c.

References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIP_PARAMSETTING_OFF, SCIPdialoghdlrAddHistory(), SCIPdialoghdlrGetRoot(), and SCIPsetSeparating().

SCIP_DECL_DIALOGEXEC ( SCIPdialogExecSetEmphasisCounter  )

dialog execution method for the set emphasis counter command

Definition at line 2424 of file dialog_default.c.

References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIP_PARAMEMPHASIS_COUNTER, SCIPdialoghdlrAddHistory(), SCIPdialoghdlrGetRoot(), SCIPresetParams(), and SCIPsetEmphasis().

SCIP_DECL_DIALOGEXEC ( SCIPdialogExecSetEmphasisCpsolver  )

dialog execution method for the set emphasis cpsolver command

Definition at line 2440 of file dialog_default.c.

References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIP_PARAMEMPHASIS_CPSOLVER, SCIPdialoghdlrAddHistory(), SCIPdialoghdlrGetRoot(), SCIPresetParams(), and SCIPsetEmphasis().

SCIP_DECL_DIALOGEXEC ( SCIPdialogExecSetEmphasisEasycip  )

dialog execution method for the set emphasis easy CIP command

Definition at line 2456 of file dialog_default.c.

References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIP_PARAMEMPHASIS_EASYCIP, SCIPdialoghdlrAddHistory(), SCIPdialoghdlrGetRoot(), SCIPresetParams(), and SCIPsetEmphasis().

SCIP_DECL_DIALOGEXEC ( SCIPdialogExecSetEmphasisFeasibility  )

dialog execution method for the set emphasis feasibility command

Definition at line 2472 of file dialog_default.c.

References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIP_PARAMEMPHASIS_FEASIBILITY, SCIPdialoghdlrAddHistory(), SCIPdialoghdlrGetRoot(), SCIPresetParams(), and SCIPsetEmphasis().

SCIP_DECL_DIALOGEXEC ( SCIPdialogExecSetEmphasisHardlp  )

dialog execution method for the set emphasis hard LP command

Definition at line 2488 of file dialog_default.c.

References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIP_PARAMEMPHASIS_HARDLP, SCIPdialoghdlrAddHistory(), SCIPdialoghdlrGetRoot(), SCIPresetParams(), and SCIPsetEmphasis().

SCIP_DECL_DIALOGEXEC ( SCIPdialogExecSetEmphasisOptimality  )

dialog execution method for the set emphasis optimality command

Definition at line 2504 of file dialog_default.c.

References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIP_PARAMEMPHASIS_OPTIMALITY, SCIPdialoghdlrAddHistory(), SCIPdialoghdlrGetRoot(), SCIPresetParams(), and SCIPsetEmphasis().

SCIP_DECL_DIALOGEXEC ( SCIPdialogExecSetLimitsObjective  )
static SCIP_DECL_DIALOGEXEC ( SCIPdialogExecWriteLp  )
static
static SCIP_DECL_DIALOGEXEC ( SCIPdialogExecWriteMip  )
static
static SCIP_DECL_DIALOGEXEC ( SCIPdialogExecWriteNlp  )
static
static SCIP_DECL_DIALOGEXEC ( SCIPdialogExecWriteProblem  )
static

dialog execution method for the write problem command

Definition at line 2803 of file dialog_default.c.

References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIP_STAGE_PROBLEM, SCIPdialoghdlrAddHistory(), SCIPdialoghdlrGetRoot(), SCIPdialogMessage(), SCIPgetStage(), and writeProblem().

static SCIP_DECL_DIALOGEXEC ( SCIPdialogExecWriteGenProblem  )
static

dialog execution method for the write generic problem command

Definition at line 2821 of file dialog_default.c.

References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIP_STAGE_PROBLEM, SCIPdialoghdlrAddHistory(), SCIPdialoghdlrGetRoot(), SCIPdialogMessage(), SCIPgetStage(), TRUE, and writeProblem().

static SCIP_DECL_DIALOGEXEC ( SCIPdialogExecWriteSolution  )
static
static SCIP_DECL_DIALOGEXEC ( SCIPdialogExecWriteFiniteSolution  )
static
static SCIP_DECL_DIALOGEXEC ( SCIPdialogExecWriteStatistics  )
static
static SCIP_DECL_DIALOGEXEC ( SCIPdialogExecWriteTransproblem  )
static

dialog execution method for the write transproblem command

Definition at line 3041 of file dialog_default.c.

References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIP_STAGE_TRANSFORMED, SCIPdialoghdlrAddHistory(), SCIPdialoghdlrGetRoot(), SCIPdialogMessage(), SCIPgetStage(), TRUE, and writeProblem().

static SCIP_DECL_DIALOGEXEC ( SCIPdialogExecWriteGenTransproblem  )
static

dialog execution method for the write generic transproblem command

Definition at line 3059 of file dialog_default.c.

References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIP_STAGE_TRANSFORMED, SCIPdialoghdlrAddHistory(), SCIPdialoghdlrGetRoot(), SCIPdialogMessage(), SCIPgetStage(), TRUE, and writeProblem().

SCIP_RETCODE SCIPcreateRootDialog ( SCIP scip,
SCIP_DIALOG **  root 
)

creates a root dialog

Parameters
scipSCIP data structure
rootpointer to store the root dialog

Definition at line 3076 of file dialog_default.c.

References NULL, SCIP_CALL, SCIP_OKAY, SCIPgetRootDialog(), SCIPincludeDialog(), SCIPreleaseDialog(), SCIPsetRootDialog(), and TRUE.

Referenced by SCIPincludeDialogDefault().

static SCIP_RETCODE addSetParamDialog ( SCIP scip,
SCIP_DIALOG menu,
SCIP_PARAM param,
char *  paramname 
)
static

if a '/' occurs in the parameter's name, adds a sub menu dialog to the given menu and inserts the parameter dialog recursively in the sub menu; if no '/' occurs in the name, adds a parameter change dialog into the given dialog menu

Parameters
scipSCIP data structure
menudialog menu to insert the parameter into
paramparameter to add a dialog for
paramnameparameter name to parse

Definition at line 3744 of file dialog_default.c.

References FALSE, NULL, paramname, SCIP_CALL, SCIP_MAXSTRLEN, SCIP_OKAY, SCIP_PLUGINNOTFOUND, SCIPaddDialogEntry(), SCIPdialogFindEntry(), SCIPdialogHasEntry(), SCIPerrorMessage, SCIPincludeDialog(), SCIPparamGetDesc(), SCIPparamIsAdvanced(), SCIPreleaseDialog(), SCIPsnprintf(), and TRUE.

Referenced by SCIPincludeDialogDefaultSet().

static SCIP_RETCODE addFixParamDialog ( SCIP scip,
SCIP_DIALOG menu,
SCIP_PARAM param,
char *  paramname 
)
static

if a '/' occurs in the parameter's name, adds a sub menu dialog to the given menu and inserts the parameter dialog recursively in the sub menu; if no '/' occurs in the name, adds a fix parameter dialog into the given dialog menu

Parameters
scipSCIP data structure
menudialog menu to insert the parameter into
paramparameter to add a dialog for
paramnameparameter name to parse

Definition at line 3855 of file dialog_default.c.

References FALSE, NULL, paramname, SCIP_CALL, SCIP_MAXSTRLEN, SCIP_OKAY, SCIP_PLUGINNOTFOUND, SCIPaddDialogEntry(), SCIPdialogFindEntry(), SCIPdialogHasEntry(), SCIPerrorMessage, SCIPincludeDialog(), SCIPparamGetDesc(), SCIPparamIsAdvanced(), SCIPreleaseDialog(), SCIPsnprintf(), and TRUE.

Referenced by SCIPincludeDialogDefaultFix().

static SCIP_RETCODE createEmphasisSubmenu ( SCIP scip,
SCIP_DIALOG root,
SCIP_DIALOG **  submenu 
)
static

create a "emphasis" sub menu

Parameters
scipSCIP data structure
rootthe menu to add the empty sub menu
submenupointer to store the created emphasis sub menu

Definition at line 3964 of file dialog_default.c.

References NULL, SCIP_CALL, SCIP_OKAY, SCIP_PLUGINNOTFOUND, SCIPaddDialogEntry(), SCIPdialogFindEntry(), SCIPdialogHasEntry(), SCIPerrorMessage, SCIPincludeDialog(), SCIPreleaseDialog(), and TRUE.

Referenced by SCIPincludeDialogDefaultSet().

SCIP_RETCODE SCIPincludeDialogDefaultSet ( SCIP scip)
SCIP_RETCODE SCIPincludeDialogDefaultFix ( SCIP scip)