#include <string>
#include "absl/flags/flag.h"
#include "absl/log/check.h"
#include "absl/strings/match.h"
#include "ortools/base/init_google.h"
#include "ortools/base/logging.h"
#include "ortools/base/timer.h"
#include "ortools/flatzinc/model.h"
#include "ortools/flatzinc/parser.h"
#include "ortools/flatzinc/presolve.h"
#include "ortools/util/logging.h"
Go to the source code of this file.
|
| ABSL_FLAG (std::string, input, "", "Input file in the flatzinc format.") |
|
| ABSL_FLAG (bool, print, false, "Print model.") |
|
| ABSL_FLAG (bool, presolve, false, "Presolve loaded file.") |
|
| ABSL_FLAG (bool, statistics, false, "Print model statistics") |
|
void | operations_research::fz::ParseFile (const std::string &filename, bool presolve) |
|
int | main (int argc, char **argv) |
|
◆ ABSL_FLAG() [1/4]
ABSL_FLAG |
( |
bool | , |
|
|
presolve | , |
|
|
false | , |
|
|
"Presolve loaded file." | ) |
◆ ABSL_FLAG() [2/4]
ABSL_FLAG |
( |
bool | , |
|
|
print | , |
|
|
false | , |
|
|
"Print model." | ) |
◆ ABSL_FLAG() [3/4]
ABSL_FLAG |
( |
bool | , |
|
|
statistics | , |
|
|
false | , |
|
|
"Print model statistics" | ) |
◆ ABSL_FLAG() [4/4]
ABSL_FLAG |
( |
std::string | , |
|
|
input | , |
|
|
"" | , |
|
|
"Input file in the flatzinc format." | ) |
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. This binary reads an input file in the flatzinc format (see http://www.minizinc.org/), parses it, and spits out the model it has built.
◆ main()
int main |
( |
int | argc, |
|
|
char ** | argv ) |