Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
#include "ortools/gscip/gscip_ext.h"
#include <cmath>
#include <limits>
#include <string>
#include <vector>
#include "absl/strings/string_view.h"
#include "ortools/base/logging.h"
#include "ortools/base/status_macros.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 | |
GScipLinearExpr | operations_research::GScipDifference (GScipLinearExpr left, const GScipLinearExpr &right) |
Returns left - right. | |
GScipLinearExpr | operations_research::GScipNegate (GScipLinearExpr expr) |
Returns -expr. | |
GScipLinearRange | operations_research::GScipLe (const GScipLinearExpr left, const GScipLinearExpr &right) |
absl::Status | operations_research::GScipCreateAbs (GScip *gscip, SCIP_Var *x, SCIP_Var *abs_x, absl::string_view name) |
absl::Status | operations_research::GScipCreateMaximum (GScip *gscip, const GScipLinearExpr &resultant, const std::vector< GScipLinearExpr > &terms, absl::string_view name) |
absl::Status | operations_research::GScipCreateMinimum (GScip *gscip, const GScipLinearExpr &resultant, const std::vector< GScipLinearExpr > &terms, absl::string_view name) |
absl::Status | operations_research::GScipAddQuadraticObjectiveTerm (GScip *gscip, std::vector< SCIP_Var * > quadratic_variables1, std::vector< SCIP_Var * > quadratic_variables2, std::vector< double > quadratic_coefficients, absl::string_view name) |
absl::Status | operations_research::GScipCreateIndicatorRange (GScip *gscip, const GScipIndicatorRangeConstraint &indicator_range, absl::string_view name="", const GScipConstraintOptions &options=GScipConstraintOptions()) |
Supports unbounded variables in indicator_range.range.variables. | |