 |
OR-Tools
8.1
|
Go to the documentation of this file.
18 #include "ortools/flatzinc/parser.tab.hh"
40 FILE*
const input = fopen(filename.c_str(),
"r");
41 if (
input ==
nullptr) {
42 LOG(
INFO) <<
"Could not open file '" << filename <<
"'";
47 void* scanner =
nullptr;
53 if (scanner !=
nullptr) {
64 void* scanner =
nullptr;
71 if (string_buffer !=
nullptr) {
74 if (scanner !=
nullptr) {
int orfz_lex_init(void **scanner)
The vehicle routing library lets one model and solve generic vehicle routing problems ranging from th...
bool ParseFlatzincString(const std::string &input, Model *model)
GurobiMPCallbackContext * context
int orfz_lex_destroy(void *scanner)
void orfz__delete_buffer(yy_buffer_state *b, void *scanner)
yy_buffer_state * orfz__scan_bytes(const char *input, int size, void *scanner)
static int input(yyscan_t yyscanner)
bool ParseFlatzincFile(const std::string &filename, Model *model)
int orfz_parse(operations_research::fz::ParserContext *parser, operations_research::fz::Model *model, bool *ok, void *scanner)
void orfz_set_in(FILE *in_str, void *yyscanner)