Definition at line 207 of file variable_and_expressions.h.
#include <variable_and_expressions.h>
◆ LinearExpression() [1/7]
| operations_research::math_opt::LinearExpression::LinearExpression |
( |
| ) |
|
|
default |
◆ LinearExpression() [2/7]
| operations_research::math_opt::LinearExpression::LinearExpression |
( |
const LinearExpression & | other | ) |
|
|
default |
◆ LinearExpression() [3/7]
| operations_research::math_opt::LinearExpression::LinearExpression |
( |
std::initializer_list< LinearTerm > | terms, |
|
|
double | offset ) |
|
inline |
◆ LinearExpression() [4/7]
| operations_research::math_opt::LinearExpression::LinearExpression |
( |
double | offset | ) |
|
|
inline |
◆ LinearExpression() [5/7]
| operations_research::math_opt::LinearExpression::LinearExpression |
( |
Variable | variable | ) |
|
|
inline |
◆ LinearExpression() [6/7]
| operations_research::math_opt::LinearExpression::LinearExpression |
( |
const LinearTerm & | term | ) |
|
|
inline |
◆ LinearExpression() [7/7]
| operations_research::math_opt::LinearExpression::LinearExpression |
( |
LinearExpression && | other | ) |
|
|
inlinenoexcept |
◆ AddInnerProduct()
template<typename LeftIterable, typename RightIterable>
| void operations_research::math_opt::LinearExpression::AddInnerProduct |
( |
const LeftIterable & | left, |
|
|
const RightIterable & | right ) |
|
inline |
◆ AddSum()
template<typename Iterable>
| void operations_research::math_opt::LinearExpression::AddSum |
( |
const Iterable & | items | ) |
|
|
inline |
◆ Evaluate()
| double operations_research::math_opt::LinearExpression::Evaluate |
( |
const VariableMap< double > & | variable_values | ) |
const |
◆ EvaluateWithDefaultZero()
| double operations_research::math_opt::LinearExpression::EvaluateWithDefaultZero |
( |
const VariableMap< double > & | variable_values | ) |
const |
◆ InnerProduct()
template<typename LeftIterable, typename RightIterable>
| LinearExpression operations_research::math_opt::LinearExpression::InnerProduct |
( |
const LeftIterable & | left, |
|
|
const RightIterable & | right ) |
|
inlinestatic |
◆ offset()
| double operations_research::math_opt::LinearExpression::offset |
( |
| ) |
const |
|
inline |
◆ operator*=()
| LinearExpression & operations_research::math_opt::LinearExpression::operator*= |
( |
double | value | ) |
|
|
inline |
◆ operator+=() [1/4]
◆ operator+=() [2/4]
◆ operator+=() [3/4]
| LinearExpression & operations_research::math_opt::LinearExpression::operator+= |
( |
double | value | ) |
|
|
inline |
◆ operator+=() [4/4]
◆ operator-=() [1/4]
◆ operator-=() [2/4]
◆ operator-=() [3/4]
| LinearExpression & operations_research::math_opt::LinearExpression::operator-= |
( |
double | value | ) |
|
|
inline |
◆ operator-=() [4/4]
◆ operator/=()
| LinearExpression & operations_research::math_opt::LinearExpression::operator/= |
( |
double | value | ) |
|
|
inline |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ Sum()
template<typename Iterable>
| LinearExpression operations_research::math_opt::LinearExpression::Sum |
( |
const Iterable & | items | ) |
|
|
inlinestatic |
◆ terms()
| const VariableMap< double > & operations_research::math_opt::LinearExpression::terms |
( |
| ) |
const |
|
inline |
◆ operator-
◆ operator<<
| std::ostream & operator<< |
( |
std::ostream & | ostr, |
|
|
const LinearExpression & | expression ) |
|
friend |
◆ this
| * operations_research::math_opt::LinearExpression::this = item |
The documentation for this class was generated from the following files: