EPEC solve
Solving Equilibrium Problems with Equilibrium Constraints (EPECs)
Namespaces | Macros | Typedefs | Enumerations | Functions
epecsolve.h File Reference
#include <armadillo>
#include "games.h"
#include "lcptolp.h"
#include "utils.h"

Go to the source code of this file.

Namespaces

 Game
 

Macros

#define VERBOSE   false
 
#define EPECVERSION   0.1
 

Typedefs

using perps = std::vector< std::pair< unsigned int, unsigned int > >
 

Enumerations

enum  Game::EPECAddPolyMethod { Game::EPECAddPolyMethod::sequential, Game::EPECAddPolyMethod::reverse_sequential, Game::EPECAddPolyMethod::random }
 

Functions

std::ostream & operator<< (std::ostream &ost, perps C)
 
bool operator< (std::vector< short int > Fix1, std::vector< short int > Fix2)
 
bool operator== (std::vector< short int > Fix1, std::vector< short int > Fix2)
 
template<class T >
std::ostream & operator<< (std::ostream &ost, std::vector< T > v)
 
template<class T , class S >
std::ostream & operator<< (std::ostream &ost, std::pair< T, S > p)
 

Detailed Description

Forward declaration and for EPEC solve algorithms in https://github.com/ssriram1992/EPECsolve/

Definition in file epecsolve.h.

Macro Definition Documentation

◆ EPECVERSION

#define EPECVERSION   0.1

Definition at line 8 of file epecsolve.h.

◆ VERBOSE

#define VERBOSE   false

Definition at line 7 of file epecsolve.h.

Typedef Documentation

◆ perps

using perps = std::vector<std::pair<unsigned int, unsigned int> >

Definition at line 15 of file epecsolve.h.

Function Documentation

◆ operator<()

bool operator< ( std::vector< short int >  Fix1,
std::vector< short int >  Fix2 
)
inline

◆ operator<<() [1/3]

std::ostream& operator<< ( std::ostream &  ost,
perps  C 
)

◆ operator<<() [2/3]

template<class T >
std::ostream& operator<< ( std::ostream &  ost,
std::vector< T >  v 
)

Definition at line 18 of file games.h.

◆ operator<<() [3/3]

template<class T , class S >
std::ostream& operator<< ( std::ostream &  ost,
std::pair< T, S >  p 
)

Definition at line 26 of file games.h.

◆ operator==()

bool operator== ( std::vector< short int >  Fix1,
std::vector< short int >  Fix2 
)
inline