EPEC solve
Solving Equilibrium Problems with Equilibrium Constraints (EPECs)
Public Member Functions | Data Fields
Models::FollPar Struct Reference

Stores the parameters of the follower in a country model. More...

#include <models.h>

Public Member Functions

 FollPar (std::vector< double > costs_quad_={}, std::vector< double > costs_lin_={}, std::vector< double > capacities_={}, std::vector< double > emission_costs_={}, std::vector< double > tax_caps_={}, std::vector< std::string > names_={})
 

Data Fields

std::vector< double > costs_quad
 
std::vector< double > costs_lin
 
std::vector< double > capacities
 
std::vector< double > emission_costs
 
std::vector< double > tax_caps = {}
 Individual tax caps for each follower. More...
 
std::vector< std::string > names = {}
 Optional Names for the Followers. More...
 

Detailed Description

Stores the parameters of the follower in a country model.

Definition at line 24 of file models.h.

Constructor & Destructor Documentation

◆ FollPar()

Models::FollPar::FollPar ( std::vector< double >  costs_quad_ = {},
std::vector< double >  costs_lin_ = {},
std::vector< double >  capacities_ = {},
std::vector< double >  emission_costs_ = {},
std::vector< double >  tax_caps_ = {},
std::vector< std::string >  names_ = {} 
)
inline

Definition at line 39 of file models.h.

Field Documentation

◆ capacities

std::vector<double> Models::FollPar::capacities
Initial value:
=
{}

Production capacity of each follower. Size of this std::vector should be equal to n_followers

Definition at line 31 of file models.h.

◆ costs_lin

std::vector<double> Models::FollPar::costs_lin
Initial value:
=
{}

Linear coefficient of i-th follower's cost. Size of this std::vector should be equal to n_followers

Definition at line 28 of file models.h.

◆ costs_quad

std::vector<double> Models::FollPar::costs_quad
Initial value:
=
{}

Quadratic coefficient of i-th follower's cost. Size of this std::vector should be equal to n_followers

Definition at line 25 of file models.h.

◆ emission_costs

std::vector<double> Models::FollPar::emission_costs
Initial value:
=
{}

Emission costs for unit quantity of the fuel. Emission costs feature only on the leader's problem

Definition at line 34 of file models.h.

◆ names

std::vector<std::string> Models::FollPar::names = {}

Optional Names for the Followers.

Definition at line 38 of file models.h.

◆ tax_caps

std::vector<double> Models::FollPar::tax_caps = {}

Individual tax caps for each follower.

Definition at line 37 of file models.h.


The documentation for this struct was generated from the following file: