Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
#include <algorithm>
#include <clocale>
#include <fstream>
#include <istream>
#include <limits>
#include <memory>
#include <mutex>
#include <string>
#include "absl/strings/str_format.h"
#include "ortools/base/logging.h"
#include "ortools/base/timer.h"
#include "ortools/linear_solver/linear_solver.h"
#include "ortools/xpress/environment.h"
Go to the source code of this file.
Classes | |
class | operations_research::XpressMPCallbackContext |
class | operations_research::MPCallbackWrapper |
Wraps the MPCallback in order to catch and store exceptions. More... | |
class | operations_research::XpressInterface |
struct | operations_research::ScopedLocale |
Namespaces | |
namespace | operations_research |
In SWIG mode, we don't want anything besides these top-level includes. | |
Macros | |
#define | XPRS_INTEGER 'I' |
Initial version of this code was provided by RTE. | |
#define | XPRS_CONTINUOUS 'C' |
#define | CHECK_STATUS(s) |
#define | XPRS_NAN std::numeric_limits<double>::quiet_NaN() |
#define | setParamIfPossible_MACRO(target_map, setter, converter) |
#define CHECK_STATUS | ( | s | ) |
The argument to this macro is the invocation of a XPRS function that returns a status. If the function returns non-zero the macro aborts the program with an appropriate error message.
Definition at line 37 of file xpress_interface.cc.
#define setParamIfPossible_MACRO | ( | target_map, | |
setter, | |||
converter ) |
Definition at line 2125 of file xpress_interface.cc.
#define XPRS_CONTINUOUS 'C' |
Definition at line 32 of file xpress_interface.cc.
#define XPRS_INTEGER 'I' |
Initial version of this code was provided by RTE.
Copyright 2019-2023 RTE 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.
Definition at line 31 of file xpress_interface.cc.
#define XPRS_NAN std::numeric_limits<double>::quiet_NaN() |
In case we need to return a double but don't have a value for that we just return a NaN.
Definition at line 216 of file xpress_interface.cc.