## Section: New Results

### Bilevel Programming

**Pricing problems in energy management:**
Power systems face higher flexibility requirements from generation to consumption
due to the increasing penetration of non-controllable distributed renewable energy.
In this context, demand side management aims at reducing excessive load fluctuation
and match the price of energy to their real cost for the grid.
Pricing models for demand side management methods are traditionally
used to control electricity demand. First, we proposed
bilevel pricing models to explore the relationship between energy
suppliers and customers who are connected to a smart grid. The smart
grid technology allows customers to keep track of hourly prices and
shift their demand accordingly, and allows the provider to observe the
actual demand response to its pricing strategy. Moreover, we assumed
that the smart grid optimizes the usage of a renewable energy generation
source and a storage capacity. Results over a rolling horizon were obtained
[14], [28], [36]. Next, we considered four types of actors:
furnishers sell electricity, local agents trade and consume energy, aggregators trade energy and
provide energy to end-users, who consume it. This gives rise to three levels of optimization.
The interaction between aggregators and their end-users is modelled with a bilevel program,
and so is the interaction between furnishers, and local agents and aggregators.
Since solving bilevel programs is difficult in itself, solving trilevel programs requires
particular care. We proposed three possible approaches, two of them relying
on a characterization of the intermediary optimization level [35].
Finally, Time and-Level-of-Use is a recently proposed energy pricing scheme,
designed for the residential sector and providing suppliers with robust guarantee on the consumption.
We formulate the supplier decision as a bilevel, bi-objective problem optimizing for both financial loss and guarantee.
A decomposition method is proposed, related to the optimal value transformation. It allows for the computation
of an exact solution by finding possible Pareto optimal candidate solutions and then eliminating dominated ones.
Numerical results on experimental residential power consumption data show
the method effectively finds the optimal candidate solutions
while optimizing costs only or incorporating risk aversion at the lower-level [37].

**Unit commitment under market equilibrium constraints:** Traditional
(deterministic) models for the Unit Commitment problem (UC) assume that the net
demand for each period is perfectly known in advance, or in more recent and
more realistic approaches, that a set of possible demand scenarios is known
(leading to stochastic or robust optimization problems). However, in practice,
the demand is dictated by the amounts that can be sold by the producer at given
prices on the day-ahead market. We modeled and solved the UC problem with a
second level of decisions ensuring that the produced quantities are cleared at
market equilibrium. In its simplest form, we are faced to a bilevel
optimization problem where the first level is a MIP and the second level
linear. As a first approach to the problem, we assumed that demand curves
and offers of competitors in the market are known to the operator. Following
the classical approach for these models, we turned the problem into a single-level program by rewriting and
linearizing the first-order optimality conditions of the second level. In recent work,
this approach was extended to include network capacities effects and a decoupling of prices in different zones
[45], [46], [47], [48].

**Market regulation:** We proposed a bilevel programming model to study a problem of market regulation through government intervention. One of the main characteristics of the problem is that the government monopolizes the raw material in one industry, and competes in another industry with private firms for the production of commodities. Under this scheme, the government controls a state-owned firm to balance the market; that is, to minimize the difference between the produced and demanded commodities. On the other hand, a regulatory organism that coordinates private firms aims to maximize the total profit by deciding the amount of raw material bought from the state-owned firm. Two equivalent single-level reformulations are proposed to solve the problem. Additionally, three heuristic algorithms are designed to obtain good-quality solutions with low computational effort. Extensive computational experimentation is carried out to measure the efficiency of the proposed solution methodologies. A case study based on the Mexican petrochemical industry is presented. Additional instances generated from the case study are considered to validate the robustness of the proposed heuristic algorithms [66].

**Rank pricing:** One of the main concerns in management and economic planning is to sell the right product to the right customer for the right price. Companies in retail and manufacturing employ pricing strategies to maximize their revenues. The Rank Pricing Problem considers a unit-demand model with unlimited supply and uniform budgets in which customers have a rank-buying behavior. Under these assumptions, the problem is first analyzed from the perspective of bilevel pricing models and formulated as a non linear bilevel program with multiple independent followers. We also present a direct non linear single level formulation. Two different linearizations of the models are carried out and two families of valid inequalities are obtained which, embedded in the formulations by implementing a branch-and-cut algorithm, allow us to tighten the upper bound given by the linear relaxation of the models. We show the efficiency of the formulations, the branch-and-cut algorithms and some preprocessing through extensive computational experiments [16].

**Bilevel minimum spanning tree problem:** Consider a graph whose edge set is partitioned into a set of red edges and a set of blue edges, and assume that red edges are weighted and contain a spanning tree of G. Then, the Bilevel Minimum Spanning Tree Problem (BMSTP) consists in pricing (i.e., weighting) the blue edges in such a way that the total weight of the blue edges selected in a minimum spanning tree of the resulting graph is maximized. We propose different mathematical formulations for the BMSTP based on the properties of the Minimum Spanning Tree Problem and the bilevel optimization. We establish a theoretical and empirical comparison between these new formulations and we also provide reinforcements that together with a proper formulation are able to solve medium to big size instances [65].

**Bilevel programming models for location problems:**
First, we addressed a multi-product location problem in which a retail firm has several malls with a known location.
A particular product comes in $p$ types. Each mall has a limited capacity for products to be sold at that location,
so the firm has to choose what products to sold at what mall. Furthermore, the firm can apply discrete levels
of discount on the products/ The objective of the firm is to find what products to sell at which mall,
with what level of discount, so that its profit is maximized.
Consumers are located in points of the region. Each consumer has a different set of acceptable products,
and will purchase one of these, or none if it is not convenient for her. Consumers maximize their utility.
The agents (firm and consumers) play a Stackelberg game, in which the firm is the leader and the customers the follower.
Once the firm decides the products to sell at each mall and the possible discounts, consumers purchase (or not)
one of their acceptable products wherever their utility is maximized.
We model the problem using bilevel formulations, which are compared on known instances from the literature [43].
Second we studied a location problem of controversial facilities. On the one hand, a leader chooses among a number of fixed potential locations which ones to establish. On the second hand, one or several followers who, once the leader location facilities have been set, choose their location points in a continuous framework. The leader's goal is to maximize some proxy to the weighted distance to the follower's location points, while the follower(s) aim is to locate his location points as close as possible to the leader ones. We develop the bilevel location model for one follower and for any polyhedral distance, and we extend it for several followers and any so-called p-norm. We prove the NP-hardness of the problem and propose different mixed integer linear programming formulations. Moreover, we develop alternative Benders decomposition algorithms for the problem. Finally, we report some computational results comparing the formulations and the Benders decompositions on a set of instances [63].

**Stackelberg games:**
First we analyzed general Stackelberg games (SGs) and Stackelberg security games (SSGs). SGs
are hierarchical adversarial games where players select actions or strategies to optimize their payoffs in a
sequential manner. SSGs are a type of SGs that arise in security applications, where the strategies of the
player that acts first consist in protecting subsets of targets and the strategies of the followers consist in
attacking one of the targets. We review existing mixed integer optimization formulations in both the general
and the security setting and present new formulations for the the second one. We compare the SG formulations
and the SSG formulations both from a theoretical and a computational point of view. We identify which formulations provide tighter linear relaxations and show that the strongest formulation for the security version is ideal in the case of one single attacker. Our computational experiments show that the new formulations can be solved in shorter times [61].

Second, we formulate a Stackelberg Security game that coordinates resources in a border patrol problem. In this security domain, resources from different precincts have to be paired to conduct patrols in the border due to logistic constraints. Given this structure the set of pure defender strategies is of exponential size. We describe the set of mixed strategies using a polynomial number of variables but exponentially many constraints that come from the matching polytope. We then include this description in a mixed integer formulation to compute the Strong Stackelberg Equilibrium efficiently with a branch and cut scheme. Since the optimal patrol solution is a probability distribution over the set of exponential size, we also introduce an efficient sampling method that can be used to deploy the security resources every shift. Our computational results evaluate the efficiency of the branch and cut scheme developed and the accuracy of the sampling method. We show the applicability of the methodology by solving a real world border patrol problem [58].