EPEC solve
Solving Equilibrium Problems with Equilibrium Constraints (EPECs)
|
#include "epecsolve.h"
#include <armadillo>
#include <gurobi_c++.h>
#include <iostream>
#include <memory>
Go to the source code of this file.
Data Structures | |
struct | Models::FollPar |
Stores the parameters of the follower in a country model. More... | |
struct | Models::DemPar |
Stores the parameters of the demand curve in a country model. More... | |
struct | Models::LeadPar |
Stores the parameters of the leader in a country model. More... | |
struct | Models::LeadAllPar |
Stores the parameters of a country model. More... | |
struct | Models::EPECInstance |
Stores a single Instance. More... | |
class | Models::EPEC |
Namespaces | |
Models | |
Typedefs | |
typedef struct FollPar | Models::FollPar |
typedef struct DemPar | Models::DemPar |
typedef struct LeadPar | Models::LeadPar |
typedef struct LeadAllPar | Models::LeadAllPar |
using | Models::LeadLocs = std::map< LeaderVars, unsigned int > |
Functions | |
std::ostream & | Models::operator<< (std::ostream &ost, const FollPar P) |
std::ostream & | Models::operator<< (std::ostream &ost, const DemPar P) |
std::ostream & | Models::operator<< (std::ostream &ost, const LeadPar P) |
std::ostream & | Models::operator<< (std::ostream &ost, const LeadAllPar P) |
std::ostream & | Models::operator<< (std::ostream &ost, const LeaderVars l) |
std::ostream & | Models::operator<< (std::ostream &ost, EPECInstance I) |
void | Models::increaseVal (LeadLocs &L, const LeaderVars start, const unsigned int val, const bool startnext=true) |
void | Models::decreaseVal (LeadLocs &L, const LeaderVars start, const unsigned int val, const bool startnext=true) |
void | Models::init (LeadLocs &L) |
LeaderVars | Models::operator+ (Models::LeaderVars a, int b) |
std::string | to_string (const GRBVar &var) |
std::string | to_string (const GRBConstr &cons, const GRBModel &model) |
std::ostream & | Models::operator<< (std::ostream &ost, Models::prn l) |
Models::FollPar | operator+ (const Models::FollPar &F1, const Models::FollPar &F2) |
Using EPECSolve to solve problems arising in international energy markets with climate-conscious countries.
Definition in file models.h.
Models::FollPar operator+ | ( | const Models::FollPar & | F1, |
const Models::FollPar & | F2 | ||
) |
Definition at line 162 of file Models.cpp.
std::string to_string | ( | const GRBVar & | var | ) |
Definition at line 1091 of file Models.cpp.
std::string to_string | ( | const GRBConstr & | cons, |
const GRBModel & | model | ||
) |
Definition at line 1072 of file Models.cpp.