OR-Tools  8.1
gscip.cc File Reference

Go to the source code of this file.

Namespaces

 operations_research
 The vehicle routing library lets one model and solve generic vehicle routing problems ranging from the Traveling Salesman Problem to more complex problems such as the Capacitated Vehicle Routing Problem with Time Windows.
 

Macros

#define RETURN_ERROR_UNLESS(x)
 

Functions

const GScipVariableOptions & DefaultGScipVariableOptions ()
 
const GScipConstraintOptions & DefaultGScipConstraintOptions ()
 

Macro Definition Documentation

◆ RETURN_ERROR_UNLESS

#define RETURN_ERROR_UNLESS (   x)
Value:
if (!(x)) \
return util::StatusBuilder(absl::InvalidArgumentError(absl::StrFormat( \
"Condition violated at %s:%d: %s", __FILE__, __LINE__, #x)))

Definition at line 37 of file gscip.cc.

util::StatusBuilder
Definition: status_builder.h:23