Google OR-Tools v9.14
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
lp_model.h File Reference
#include <ostream>
#include <string>
#include <utility>
#include <vector>
#include "absl/container/flat_hash_map.h"
#include "ortools/base/strong_int.h"
#include "ortools/base/strong_vector.h"

Go to the source code of this file.

Classes

struct  operations_research::lp_format::Constraint
class  operations_research::lp_format::LpModel

Namespaces

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

Typedefs

using operations_research::lp_format::Term = std::pair<double, VariableIndex>

Enumerations

enum class  operations_research::lp_format::Relation { operations_research::lp_format::kLessOrEqual , operations_research::lp_format::kGreaterOrEqual , operations_research::lp_format::kEqual }

Functions

 operations_research::lp_format::DEFINE_STRONG_INT_TYPE (VariableIndex, int64_t)
 operations_research::lp_format::DEFINE_STRONG_INT_TYPE (ConstraintIndex, int64_t)
std::ostream & operations_research::lp_format::operator<< (std::ostream &ostr, const Relation relation)
std::ostream & operations_research::lp_format::operator<< (std::ostream &ostr, const Constraint &constraint)
std::ostream & operations_research::lp_format::operator<< (std::ostream &ostr, const LpModel &model)
 Prints the model in LP format to ostr.