• Tidak ada hasil yang ditemukan

Cooper and Schindler (2011) notes that data analysis includes interpreting findings from the research in the light of the research questions, and determining if the results are consistent with the research hypotheses as well as the views of prior authors and researchers. A linear programming model was developed, to analyse the data obtained, using the LINGO software.

3.6.1 Linear programming model

Linear programming, may be referred to as linear optimization, and it is concerned with finding efficient solutions to systems defined by multiple linear equalities and inequalities. It is a type of optimization technique which helps to economically allocate โ€˜scarceโ€™ resources to several competing activities on the basis of a given criterion of optimality. Basic assumptions of the linear programming model includes that of linearity and additivity. Linearity (or Proportionality) is an assumption that all relationships in the LP model are linear. In terms of Additivity, it is assumed that the value of the objective function for the given values of decision variables is equal to the sum of the contributions (profit or cost) earned from each decision variable and the total sum of resources used, must be equal to the sum of the resources used by each decision variable.

General Formulation of a Linear Program

The following notations are essential to consider when formulating the general linear programming model.

m: number of constraints n: number of variables ๐‘ฅ๐‘—: decision variables

๐‘Ž๐‘–๐‘—: coefficients of variable j in constraint i ๐‘๐‘–:right-hand-side coefficients for constraints ๐‘๐‘–: objective function coefficients of the variable

A: matrix (with m rows and n columns) of the coefficients of the variables in the constraints.

The LP model is Maximization:

๐‘€๐‘Ž๐‘ฅ โˆ‘ ๐‘๐‘—๐‘ฅ๐‘—

๐‘›

๐‘—=1

๐‘ . ๐‘ก โˆ‘ ๐‘Ž๐‘–๐‘—๐‘ฅ๐‘— โ‰ค ๐‘๐‘–

๐‘›

๐‘—=1

, โˆ€๐‘–= 1, โ€ฆ โ€ฆ , ๐‘š (๐‘๐‘œ๐‘›๐‘ ๐‘ก๐‘Ÿ๐‘Ž๐‘–๐‘›๐‘ก๐‘ ) ๐‘ฅ๐‘— โ‰ฅ 0

Considering z as representing profit maximisation, the function z is known as the Objective Function. It is a linear combination of the variables (x1,x2,...,xn) with the general form:

z = c1x1+c2x2+ยทยทยท+cnxn where each c is a constant.

The linear constraints can be either equality constraints or inequality constraints, and take the general form

๐‘Ž1๐‘ฅ1 + ๐‘Ž2๐‘ฅ2 + ยทยทยท + ๐‘Ž๐‘›๐‘ฅ๐‘›{

โ‰ค

=

โ‰ฅ } = ๐‘

where a and b are constants.

A feasible solution is any combination of the variables (x1,x2,...,xn) that satisfies the constraints, and the set of these n-tuples is known as the feasible region. A problem which has no solution which satisfies all of the constraints is infeasible.

The full form of the general linear programming problem is as follows Maximize c1x1 + c2x2 + ... + cnxn = z

Subject to a11x1 + a12x2 + ... + a1nxn โ‰ค b1 a21x1 + a22x2 + ... + a2nxn โ‰ค b2

...

am1x1 + am2x2 + ... + amnxn โ‰ค bm xi โ‰ฅ 0 i โˆˆ 0,1,...,n bi โ‰ฅ 0 i โˆˆ 0,1,...,m

The general linear programming problem is also commonly written in matrix form z = cTx, Ax โ‰ค b, xi โ‰ฅ 0, bi โ‰ฅ 0

๐‘ = [ ๐‘1 ๐‘2

โ‹ฎ ๐‘๐‘›

] , ๐‘ฅ = [ ๐‘ฅ1 ๐‘ฅ2

โ‹ฎ ๐‘ฅ๐‘›

], ๐ด = [

๐ด11 ๐ด12 โ€ฆ ๐ด1๐‘› ๐ด21 ๐ด21 โ€ฆ ๐ด2๐‘›

โ‹ฎ ๐ด๐‘š1

โ‹ฎ ๐ด๐‘š1

โ‹ฎ

โ€ฆ ๐ด๐‘š๐‘› ]

There are several important properties of LP models which should be considered, in relation to whether a solution exists as long as the feasible region is bounded. It is important to note that the feasible region is said to be โ€˜boundedโ€™ if there exists a number M such that |xi| โ‰ค M holds for every feasible point (x1,x2,...,xn) and each i = 1,2,...,n.

1. If the set of linear constraints defines bounded feasible region, then there exists a point in that region that maximizes the objective function and a point that minimizes the objective function.

2. If a maximum occurs in the feasible region, it must be a vertex point of the feasible region.

3. If a minimum occurs in the feasible region, it must be a vertex point of the feasible region.

The Simplex Algorithm

The simplex method helps to solve LP problems developed by George Dantzig in 1947. It is based on that LP problems that have a solution must have an optimal solution corresponding to a corner of the feasible region. However, it is possible that there may be multiple or alternative optimal solutions. Simplex usually starts at the corner representing non activity, that is, a solution when no activity has taken place. It moves to the nearby corner that best improves the solution. The process is repeated continuously, making the greatest possible improvement each time. When no more improvements can be made, the most attractive corner corresponding to the optimal solution has been found.

General Simplex Formulation

In general, the simplex algorithm is a method for solving linear programs in the following form,

Maximize

subject to the constraints

The constraints

can be written as

where is a slack variable.

The new variables would be assigned zero cost coefficients in the objective function, i.e.

.

In matrix notations, the standard form of a linear programming problem be represented by an matrix

together with an n-vector of โ€œcostsโ€and an m-vector of โ€œright- hand sidesโ€

The variables can also be grouped into an n-vector:

Then the entire linear program can be written as follows:

Presolving the LP problem

The presolving procedure as a critical part of problem solving process using linear programming.

Presolving is a procedure performed on LP problems prior to the application of the model onto an LP solver. This was performed in order to reduce the size of the LP problem through the elimination of redundant constraints and variables. It helped to identify possible infeasibility and unboundedness of the problem.

The computational complexity of the LP solver depends on the number of constraints and variables in the LP problem. As such, it was necessary to check for the redundant constraints and variables

in the current LP problem. These were eliminated before sending the problem to the LP solver, LINGO, in this case to reduce the size of the problem. The associated reduction in the size of the LP problem resulted in a decline in the time taken by the LP solver to solve the problem.

Also, the presolving step was performed to assess on any possible infeasibility and unboundedness conditions of the LP problem. Upon finding that there were no incidences of infeasibility and unboundedness conditions of the problem, the LP solving process was continued. It was however acknowledged that despite the robustness of the process, no presolving technique may guarantee detection of all infeasible and unbounded problems.

Dokumen terkait