Next Article in Journal
Solitons Equipped with a Semi-Symmetric Metric Connection with Some Applications on Number Theory
Next Article in Special Issue
Numerical Modeling of Thrombocyte Interaction Mechanics with a Blood Vessel Wall
Previous Article in Journal
Design of Polynomial Observer-Based Control of Fractional-Order Power Systems
Previous Article in Special Issue
The Importance of Embedding a General forward Kinematic Model for Industrial Robots with Serial Architecture in Order to Compensate for Positioning Errors
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

On Solving Stochastic Optimization Problems

by
Ovidiu Blăjină
and
Ionuţ Gabriel Ghionea
*
Manufacturing Engineering Department, Faculty of Industrial Engineering and Robotics, National University of Science and Technology Politehnica Bucharest, Splaiul Independenţei 313, Dist. 6, 060042 Bucharest, Romania
*
Author to whom correspondence should be addressed.
Mathematics 2023, 11(21), 4451; https://doi.org/10.3390/math11214451
Submission received: 25 September 2023 / Revised: 22 October 2023 / Accepted: 25 October 2023 / Published: 27 October 2023

Abstract

:
Many optimization mathematical models, associated with the technical-economic processes of real-world problems, have elements of uncertainty in their structure, which places them in stochastic optimization programming. Their diversity and complexity, due to the large uncertainty space, require special methods of solving, because there is no general solution method. Within this context, in this paper we consider the category of optimization models that can contain random variable type coefficients and/or imposed probability levels on the constraints. The purpose of the paper is to propose a methodology dedicated to these studied models. Applying the methodology leads to developing a deterministic linear programming model, associated with the initial stochastic model. In fact, the proposed methodology reduces the stochastic formulation to a deterministic formulation. The methodology is illustrated with a numerical case study based on a manufacturing problem. Solving the obtained deterministic model is carried out in the version assisted by a specialized software product (WinQSB Version 2.0). It allows for the performing of a sensitivity analysis of the optimal solution, and/or a parametric analysis relative to certain model coefficients, both also presented in the paper. The main result of the study in this paper is the proposed methodology, which is applicable on a large scale, for any mathematical model of stochastic optimization of the mentioned type, regardless of complexity, dimensions and the domain of the process to which it is associated. The numerical results obtained when applying this methodology indicate its efficiency and effectiveness in finding the solution for the studied models. The approach to this issue in the present paper is determined by the wide range of stochastic optimization problems in the various studied real-life processes and by the imperative need to adopt the best decisions in conditions of uncertainty.
MSC:
60H35 computational methods for stochastic equations (aspects of stochastic analysis)

1. Introduction

The act of obtaining the best decision under given circumstances is known as optimization. For deterministic optimization problems, no randomness or uncertainty is considered, and so the solutions are relatively simple. However, many real-world optimization problems involve some sort of uncertainty in the form of randomness [1]. Randomness usually enters the problem through the objective function and/or the constraints set.
Linear programming is a branch of mathematical programming, considered a tool for optimizing a result through a deterministic optimization model. It is a quantitative analysis technique to achieve the desired solution, and it is considered the most important method of optimization in different fields of research. It is used to obtain the optimal solution to a problem within some constraints [2]. Linear programming is concerned with the optimization (maximization or minimization) of a linear objective function in many variables subject to linear equality and inequality constraints [3].
Stochastic programming is involved in modeling optimization problems that invoke uncertainty. Real, everyday problems often include coefficients that are unknown at the time a decision should be made. A stochastic programming model is formulated with random requirements when the optimal decision is uncertain relative to the state of the future events. The size of such model grows proportionally to the number of possible use of uncertain coefficients. Solution approaches to stochastic programming models are driven by the type of probability distributions that set up the random coefficients.
Stochastic optimization has been studied in a broad set of communities that each developed methods to solve problems that were important for them.
Dantzig was the first researcher who introduced stochastic programming problems [4]. A procedure for solving this problem, considering both randomness and interval parameters in the problem formulation, was established by Barik et al. [5]. Ahmed [6] proposed the formulation technique of two-stage stochastic programming with fixed recourse. An extensive analysis of the different categories of stochastic programming models with the indication of computational methods is carried out by Birge. Much of stochastic programming research has considered various theoretical properties. Important convexity, continuity, and stability properties appear for recourse models [7]. For chance-constrained models, Prékopa derived key convexity conditions [8]. A procedure to find a solution for a stochastic programming problem where the coefficients in objective function follow uniform distribution and where some of the parameters follow varying continuous probability distributions with known mean and variance is proposed by Doshi and Trivedi [9]. Stochastic integer programming models arise when the decision variables are required to take on integer values. In most practical situations, this involves a loss of convexity and makes the application of decomposition methods problematic. Techniques for solving such models is an active research area [10]. A multistage stochastic optimization problem with quasi-variation inequality constraints is analyzed by Scopelliti [11] by using the Rockafellar and Wets multistage stochastic approach. Powell [12] treats the diversity of optimization problems under uncertainty, a policy search based on look-ahead approximations and risk in such problems.
Stochastic programming is largely used in different optimization application domains like finance, technology, ecology, maintenance, telecommunications, transportation, manufacturing, etc. [13]. Recently, there has been a strong orientation of researchers towards the development of specific methods dedicated to certain processes in particular fields. The paper by [14] is centered on an optimal control problem with applications in car suspension systems and the accumulation of pollution caused by the consumption of gas, oil, etc. Shao et al. [15] present a study of deregulated electricity using fuzzy variables and robust optimization so that the expectation of a risk-averse distribution system operator is fulfilled. Rigoberto and Lopez-Barrientos [16] treat the insuring of the extraction tasks of non-renewable resources using stochastic dynamic programming.
The purpose of our paper is to propose a methodology for solving the optimization mathematical models associated with technical-economic processes, which contain random variable type coefficients and/or imposed probability levels (different from unity) on the constraints. Starting from the initial stochastic model, a deterministic linear programming model will be developed, solvable with specific methods and which, subsequently, makes possible a sensitivity analysis of the optimal solution and/or a parametric analysis relative to certain coefficients.
The methodology is applicable to any stochastic optimization model of the mentioned type, no matter its size, number of variables, or restrictions. Larger dimensions of the initial model do not increase the degree of difficulty of setting up the deterministic model. From a dimensional point of view, the resulting deterministic model has the same number of variables as the initial stochastic model, but a greater number of restrictions due to the possible combinations between the multiple values that the discrete random variables can take. The proposed set-up of the deterministic model does not require a sophisticated mathematical apparatus. The results obtained by solving this last model are then attributed to the initial stochastic model. The spectrum of real-world applications that can be formalized with the type of stochastic model studied in this paper is diverse; consequently, the proposed methodology is applicable on a large scale, without any limitations of its use in practice.
The paper is organized as follows. Section 2 gives a brief overview of some theoretical aspects of classical linear programming. In Section 3, the characteristics of the stochastic programming model type studied in this paper are described. It also deals with the ways this model is converted into a deterministic linear programming model. Section 4 is dedicated to the proposed methodology for solving and analyzing the considered type of stochastic model. In Section 5, a numerical case study is presented to exemplify the practical application of the proposed methodology. Section 6 contains the main conclusions of this paper.

2. Theoretical Aspects of Linear Programming

In this section, certain essential theoretical aspects regarding linear programming problems are presented, since the methodology proposed in Section 4 aims precisely at the construction of a deterministic mathematical model of linear programming associated with the initial stochastic model.
A linear programming problem may be defined as the problem of maximizing or minimizing a linear function subject to linear constraints. The constraints may be equalities or inequalities.
A linear programming problem in general form has the following mathematical model:
Maximize   or   minimize   z = c 1 x 1 + c 2 x 2 + + c n x n Subject   to                                                   a 11 x 1 + a 12 x 2 + + a 1 n x n ( ,   = )   b 1                                                                                         a 21 x 1 + a 22 x 2 + + a 2 n x n ( ,   = )   b 2                                                                                                                                                                                 a m 1 x 1 + a m 2 x 2 + + a m n x n ( ,   = )   b m
where the xj (j = 1,…, n) values are decision variables, and the cj, aij, bi (i = 1,…, m; j = 1,…, n) values are constants, called coefficients, which are given or specified by a problem’s assumptions.
In linear programming, the expression being optimized (maximized or minimized) z is called the objective function. The other relations in the model (1) constitute the system of problem constraints. In each relation, only one of the symbols “≤”, “≥”, or “=” appears. The left hand side of each relation is a linear function in the variables x1, x2,…, xn.
A linear programming problem is in standard form if in its mathematical model all the constraints have the symbol “=” and, in addition, the non-negativity conditions of the variables also appear. This model can be rewritten in the reduced format:
Maximize   or   minimize   z = j = 1 n c j x j Subject   to                                                   j = 1 n a i j x j = b i ,   i = 1 , , m                                                                                           x j 0 ,   j = 1 , , n
The mathematical model can have two canonical forms:
Maximize   ( minimize )   z = j = 1 n c j x j Subject   to                                         j = 1 n a i j x j   ( )   b i ,   i = 1 , , m                                                                                   x j 0 ,   j = 1 , , n
All these forms of linear programming models are equivalent; with elementary linear transformations, they can go from one form to another. The most convenient way to solve a model is its standard form.
Solving a linear programming problem consists in determining those values of the decision variables x1, x2,…, xn, which satisfy the problem’s constraints and conditions and which optimize the value of the objective function z. To solve a classical linear programming problem, the simplex method or interior-point methods are used. As it is well known, in a such model, all the constraints must be necessarily satisfied, and the variables are non-negative. If the mathematical model contains only two variables, the graphic method can also be applied.

3. Studied Stochastic Optimization Model

Let us assume the following mathematical model:
Maximize   z = c 1 x 1 + c 2 x 2 + + c n x n Subject   to   P ( j = 1 n a l j x j b l ) p l ,   l = 1 , ,   q                                           j = 1 n a s j x j b s ,   s = q + 1 , ,   m                                           x 1 , ,   x n 0
where some or all the coefficients in the objective function c j   ( j = 1 , , n ) and/or some of the coefficients in the constraints a s j   ( s = q + 1 , , m ,   j = 1 , ,   n ) are random variables, and/or the first q constraints are set to satisfy a given probability level p l   ( l = 1 , , q ) . It is a stochastic programming model to solve.
Such a model can no longer be solved with the simplex algorithm. It is necessary to develop, in advance, an equivalent deterministic model of linear programming.
Let us assume that in the first q constraints of the model
P ( j = 1 n a l j x j b l ) p l ,   l = 1 , ,   q
each coefficient b l   ( l = 1 , , q ) is an independent random continuous variable, which follows a normal distribution, with mean μ l and dispersion (variance) σ l 2 . The inequality (5) shows that the l-th constraint would not be satisfied with the probability 1 p l for any admissible choice of the xj (j = 1,…, n) values.
However,
P ( j = 1 n a l j x j b l ) = P ( j = 1 n a l j x j μ l σ l b l μ l σ l )
where σ l is the standard deviation.
Since the variable bl is normally distributed, based on the transformation relation of a normal distribution into a standard normal distribution, it results that b l μ l σ l is the standardized normal variable, with mean zero and unit variance [12].
Based on Gauss–Laplace’s function:
Φ ( z ) = 1 2 π 0 z e u 2 2 d u
relation (5) becomes
Φ   ( j = 1 n a l j x j μ l σ l ) p l
or
j = 1 n a l j x j μ l σ l Φ 1 ( p l )
The value Φ 1 ( p l ) can be evaluated from a standard normal table. We note Φ 1 ( p l ) = k l . Then the relation (9) is rewritten as follows:
j = 1 n a l j x j μ l k l σ l
We assume that the mathematical model contains a number of t coefficients of the type of discrete random variables, independent two by two from a statistical point of view, denoted by rv(k) (k = 1,…, t). Each random variable rv(k) has a finite number n k of possible values in its distribution table:
r v ( k ) : ( v 1 ( k ) v 2 ( k ) v n k ( k ) p 1 ( k ) p 2 ( k ) p n k ( k ) ) ,   k = 1 , ,   t
The coefficients of the mathematical model of the discrete random variable type can take any of their values within the model. As a result, several numerical forms of the initial mathematical model are possible. Their number N is equal to
N = k = 1 t n k
Any of the N numerical forms of the model can be expressed synthetically by grouping the concrete values of the coefficients in a matrix of the following form:
M i = [ c 1 c 2 c n a 11 a 12 a 1 n b 1 a 21 a 22 a 2 n b 2 a m 1 a m 2 a m n b m ] ,   i = 1 , , N
Among the matrix elements, t are random variables, and the rest are deterministic values.
Since the t random variables are independent two by two, it follows that the probability of existence of each matrix Mi, denoted by p i   ( i = 1 , , N ) , is equal to the product of the probabilities of the values taken by the random variables in the respective matrix:
p i = k = 1 k p j , i ( k ) ,   j = 1 , ,   n k ,   i = 1 , ,   N  
where p j , i ( k )   is the probability of the value v j ( k ) ,   j = 1 , ,   n k , of the random coefficient r v ( k ) ,   k = 1 , ,   t , in the matrix M i ,   i = 1 , , N .
Each coefficient of the objective function, c j ,   j = 1 , , n , which is of discrete random variable type, will be replaced in the deterministic mathematical model with its average value, calculated as the weighted sum of the possible values of that coefficient, multiplied by the value of the probability of the matrices’ existence, of which they are a part:
c ˜ j = i = 1 N p i c j ( i ) ,   j = 1 , ,   n  
where c j ( i ) is the value of the random variable c j in the matrix M i ,   i = 1 , , N .
The final deterministic model will contain all possible, distinct constraints that can be formed by combining different values of the random variables in the stochastic model’s constraints structure.
Thus, the optimal solution of this obtained deterministic model will satisfy any numerical variant of the mathematical model among the N possible ones, resulting from the initial stochastic model.
The deterministic mathematical model, thus obtained, has its uniqueness ensured by the application of the methodology proposed in Section 4. Such model includes all possible values of the random variables and satisfies the restrictions with the imposed probabilities.

4. Methodology for Solving the Studied Stochastic Models

In formulating an optimization model for a specific technical-economic problem, four stages are applied, namely: (1) determining decision variables; (2) formulating the objective function; (3) determining and modeling the constraint functions; (4) formulating the model of the linear programming statement subject to the given constraints.
The diversity as well as the complexity of stochastic programming models mean that there is no general solution method applicable to them, like the simplex algorithm in classical linear programming.
In order to solve and analyze a stochastic programming model with configuration (4), we propose the following methodology through the application of which a deterministic linear programming model is built, and afterward it can be solved and analyzed:
  • Step 1. It is analyzed if the initial mathematical model is of stochastic type. If yes, step 2 follows; otherwise, the model is solved with the simplex algorithm.
  • Step 2. If the mathematical model contains preassigned probability levels on the constraints (see relation 5), then these are replaced in the model with relations of form (10), then go to step 3.
  • Step 3. If the mathematical model has coefficients of a discrete random variable type, then step 4 follows; otherwise, the model is solved with the simplex algorithm.
  • Step 4. All possible numerical matrices M i ,   i = 1 , , N , of form (13) are built.
  • Step 5. The probability p i ,   i = 1 , , N , of occurrence of each numerical matrix M i from step 4 is calculated with relation (14).
  • Step 6. The mean value c ˜ j of each random coefficient of the objective function, c j ,   j = 1 , ,   n , is inserted in the model at the position of the respective coefficient.
  • Step 7. All the possible, distinct constraints that can be formed by combining different values of the random variables in the stochastic model’s constraint structure are inserted.
  • Step 8. The obtained deterministic linear programming model is solved with the simplex algorithm. The optimal solution of this model and the corresponding objective function value are assigned to the initial stochastic mathematical model.
  • Step 9. In this step, the sensitivity analysis of the optimal solution of the deterministic mathematical model is performed.
  • Step 10. The parametric analysis of the objective function is performed in relation to the coefficients of the objective function or to the free terms of the constraints from the deterministic mathematical model.
  • Remarks:
  • The calculations volume that is required to obtain the deterministic linear programming model increases with the number of random (discrete) variables in the stochastic model, as well as with the number of their possible values.
  • The calculations required in steps 8–10 are recommended to be performed using a specialized software product, such as WinQSB 2.0, POM-QM.
  • When solving the deterministic model, three situations from classical linear programming are possible: to admit a finite solution (single or multiple); not to admit a solution (situation generated by a conflict between constraints); to admit an infinite optimum (a situation that cannot occur in the case of the numerical data of the model of a real technical-economic problem).
The advantages of applying the methodology proposed above for stochastic models of type (4) consist of the following aspects: use in a wide variety of practical applications that involve stochastic optimization; the relatively simple construction of the deterministic model; ensuring the uniqueness of the final deterministic model, practically, of the convergence of the proposed algorithm; solving the built linear programming model using the simplex algorithm.
The assisted realization of the last three steps of the methodology with the help of a specialized software product has the following main advantages: guaranteeing the correctness of the numerical results obtained when applying the simplex solving algorithm; elimination of the analyst’s routine activities; an important saving of time. The possible small approximation errors that may interfere with the accuracy of the obtained results are due exclusively to the numerical calculation errors inherent in the current calculation systems.

5. Numerical Case Study

Let us consider the following manufacturing problem.
A company makes two types of products, P 1 and P 2 , by processing them successively on two machines U 1 and U 2 . The unit processing times (in minutes) of the products are indicated in Table 1.
The processing times available for the two machines are random variables independently and normally distributed with means μ 1 = 60 , μ 2 = 50 and dispersions σ 1 2 = 4.84 , σ 2 2 = 2.25 .
For the manufacture of the two products, the company uses two raw materials M 1 and M 2 , available in limited quantities. The technological coefficients (unit consumption of raw materials), the unit profits obtained by selling products, and the available quantities of raw materials are indicated in Table 2.
From the company’s available data, it appears that the three coefficients a 31 ,   a 42 ,   c 2 are of the discrete random variable type with the following distributions:
-
due to the quality of the raw materials:
a 31 = ( 2 3 0.6 0.4 ) ;   a 42 = ( 3 3.4 0.5 0.5 )
-
due to market demand fluctuations:
c 2 = ( 13 14 0.7 0.3 )
These three random variables are independent two by two from a statistical point of view.
We propose determining a manufacturing plan relative to the two types of products P 1 and P 2 , so that the total average profit is maximum, and the working time on the two machines does not exceed the available time with the minimum probabilities of 95% and 90%, respectively.
We will denote with x 1 ,   x 2 , the decision variables representing the quantities to be manufactured for products P 1 and P 2 , respectively, and with b 1 ,   b 2 , the quantities available from the two raw materials. The mathematical model of the considered problem has the following form:
[ Maximize ]   z = 12 x 1 + c 2 x 2 Subject   to     P ( x 1 + 2 x 2   b 1 ) 0 . 95                                             P ( 0.5 x 1 + 1.5 x 2 b 2 ) 0.90                                             a 31 x 1 + x 2 60                                             1 . 2 x 1 + a 42 x 2 85                                             x 1 ,   x 2 0
According to the proposed methodology, the first two constraints in model (18), which have preassigned probability levels, are replaced by the following two normal constraints:
x 1 + 2 x 2 60 1.65 2.2 0.5 x 1 + 1.5 x 2 50 1.28 1.5
The stochastic model becomes
[ Maximize ]   z = 12 x 1 + c 2 x 2 Subject   to     x 1 + 2 x 2   56.37                                             0 . 5 x 1 + 1.5 x 2 48.08                                             a 31 x 1 + x 2 60                                               1 . 2 x 1 + a 42 x 2 85                                             x 1 ,   x 2 0
The three random coefficients in the model (20), a 31 ,   a 42 ,   c 2 , each having two possible values, lead to eight possible numerical forms of it. Their coefficients are grouped in the following eight numerical matrices (21):
M 1 = [ 12 13 1 2 56.37 0.5 1.5 48.08 2 1 60 1.2 3 85 ] ;   M 2 = [ 12 13 1 2 56.37 0.5 1.5 48.08 2 1 60 1.2 3.4 85 ] ;   M 3 = [ 12 14 1 2 56.37 0.5 1.5 48.08 2 1 60 1.2 3.4 85 ] ; M 4 = [ 12 14 1 2 56.37 0.5 1.5 48.08 2 1 60 1.2 3 85 ] ;   M 5 = [ 12 13 1 2 56.37 0.5 1.5 48.08 3 1 60 1.2 3 85 ] ;   M 6 = [ 12 13 1 2 56.37 0.5 1.5 48.08 3 1 60 1.2 3.4 85 ] ; M 7 = [ 12 14 1 2 56.37 0.5 1.5 48.08 3 1 60 1.2 3 85 ] ;   M 8 = [ 12 14 1 2 56.37 0.5 1.5 48.08 3 1 60 1.2 3.4 85 ]
The probabilities of occurrence of these matrices are calculated as follows:
p 1 = 0.7 0.6 0.5 = 0.21 ;   p 2 = 0.7 0.6 0.5 = 0.21 ;   p 3 = 0.3 0.6 0.5 = 0.09 ; p 4 = 0.3 0.6 0.5 = 0.09 ;   p 5 = 0.7 0.4 0.5 = 0.14 ;   p 6 = 0.7 0.4 0.5 = 0.14 ; p 7 = 0.3 0.4 0.5 = 0.06 ;   p 8 = 0.3 0.4 0.5 = 0.06
The mean value of the random coefficient c 2 is determined as follows:
c ˜ 2 = 13 0.21 + 13 0.21 + 14 0.09 + 14 0.09 + 13 0.14 + 13 0.14 + 14 0.06 + 14 0.06 = 13.3
The obtained deterministic linear programming model is the following:
[ Maximize ]   z ˜ = 12 x 1 + 13.3 x 2 Subject   to     x 1 + 2 x 2   56.37                                             0.5 x 1 + 1.9 x 2 48.08                                             2 x 1 + x 2 60                                             3 x 1 + x 2 60                                             1 . 2 x 1 + 3 x 2 85                                             1 . 2 x 1 + 3.4 x 2 85                                             x 1 ,   x 2 0
We will solve model (24) with the module Linear and Integer Programming of the specialized software product WinQSB.
In the initial working window of the module, we entered the coefficients of the model in the Spreadsheet Matrix Form format (Figure 1). With the Switch to Normal Model Form command, the inserted model can be converted to the Normal Model Form format, presented in Figure 2.
The Solve the Problem command from the Solve and Analyze menu analytically solves the model with the simplex algorithm. In the results window, the combined report of the model solution is obtained (shown in Figure 3). The upper half of the report refers to the optimal solution and the corresponding optimal value of the objective function. The lower half refers to the constraints of the model.
Since model (24) contains only two variables, the graphic method can also be used to solve it. The Graphic Method command, from the Solve and Analyze menu, returns the graphic solution of the model in the Graphic Solution window (Figure 4). The solution of the problem is represented in the figure by the green-colored point, being a peak of the hatched domain.
The optimal solution of the deterministic model is x 1 = 13.22 , x 2 = 20.33 (the coordinates of the point in the above Figure 4). The corresponding maximum value of the objective function z ˜ max = 429.10 . The optimal solution ( x 1 and x 2 ) and the value z ˜ max of the deterministic linear programming model (24) are assigned as the solution and the value of the objective function z, respectively, of the initial stochastic model (18).
In the economic context of the original problem stated, the quantities of products that will have to be made are 13.22 units of the product P 1 and 20.33 units of the product P 2 , with an average total profit equal to 429.10 monetary units.
The sensitivity analysis of the optimal solution of the deterministic model (24) uses the columns Allowable Min c(j) and Allowable Max c(j) from the combined report (see Figure 3). They contain the limits of the admissibility intervals of the coefficients of the objective function z ˜ , for which the optimal values of the variables, x 1 = 13.22 and x 2 = 20.33 , do not change. Thus: c 1 [ 4 . 69 ,   39 . 90 ] and c 2 [ 4 ,   34 ] .
The parametric analysis uses the Perform Parametric Analysis command, chosen from the Solve and Analyze menu. For the parametric analysis relative to the values of a coefficient in the objective function, for example, c 1 of the variable x 1 , the Parametric Analysis dialog box is completed accordingly and then, by pressing the OK command button, displays the table with the parametric analysis (Figure 5) in the results window. The columns From Coeff. of X1 and To Coeff. of X1 contain the limits of the variation intervals of the coefficient c 1 . The columns From OBJ Value and To OBJ Value contain the extreme values of the corresponding variation intervals of the objective function z ˜ . For example, the value z ˜ = 798.0001 corresponds to the value of the parameter c 1 = 39.9 . The letter M is the conventional notation in the program for ∝. In the Slope column, for each interval, the slope is indicated; it represents the ratio between the value of the objective function variation and the coefficient variation c 1 , and it is equal to the value of x 1 , which does not change in the range specified for its coefficient c 1 . For c 1 ( ,   4 . 6941 ) , it obtains x 1 = 0 , and z ˜ has the constant value 332.5 . For c 1 (   4 . 6941 ,   ) , the dependence between the objective z ˜ and the parameter c 1 is directly proportional to the different variation sections of the parameter.
With the Graphic Parametric Analysis command from the Results menu, the graph that shows the variation of the objective function depending on the values of the coefficient c1 is obtained (Figure 6).
In a similar way, the parametric analysis is carried out in relation to the other coefficient c2 of the objective function of the mathematical model (24).
For the parametric analysis relative to the values of the right hand side of a constraint, for example, the coefficient b 4 , the table with the resulting parametric analysis, displayed in the results window, is presented in Figure 7. The columns From RHS of C4 and To RHS of C4 contain the limits of the variation intervals of the coefficient b 4 . The columns From OBJ Value and To OBJ Value contain the extreme values of the corresponding variation intervals of the objective function z ˜ . For example, the value z ˜ = 332.5 corresponds to the value of the parameter b 4 = 25 . The columns From RHS of C4 and To RHS of C4 contain the limits of the variation intervals of the coefficient b 4 .
The columns From OBJ Value and To OBJ Value contain the extreme values of the corresponding variation intervals of the objective function z ˜ . For example, the value z ˜ = 332.5 corresponds to the value of the parameter b 4 = 25 . For b 4 ( ,   0 ) , z ˜ is infeasible. For b 4 (   0 ,   81 . 25 ) , the dependence between the objective z ˜ and the parameter b 4 is directly proportional to the different variation sections of the parameter. For b 4 (   81.25 ,   ) , z ˜ has the constant value 487.75 , due to the fixed and limited values of the coefficients b 1 ,   b 2 ,   b 3 ,   b 5 ,   b 6 of the other five constraints.
The graphic representation corresponding to the parametric analysis relative to the coefficient b 4 is presented in Figure 8.
In a similar way, the parametric analysis is carried out in relation to each right hand side coefficient b 1 ,   b 2 ,   b 3 ,   b 5 or b 6 of the constraints in the deterministic mathematical model (24).
Mentioning the commands from the WinQSB program used to solve the problem aimed to familiarize the reader with the main operating commands of this efficient software product, specialized in solving optimization problems.
The initial stochastic model (18) proposed in this section is simple in terms of dimensional complexity. It contains only two variables, so that when solving the obtained deterministic model (24), the graphic method, available in the WinQSB software, Version 2.0, can be used, along with the analytical method. At the same time, understanding the practical application of the methodology developed in the paper regarding the construction of the deterministic model is facilitated by the reduced dimensions of the studied model.
The subsequent approach to solving some larger models does not raise special, additional problems, compared to those encountered in the considered numerical example.
If the number of decision variables in the deterministic mathematical model is at least equal to 3, its solution is possible only with the analytical method: the simplex algorithm.
For a concrete technical-economic optimization problem to be solved, first it must develop the associated mathematical model. Obviously, the accuracy of the obtained numerical results is dependent on the quality of this initial mathematical model. Finally, all obtained numerical results must be interpreted, in the context of the practical development of the concrete problem.
The deterministic model, obtained after applying the methodology, presents the following advantages: uniqueness; solving with the simplex algorithm; performing the sensitivity analysis of the obtained solution and the parametric analyses.
The proposed methodology is applicable to the category described by stochastic optimization models. The optimal solution (if it exists) of the deterministic model is considered “just” a solution for the initial stochastic model.

6. Conclusions

In this paper, we present a study for solving and analyzing stochastic programming models which contain coefficients of the random variable type and preassigned probability levels on the constraints. This study is motivated by the fact that in socio-economic activities, as well as in a major number of engineering applications, determining the best/optimal solution for a concrete numerical optimization problem is a necessity to achieve the best performance.
The ever-increasing dynamics of the competitive market economy causes changes or updates in the input data of the problems. This implies the performance of the two types of post-optimization analyses, namely sensitivity and/or parametric. This is why the authors have included these two types of analysis in the methodology, as a requirement for competence and managerial responsibility.
From a scientific point of view, with the help of the methodology proposed in this paper, starting from a complex stochastic model of type (4), a deterministic linear programming model can be developed, which can be solved with the specific method. There is no dimensional limit of the initial model that influences the obtaining of the final model. Increasing the number of constraints in this last model does not increase the difficulty of obtaining the solution if computer-aided solving is used.
Therefore, finding the solution for the studied stochastic optimization models is relatively simple using the proposed methodology. If the deterministic model does not admit a solution, the reason is the existence of some contradictions between the constraints of the stochastic model, taken over by the construction of the associated deterministic model.
From an applicative point of view, the methodology provides the ability to effectively solve the problem, as well as to perform, as the case may be, an analysis of the solution sensitivity and/or the parametric analysis of the objective function (in relation to the coefficients of the objective function or to the free terms of the constraints).
Unlike the studies of other authors, the methodology proposed in this paper presents the following characteristics: it does not require the use of a complicated mathematical apparatus; it has wide applicability for any stochastic optimization process in real life, having the mathematical model included in the category studied in this paper; there are no limit conditions for the development of the deterministic model; it guarantees obtaining the deterministic model associated with the stochastic one; it ensures the uniqueness of the constructed deterministic model; it also offers the possibility of solving and computer-assisted analysis of the final model.
The assisted realization of the last three steps of the methodology with the help of a specialized software product (such as WinQSB) has the main advantages of guaranteeing the correctness of the numerical results obtained when applying the simplex algorithm; elimination of the analyst’s routine activities; an important saving of time.
The use of computers in the calculation is also important when it is necessary to re-optimize the initial stochastic mathematical model due to changes in the values of some of its coefficients. These changes are caused by the dynamics of the real-time evolution of the studied process.
This paper can be a starting point for future developments. It could be interesting to extend the analysis, both from a theoretical and computational point of view, to other categories of stochastic programming, inspired by real-world applications.

Author Contributions

Conceptualization, O.B.; methodology, O.B.; software use, O.B.; validation, O.B. and I.G.G.; resources, O.B. and I.G.G.; data curation, O.B.; writing—review and editing, O.B. and I.G.G.; supervision, I.G.G. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Data Availability Statement

There are no additional data available.

Acknowledgments

The authors wish to thank the reviewers for numerous suggestions that have greatly improved the quality of this article. Also, we wish to thank National University of Science and Technology Politehnica of Bucharest for the support given to the publication of this paper and the creators of WinQSB software for the version 2.0 used in this research.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Chen, D.C.; Lee, L.H. Stochastic Simulation Optimization: An Optimal Computing Budget Allocation; World Scientific Publishing Co.: Singapore, 2010. [Google Scholar]
  2. Kunwar, R.; Sapkota, H.P. An Introduction to Linear Programming Problems with Some Real-Life Applications. Eur. J. Math. Stat. 2022, 3, 21–27. [Google Scholar] [CrossRef]
  3. Dantzig, G.B.; Thapa, M.N. Linear Programming: Introduction; Springer Inc.: New York, NY, USA, 1997. [Google Scholar]
  4. Dantzig, G.B. Linear programming under uncertainty. Manag. Sci. 1955, 1, 197–206. [Google Scholar] [CrossRef]
  5. Barik, S.K.; Biswal, M.P.; Chakravarty, D. Two-Stage stochastic programming problems involving interval discrete random variables. Opsearch 2012, 49, 280–298. [Google Scholar] [CrossRef]
  6. Ahmed, H. Formulation of two-stage stochastic programming with fixed recourse. Br. Int. Exact Sci. (BIoEx) J. 2019, 1, 18–21. [Google Scholar] [CrossRef]
  7. Birge, J.R.; Louveaux, F. Introduction to Stochastic Programming; Springer: Berlin, Germany, 1997. [Google Scholar]
  8. Prékopa, A. Logarithmic concave measures with application to stochastic programming. Acta Sci. Math. 1971, 32, 301–316. [Google Scholar]
  9. Doshi, H.S.; Trivedi, C.J. A study of stochastic programming having some continuous random variables. Int. J. Eng. Trends Technol. 2016, 37, 286–290. [Google Scholar] [CrossRef]
  10. Schultz, R. Stochastic Integer Programming: A Tutorial. In Proceedings of the 9th Conference on Stochastic Programming, Berlin, Germany, 25–31 August 2001. [Google Scholar]
  11. Scopelliti, D. On a Class of Multistage Stochastic Hierarchical Problems. Mathematics 2022, 10, 4044. [Google Scholar] [CrossRef]
  12. Powell, W. Stochastic Optimization and Learning; Wiley-Interscience: New York, NY, USA, 2018. [Google Scholar]
  13. Gassmann, H.I.; Schwartz, S.L.; Wallace, S.W.; Ziemba, W.T. Introduction to stochastic programming applications. In Applications of Stochastic Programming; Society for Industrial and Applied Mathematics: Philadelphia, PA, USA, 2005; pp. 179–184. [Google Scholar]
  14. Escobedo-Trujillo, B.A.; Garrido-Meléndez, J.; Alcalá, G.; Revuelta-Acosta, J.D. Optimal Control with Partially Observed Regime Switching: Discounted and Average Payoffs. Mathematics 2022, 10, 2073. [Google Scholar] [CrossRef]
  15. Shao, L.P.; Chen, J.J.; Pan, L.W.; Yang, Z.J. A Credibility Theory-Based Robust Optimization Model to Hedge Price Uncertainty of DSO with Multiple Transactions. Mathematics 2022, 10, 4420. [Google Scholar] [CrossRef]
  16. Rigoberto, R.M.; Lopez-Barrientos, J.D. A Geologic-Actuarial Approach for Insuring the Extraction Tasks of Non-Renewable Resources by One and Two Agents. Mathematics 2022, 10, 2242. [Google Scholar] [CrossRef]
Figure 1. Mathematical model in Spreadsheet Matrix Form.
Figure 1. Mathematical model in Spreadsheet Matrix Form.
Mathematics 11 04451 g001
Figure 2. Mathematical model in Normal Model Form.
Figure 2. Mathematical model in Normal Model Form.
Mathematics 11 04451 g002
Figure 3. Combined report of the model solution.
Figure 3. Combined report of the model solution.
Mathematics 11 04451 g003
Figure 4. Graphic solution of the model.
Figure 4. Graphic solution of the model.
Mathematics 11 04451 g004
Figure 5. The table of the parametric analysis relative to the coefficient c1.
Figure 5. The table of the parametric analysis relative to the coefficient c1.
Mathematics 11 04451 g005
Figure 6. The graph of the parametric analysis relative to the coefficient c1.
Figure 6. The graph of the parametric analysis relative to the coefficient c1.
Mathematics 11 04451 g006
Figure 7. The table of the parametric analysis relative to the coefficient b3.
Figure 7. The table of the parametric analysis relative to the coefficient b3.
Mathematics 11 04451 g007
Figure 8. The graph of the parametric analysis relative to the coefficient b3.
Figure 8. The graph of the parametric analysis relative to the coefficient b3.
Mathematics 11 04451 g008
Table 1. The unit processing times (minutes).
Table 1. The unit processing times (minutes).
P 1 P 2
U 1 12
U 2 0.51.5
Table 2. Available quantities of raw materials.
Table 2. Available quantities of raw materials.
P 1 P 2 Available Raw Material
M 1 a 31 160
M 2 1.2 a 42 85
Unit profit12 C 2 -
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Blăjină, O.; Ghionea, I.G. On Solving Stochastic Optimization Problems. Mathematics 2023, 11, 4451. https://doi.org/10.3390/math11214451

AMA Style

Blăjină O, Ghionea IG. On Solving Stochastic Optimization Problems. Mathematics. 2023; 11(21):4451. https://doi.org/10.3390/math11214451

Chicago/Turabian Style

Blăjină, Ovidiu, and Ionuţ Gabriel Ghionea. 2023. "On Solving Stochastic Optimization Problems" Mathematics 11, no. 21: 4451. https://doi.org/10.3390/math11214451

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop