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"

Go to the source code of this file.

Classes

class  flopc::MP
struct  flopc::MP::Coef
struct  flopc::MP::CoefLess
class  flopc::MP::GenerateFunctor
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::VariableRef

Namespaces

namespace  flopc
 

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


Functions

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 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::operator/ (const MP_expression &e1, const Constant &e2)
MP_expression flopc::sum (const MP_domain &d, const MP_expression &e)