Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
gscip_parameters.cc File Reference
#include "ortools/gscip/gscip_parameters.h"
#include <algorithm>
#include <string>
#include <vector>
#include "absl/strings/str_cat.h"
#include "ortools/base/logging.h"

Go to the source code of this file.

Namespaces

namespace  operations_research
 In SWIG mode, we don't want anything besides these top-level includes.
 

Functions

void operations_research::GScipSetTimeLimit (absl::Duration time_limit, GScipParameters *parameters)
 
absl::Duration operations_research::GScipTimeLimit (const GScipParameters &parameters)
 
bool operations_research::GScipTimeLimitSet (const GScipParameters &parameters)
 
void operations_research::GScipSetMaxNumThreads (int num_threads, GScipParameters *parameters)
 CHECK fails if num_threads < 1.
 
int operations_research::GScipMaxNumThreads (const GScipParameters &parameters)
 Returns 1 if the number of threads it not specified.
 
bool operations_research::GScipMaxNumThreadsSet (const GScipParameters &parameters)
 
void operations_research::GScipSetLogLevel (GScipParameters *parameters, int log_level)
 
int operations_research::GScipLogLevel (const GScipParameters &parameters)
 
bool operations_research::GScipLogLevelSet (const GScipParameters &parameters)
 
void operations_research::GScipSetOutputEnabled (GScipParameters *parameters, bool output_enabled)
 Sets the log level to 4 if enabled, 0 if disabled (see above).
 
bool operations_research::GScipOutputEnabled (const GScipParameters &parameters)
 Checks if the log level is equal to zero.
 
bool operations_research::GScipOutputEnabledSet (const GScipParameters &parameters)
 
void operations_research::GScipSetRandomSeed (GScipParameters *parameters, int random_seed)
 
int operations_research::GScipRandomSeed (const GScipParameters &parameters)
 Returns -1 if unset.
 
bool operations_research::GScipRandomSeedSet (const GScipParameters &parameters)
 
void operations_research::GScipSetCatchCtrlC (bool catch_ctrl_c, GScipParameters *parameters)
 Sets the misc/catchctrlc property.
 
bool operations_research::GScipCatchCtrlC (const GScipParameters &parameters)
 
bool operations_research::GScipCatchCtrlCSet (const GScipParameters &parameters)
 Returns true when the misc/catchctrlc property is set.
 
void operations_research::DisableAllCutsExceptUserDefined (GScipParameters *parameters)
 Turns off all SCIP separators.