FLOPC++
Classes | Namespaces | Functions
MP_expression.hpp File Reference
#include <vector>
#include <set>
#include "MP_domain.hpp"
#include "MP_constant.hpp"
#include "MP_utilities.hpp"
Include dependency graph for MP_expression.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  flopc::Coef
 Internal representation of a Coefficient in a matrix. More...
 
class  flopc::GenerateFunctor
 Functor to facilitate generation of coefficients. More...
 
class  flopc::ObjectiveGenerateFunctor
 Functor to facilitate generation of the objective function. More...
 
class  flopc::MP_expression_base
 The base class for all expressions. More...
 
class  flopc::MP_expression
 Symbolic representation of a linear expression.This is one of the main public interface classes. It is the basis for all linear expressions, including constraints, objective function, and expressions involving indexes.
Although these can be created directly and independently, it is expected these will be created through the use of the operators which are later in this file. (operator+, operator-, etc.) More...
 
class  flopc::TerminalExpression
 The base class for all expressions. More...
 
class  flopc::Expression_operator
 The base class for all expressions. More...
 

Namespaces

 flopc
 All flopc++ code is contained within the flopc namespace.
 

Functions

MP_expression flopc::operator+ (const MP_expression &e1, const MP_expression &e2)
 Operator which sums two MP_expressions, forms a new MP_expression. More...
 
MP_expression flopc::operator+ (const MP_expression &e1, const Constant &e2)
 
MP_expression flopc::operator+ (const Constant &e1, const MP_expression &e2)
 
MP_expression flopc::operator- (const MP_expression &e1, const MP_expression &e2)
 
MP_expression flopc::operator- (const MP_expression &e1, const Constant &e2)
 
MP_expression flopc::operator- (const Constant &e1, const MP_expression &e2)
 
MP_expression flopc::operator* (const Constant &e1, const MP_expression &e2)
 
MP_expression flopc::operator* (const MP_expression &e1, const Constant &e2)
 
MP_expression flopc::sum (const MP_domain &d, const MP_expression &e)