|
void | forall (const MP_domain &d, const Functor &f) |
| Global function for performing a Functor on each member of a MP_domain. More...
|
|
void | forall (const Functor &f) |
| Global function for performing a Functor without having a set to operate on. More...
|
|
void | operator<<= (const MP_domain &s, const MP_domain &d) |
| Global function which copies members of MP_domain d into another (possibly non-empty) MP_domain. More...
|
|
void | minimize (const MP_expression &obj) |
| This is one of the main entry points for executionThis calls the OsiSolverInterface to execute the solver with the objective of MINIMIZING the argment MP_expression. More...
|
|
void | minimize_max (MP_set &d, const MP_expression &obj) |
| This is one of the main entry points for executionThis calls the OsiSolverInterface to execute the solver with the objective of MINIMIZING THE MAXIMUM of the MP_expression evaluation of the MP_set. More...
|
|
void | maximize (const MP_expression &obj) |
| This is one of the main entry points for executionThis calls the OsiSolverInterface to execute the solver with the objective of MAXIMIZING of the MP_expression. More...
|
|
MP_boolean | operator! (const MP_boolean &b) |
| For computing the logical negation of a booleanThis is used in the normal formation of an expression. More...
|
|
MP_boolean | operator&& (const MP_boolean &e1, const MP_boolean &e2) |
| For computing the logical AND of two booleansThis is used in the normal formation of an expression. More...
|
|
MP_boolean | operator|| (const MP_boolean &e1, const MP_boolean &e2) |
| For computing the logical OR of two booleansThis is used in the normal formation of an expression. More...
|
|
MP_boolean | alltrue (const MP_domain &d, const MP_boolean &b) |
| boolean which returns true if all in domain evaluate to true. More...
|
|
MP_boolean | operator<= (const MP_index_exp &e1, const MP_index_exp &e2) |
| constructs a boolean evaluator using operator overloadingThis is used in the normal formation of an expression. More...
|
|
MP_boolean | operator<= (const Constant &e1, const Constant &e2) |
| constructs a boolean evaluator by comparing two constants. More...
|
|
MP_boolean | operator< (const MP_index_exp &e1, const MP_index_exp &e2) |
| constructs a boolean evaluator using operator overloadingThis is used in the normal formation of an expression. More...
|
|
MP_boolean | operator< (const Constant &e1, const Constant &e2) |
| constructs a boolean evaluator by comparing two constants. More...
|
|
MP_boolean | operator>= (const MP_index_exp &e1, const MP_index_exp &e2) |
| constructs a boolean evaluator using operator overloadingThis is used in the normal formation of an expression. More...
|
|
MP_boolean | operator>= (const Constant &e1, const Constant &e2) |
| constructs a boolean evaluator by comparing two constants. More...
|
|
MP_boolean | operator> (const MP_index_exp &e1, const MP_index_exp &e2) |
| constructs a boolean evaluator using operator overloadingThis is used in the normal formation of an expression. More...
|
|
MP_boolean | operator> (const Constant &e1, const Constant &e2) |
| constructs a boolean evaluator by comparing two constants. More...
|
|
MP_boolean | operator== (const MP_index_exp &e1, const MP_index_exp &e2) |
| constructs a boolean evaluator using operator overloadingThis is used in the normal formation of an expression. More...
|
|
MP_boolean | operator== (const Constant &e1, const Constant &e2) |
| constructs a boolean evaluator by comparing two constants. More...
|
|
MP_boolean | operator!= (const MP_index_exp &e1, const MP_index_exp &e2) |
| constructs a boolean evaluator using operator overloadingThis is used in the normal formation of an expression. More...
|
|
MP_boolean | operator!= (const Constant &e1, const Constant &e2) |
| constructs a boolean evaluator by comparing two constants. More...
|
|
Constant | abs (const Constant &c) |
| for computing the absolute value of a constant value. More...
|
|
Constant | pos (const Constant &c) |
| for returning non-negative value of the constant. More...
|
|
Constant | ceil (const Constant &c) |
| The ceiling integral value of the input constant. More...
|
|
Constant | floor (const Constant &c) |
| The floor integral value of the input constant. More...
|
|
Constant | minimum (const Constant &a, const Constant &b) |
| Returns the smaller of two constants. More...
|
|
Constant | maximum (const Constant &a, const Constant &b) |
| Returns the larger of two constants. More...
|
|
Constant | operator+ (const Constant &a, const Constant &b) |
| Returns the sum of two constants. More...
|
|
Constant | operator- (const Constant &a, const Constant &b) |
| Returns the difference of two constants. More...
|
|
Constant | operator* (const Constant &a, const Constant &b) |
| Returns the product of two constants. More...
|
|
Constant | operator/ (const Constant &a, const Constant &b) |
| Returns the quotient of two constants. More...
|
|
Constant | maximum (const MP_domain &i, const Constant &e) |
| Returns the maximum over the domain of the constant. More...
|
|
Constant | minimum (const MP_domain &i, const Constant &e) |
| Returns the sum of two constants. More...
|
|
Constant | sum (const MP_domain &i, const Constant &e) |
| Returns the sum of two constants. More...
|
|
Constant | product (const MP_domain &i, const Constant &e) |
| Returns the sum of two constants. More...
|
|
Constraint | operator<= (const MP_expression &l, const MP_expression &r) |
| Uses operator overloading to construct an ConstraintConstucts a Constraint using operator overloading. More...
|
|
Constraint | operator<= (const Constant &l, const MP_expression &r) |
| Uses operator overloading to construct an ConstraintConstucts a Constraint using operator overloading. More...
|
|
Constraint | operator<= (const MP_expression &l, const Constant &r) |
| Uses operator overloading to construct an ConstraintConstucts a Constraint using operator overloading. More...
|
|
Constraint | operator<= (const VariableRef &l, const VariableRef &r) |
| Uses operator overloading to construct an ConstraintConstucts a Constraint using operator overloading. More...
|
|
Constraint | operator>= (const MP_expression &l, const MP_expression &r) |
| Uses operator overloading to construct an ConstraintConstucts a Constraint using operator overloading. More...
|
|
Constraint | operator>= (const Constant &l, const MP_expression &r) |
| Uses operator overloading to construct an ConstraintConstucts a Constraint using operator overloading. More...
|
|
Constraint | operator>= (const MP_expression &l, const Constant &r) |
| Uses operator overloading to construct an ConstraintConstucts a Constraint using operator overloading. More...
|
|
Constraint | operator>= (const VariableRef &l, const VariableRef &r) |
| Uses operator overloading to construct an ConstraintConstucts a Constraint using operator overloading. More...
|
|
Constraint | operator== (const MP_expression &l, const MP_expression &r) |
| Uses operator overloading to construct an ConstraintConstucts a Constraint using operator overloading. More...
|
|
Constraint | operator== (const Constant &l, const MP_expression &r) |
| Uses operator overloading to construct an ConstraintConstucts a Constraint using operator overloading. More...
|
|
Constraint | operator== (const MP_expression &l, const Constant &r) |
| Uses operator overloading to construct an ConstraintConstucts a Constraint using operator overloading. More...
|
|
Constraint | operator== (const VariableRef &l, const VariableRef &r) |
| Uses operator overloading to construct an ConstraintConstucts a Constraint using operator overloading. More...
|
|
MP_domain | operator* (const MP_domain &a, const MP_domain &b) |
| operator which creates a new domain as the pairwise combinations of two input domains. More...
|
|
MP_expression | operator+ (const MP_expression &e1, const MP_expression &e2) |
| Operator which sums two MP_expressions, forms a new MP_expression. More...
|
|
MP_expression | operator+ (const MP_expression &e1, const Constant &e2) |
| Operator which sums an MP_expression and a constant, and forms a new MP_expression. More...
|
|
MP_expression | operator+ (const Constant &e1, const MP_expression &e2) |
| Operator which sums a constant and an MP_expression , and forms a new MP_expression. More...
|
|
MP_expression | operator- (const MP_expression &e1, const MP_expression &e2) |
| Operator which subtracts an MP_expression from an MP_expression, and forms a new MP_expression. More...
|
|
MP_expression | operator- (const MP_expression &e1, const Constant &e2) |
| Operator which subtracts a Constant from an MP_expression, and forms a new MP_expression. More...
|
|
MP_expression | operator- (const Constant &e1, const MP_expression &e2) |
| Operator which subtracts an MP_expression from a Constant, and forms a new MP_expression. More...
|
|
MP_expression | operator* (const Constant &e1, const MP_expression &e2) |
| Operator which multiplies a Constant by an MP_expression, and forms a new MP_expression. More...
|
|
MP_expression | operator* (const MP_expression &e1, const Constant &e2) |
| Operator which multiplies an MP_expression by a Constant, and forms a new MP_expression. More...
|
|
MP_expression | sum (const MP_domain &d, const MP_expression &e) |
| forms an expression by summing an expression over a domain. More...
|
|
Constant | operator+ (MP_index &a, MP_index &b) |
| returns a Constant as a result of addition of two MP_index values. More...
|
|
Constant | operator- (MP_index &a, MP_index &b) |
| returns a Constant as a result of a difference of two MP_index values. More...
|
|
MP_index_exp | operator- (MP_index &i, const int &j) |
| returns an index expression from a difference between an MP_index and an integer. More...
|
|
MP_index_exp | operator+ (MP_index &i, const int &j) |
| returns an index expression from a sum between an MP_index and an integer. More...
|
|
MP_index_exp | operator+ (MP_index &i, const Constant &j) |
| returns an index expression from a sum between an MP_index and a Constant. More...
|
|
MP_index_exp | operator* (MP_index &i, const Constant &j) |
| returns an index expression from a product between an MP_index and a Constant. More...
|
|
std::ostream & | operator<< (std::ostream &os, const MP_model::MP_status &condition) |
| allows print of result from call to solve(); More...
|
|
std::ostream & | operator<< (std::ostream &os, const MP_model::MP_direction &direction) |
| allows print of direction used when calling solve. (MIN/MAX) More...
|
|
template<int nbr, class T > |
std::vector< T > | makeVector (T i1, T i2=0, T i3=0, T i4=0, T i5=0) |
| This template makes a vector of appropriate size out of the variable number of arguments. More...
|
|
int | mod (int a, int b) |
| return the strictly positive modulus of two integers More...
|
|
All flopc++ code is contained within the flopc namespace.
Flopc++ is an open source algebraic modelling language implemented as a C++ class library. It uses the common COIN-OR OsiSolverInterface abstract interface to allow for easy integration with many of today's top Math Programming solvers.
main 3 components are listed below. Much of the rest of the code is to facilitate the operator overloading makes this such a powerful modeling environment.