Friday, December 04, 2026

The Recurrence Of Truncation As A Solution To A Linear Complementarity Problem (LCP)

1.0 Introduction

I have previously put forth an example of the recurrence of truncation without capital-reversing or the reswitching of techniques. And I have set out the analysis of the choice of technique as performed by finding the solution of a LCP. Matlab code is available for solving LCPs.

This post presents the output of executed code for solving a LCP for an example of the recurrence of truncation. I know I should have better code for input and output. I seem to recall having written code with better formatting, much like in C.

2.0 Technology and Techniques

Tables 1 and 2 specify the technology. Each column shows the inputs and outputs of a production process, operated at unit level. Constant returns to scale (CRS) are assumed. Corn and new machines are finished goods. Take final demand to consist of a bushel corn.

Table 1: Inputs for The Technology
InputIndustry
MachineCorn
IIIIIIIV
Labor4/5643/401
Corn1/161/1013/10053/200
New Machines1010
One-Year Old Machines (1st type)0100
One-Year Old Machines (2nd type)0001

Table 2: Outputs for The Technology
OutputIndustry
MachineCorn
IIIIIIIV
Corn00114/25
New Machines25/200
One-Year Old Machines (1st type)1000
One-Year Old Machines (2nd type)0010

Table 3 lists the techniques that can be operated with this technology. The economic life of the machine can be truncated in either sector. I assume old machines can be freely disposed of.

Table 3: Specification of Techniques
TechniqueProcesses
AlphaI, III
BetaI, II, III
GammaI, III, IV
DeltaI, II, III, IV
3.0 Output of Program for First Switch Point

Figure 1 shows the output of the program in the appendix. The rate of profits is set to approximately r ≈ 46.293 percent, for the first switch point. Does this output confirm that this is a switch point between Alpha and Gamma?

>> TruncationDriver


Excess supplies (physical units):
ans =

0 0 1.2384 1.2384


Excess costs (person-years per unit level):
costs =

0 0.6552 0 0.0000


Prices (person-years per physical unit):
p =

5.8030 2.4775 0 0

Levels of operation of each process:
ans =

1.2384 0 1.2384 0

1 if converged; and number of iterations:
retcode =

1 12

Total employment (person-years):
employ = 2.3220
Employment in machine industry (person-years):
ans = 0.9907
Employment in corn industry (person-years):
ans = 1.3313
Labor intensity in machine industry (person-tears per new machine):
ans = 0.4000
Labor intensity in corn industry (person-tears per bushel corn):
ans = 1.0750
Figure 1: Output of Program for Solving the LCP

The output shows the Alpha technique being operated. The levels of operation are such that only the first and third processes are operated. The economic lives of machines are truncated in both machine and corn production. As a result, excess supplies exist of old machines in both sectors. The prices of corn and new machines are positive, while the prices of old machines are zero.

I should expect, I guess, the Lemke algorithm to converge to one or the other technique, not to a linear combination of Alpha and Gamma. The rate of profits, although specified to double precision, is still not exact.

But you can see this is a switch point by the extra costs that are reported by the program. Extra costs for the first and third processes are zero. These are the processes that are operated by Alpha. Under Gamma, the economic life of the maching is extended by a year in corn production. The extra costs for the fourth process are according reported as close to zero, given the precision of the machine. Further investigation reveals that extra costs here are 5.8322e-15 person-years per unit level for the forth process. So the rate of profits for which these results are reported is confirmed to a switch point between Alpha and Gamma, to the precision of the machine.

The output also reports employment, overall and in both sectors, as well as the labor intensity in each sector. These numbers allow me to calculate Wicksell effects, and to identify the reverse substitution of labor, by comparing executions with different rates of profits.

4.0 Conclusion

The program is easily modified to check the other two switch points for the example. I can check the analysis of the choice of techniques for other problems by writing programs like that in the appendix. I should consider implementing iterative methods, like Newton's method, to locate switch points and fluke cases.

Appendix: Listing of Source Code
% TruncationDriver.m
%
% Analyses the example from my paper on the recurrence of truncation
%
% Applies a Linear Complementary Problem (LCP).
%
% Author: Robert L. Vienneau
% Date: 4 December 2026
%
% Note that this program calls the function LCPSolve().
% The implementation of this function is copyright 2013
% by Andreas Almqvist, Andrew Spencer and Peter Wall.
% The interface is described at:
% https://www.mathworks.com/matlabcentral/fileexchange/...
% 41485-a-pivoting-algorithm-solving-linear-complementarity-problems

clear all;

% 1.0 Define data.

% Switch points:
r = 0.462930733738048; % Alpha vs. Gamma.
% r = 0.496072215529155; % Gamma vs. Delta.
% r = 0.67557058510527; % Delta vs. Beta.
% r = 1.29411401160185; % Maximum rate of profits for Beta.
% r = 0.495087138777978; % Alpha vs. Beta; not on frontier.


% The problem from the paper:
a0 = [4/5, 6, 43/40, 1];
A = [[1/16, 1/10, 13/100, 53/200]; ...
[1, 0, 1, 0]; ...
[0, 1, 0, 0]; ...
[0, 0, 0, 1]];
B =[[0, 0, 1, 14/25]; ...
[2, 5/2, 0, 0]; ...
[ 1, 0, 0, 0]; ...
[0, 0, 1, 0]];

% Final demand. Does not matter to prices for this model.
d = [1; 0; 0; 0];

n =(size(A))(1); % Number of commodities.
m = (size(A))(2); % Number of processes.

% 2. Echo data (TODO)

% 3. Construct block matrices.

M = [[zeros(n, n), B - A]; ...
[(1 + r)*transpose(A) - transpose(B), zeros(m, m)]];
u = [-d; transpose(a0)];

% Echo block matrices. (TODO)

% 4.0 Solve LCP.
[x,z,retcode] = LCPSolve(M,u);


% 5.0 Echo solution.
% x
% z
% retcode

% Define excess supplies:
excessSupply = x(1:n);
% Define extra cost:
costs = transpose( x(n + 1:n + m) );
% Define vector of prices of produced goods.
p = transpose( z(1:n) );
% Define vector of levels of operation of each process.
q = z(n + 1:n + m);
% Define employment (person-years).
employ = a0*q;

printf( "\nExcess supplies (physical units):\n" );
transpose( excessSupply )
printf( "\nExcess costs (person-years per unit level):\n" );
costs
printf( "\nPrices (person-years per physical unit):\n" );
p
printf( "Levels of operation of each process:\n" );
transpose( q )
printf( "1 if converged; and number of iterations:\n" );
retcode
printf( "Total employment (person-years):\n" );
employ
printf( "Employment in machine industry (person-years):\n" );
a0(1:m/2)*q(1:m/2)
printf( "Employment in corn industry (person-years):\n" );
a0(m/2 + 1:m)*q(m/2 + 1:m)
printf( "Labor intensity in machine industry (person-tears per new nachine:\n" );
( a0(1:m/2)*q(1:m/2) )/( B(2, 1:m/2)*q(1:m/2) )
printf( "Labor intensity in corn industry (person-tears per bushel corn:\n" );
( a0(m/2 + 1:m)*q(m/2 + 1:m) )/( B(1, m/2 + 1:m)*q(m/2 + 1:m) )