Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
gscip_ext.h File Reference
#include <string>
#include <vector>
#include "absl/status/status.h"
#include "absl/strings/string_view.h"
#include "ortools/gscip/gscip.h"
#include "scip/scip.h"
#include "scip/scip_prob.h"
#include "scip/type_cons.h"
#include "scip/type_scip.h"
#include "scip/type_var.h"

Go to the source code of this file.

Classes

struct  operations_research::GScipLinearExpr
 
struct  operations_research::GScipIndicatorRangeConstraint
 

Namespaces

namespace  operations_research
 In SWIG mode, we don't want anything besides these top-level includes.
 

Functions

absl::Status operations_research::GScipCreateAbs (GScip *gscip, SCIP_Var *x, SCIP_Var *abs_x, absl::string_view name)
 
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::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::GScipCreateIndicatorRange (GScip *gscip, const GScipIndicatorRangeConstraint &indicator_range, absl::string_view name="", const GScipConstraintOptions &options=GScipConstraintOptions())
 Supports unbounded variables in indicator_range.range.variables.
 
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)