1. Introduction
The COVID-19 pandemic has profoundly reshaped global labor markets, accelerating the adoption of flexible work arrangements such as remote work, part-time schedules, and non-linear career paths. These structural changes have heightened the importance of accounting for labor flexibility in individual financial planning.
In this new environment, it has become essential for individuals to manage their consumption, investment, and labor supply decisions in a unified manner that reflects both financial market risks and the evolving nature of work. Integrating labor flexibility into personal financial planning allows agents to better capture the intertemporal trade-offs between income, leisure, and risk.
The literature on optimal consumption and investment provides a strong foundation for such analysis. The classical Merton problem [
1,
2] pioneered the continuous-time framework for optimal portfolio allocation. Since then, numerous extensions have been developed, including those incorporating labor income [
3], habit formation [
4], and stochastic interest rates [
5]. Recent works have further examined retirement decisions and their interplay with consumption and investment strategies [
6,
7].
Moreover, a growing body of research explores how labor market dynamics affect financial decision-making. This includes studies on endogenous labor supply, job mobility, and income risk, often highlighting the role of leisure preferences and job-switching behavior [
8,
9,
10,
11,
12,
13,
14]. These contributions emphasize the need for dynamic models that endogenize labor choice alongside consumption and portfolio decisions.
While the existing literature has offered valuable insights, most studies addressing job-switching and labor flexibility adopt an infinite-horizon framework [
8,
15]. These models often assume stationary preferences and disregard lifecycle features such as mandatory retirement, which are crucial in shaping realistic behavior.
In this paper, we develop a finite-horizon model of optimal consumption, portfolio allocation, and job-switching in the presence of a fixed mandatory retirement date. The agent can switch freely between two jobs before retirement: one offering higher income and less leisure, and the other offering lower income and greater leisure. After retirement, labor income ceases and full leisure is attained. The agent derives utility from both consumption and leisure, following a Cobb–Douglas functional form.
Our methodological innovation lies in formulating this problem as a mixed control and switching problem with a finite horizon, and solving it via a dual-martingale approach. This technique, widely used in consumption–investment problems, allows us to derive semi-closed-form expressions for the dual value function and optimal controls. The finite horizon and non-stationarity of job choice introduce new technical challenges, which we address by combining duality methods with PDE characterization.
Our results have rich economic implications. We show that agents with low wealth optimally choose a high-income job to support consumption, while those with higher wealth transition to a leisure-rich job to increase utility from non-market time. The switching boundary increases over time, capturing the rising marginal utility of leisure as retirement nears. Compared to fixed-job benchmarks, the job-switching option leads to higher lifetime utility and more flexible consumption–investment profiles. Our model thus quantifies the welfare value of labor flexibility across the lifecycle in a tractable continuous-time framework.
The remainder of this paper is organized as follows. In
Section 2, we present the model setup, including the financial market, job-switching structure, and agent’s preferences.
Section 3 reformulates the optimization problem using a dual approach and characterizes the dual value function, and also provides analytical solutions for the dual problem and derives the optimal strategies in feedback form. In
Section 4, we present numerical illustrations to examine the properties of optimal switching, consumption, and portfolio policies, as well as their economic implications.
Section 5 concludes the paper and discusses potential avenues for future research.
The Contributions of this Study in Relation to the Literature. Building on the extensive literature on lifecycle portfolio choice and job-switching e.g., [
1,
2,
3,
6,
7,
8,
9,
15], we aim to highlight a specific gap that has not been fully addressed. Most existing models operate in an infinite-horizon or stationary environment, where the switching boundary remains constant and retirement considerations are absent. In contrast, our work introduces a finite-horizon setting with a mandatory retirement boundary. This finite horizon naturally generates time dependence in the switching threshold, leading to monotonicity properties that can be formally established. Our analysis further reveals how the approach of retirement alters the trade-off between labor income and leisure, resulting in a wealth boundary that shifts predictably over time. By quantifying these effects, we provide new insights into how a finite career length modifies pre-retirement consumption, portfolio, and job-switching policies.
In addition to these classical and well-established frameworks, several recent studies have further advanced the literature on job-switching and retirement decisions. Shim and Jeon [
16] investigate a costly reversible job-switching option in an infinite-horizon consumption and investment framework, highlighting how switching costs fundamentally alter labor supply and portfolio choice. Jeon and Park [
17] extend this analysis by incorporating an irreversible retirement option, thereby characterizing the joint impact of job-switching and retirement flexibility on consumption and investment behavior. More recently, An et al. [
18] examined optimal portfolio and retirement decisions with costly job-switching in a finite-horizon setting, deriving explicit characterizations of the relevant switching and retirement boundaries. By incorporating these recent contributions into our discussion, we broaden the scope of the related literature and highlight how our finite-horizon model with a mandatory retirement boundary complements and extends these new developments.
2. Model
We consider the consumption, investment, and job-switching decisions of an agent (investor) who has a constant mandatory retirement date
. We assume that there exist two financial assets trading in the economy, a riskless asset and a risky asset, whose prices at
t are denoted by
and
, respectively. The asset prices satisfy the dynamics
where
is the constant risk-free rate,
is the constant drift of the risky asset price,
is the constant volatility of the risky asset returns, and
B is a standard Brownian motion on
We will denote the augmented filtration generated by the Brownian motion
B as
.
We assume that the agent can freely switch between two jobs (or job categories) until the mandatory retirement age T. Let these two jobs be denoted by and , and define the process to represent the agent’s job status at time t. That is, takes values in for all .
The labor income earned in each job (for ) is denoted by , and the leisure time available in each job (understood as the maximum possible leisure time minus the working hours) is given by . We assume that and , implying that the agent receives a higher labor income in job than in job . However, since job requires more working hours, the agent enjoys less leisure time compared to job .
After the mandatory retirement age, the agent enjoys the maximum possible leisure, denoted by , but no longer receives any labor income. For convenience, we normalize . Consequently, it follows that .
Let
and
denote the agent’s consumption rate and the dollar amount invested in the risky asset at time
, respectively. Given the strategy
and an initial wealth of
x, the dynamics of the agent’s wealth
are given by the following equation for
:
We assume that the agent’s utility function is a function of consumption
and leisure
, taking the following Cobb–Douglas form:
where
represents the weight of consumption, and
is the coefficient of constant relative risk aversion (CRRA).
Remark 1. The multiplicative factor in the utility function is introduced for normalization purposes, ensuring that the marginal utility with respect to consumption has a convenient closed form. This facilitates the dual formulation and preserves homotheticity in . When , the CRRA utility converges to the Cobb–Douglas log-utility form:which retains the separable logarithmic structure in consumption and leisure. For the utility to be well-defined when , it is required that and . These restrictions ensure strict positivity of both and , and that u remains finite for all admissible strategies.
Under these circumstances, the agent’s objective is to choose the optimal consumption
, portfolio
, and job strategy
to maximize the following expected utility:
where
is the agent’s subjective discount rate.
Finally, we can define the agent’s utility maximization problem as follows:
Problem 1. Let be given. The agent faces the following maximization problem:where is the set of all admissible strategies satisfying the following conditions: - (i)
For all , the consumption and the portfolio allocation are -progressively measurable, and it is almost certain that .
- (ii)
The job choice process is an -adapted process taking values in .
- (iii)
The wealth process corresponding to satisfies the natural borrowing constraint: for all ,
To ensure that the problem is well-defined after the mandatory retirement date, we impose the following assumption:
Assumption 1. The Merton constant defined asis positive (see Merton [1,2]). 3. Optimization Problem
Derivation Sketch. The dual-martingale method transforms the primal problem with controls into a static maximization over consumption given the stochastic discount factor. The dual variable z (or ) can be interpreted as a scaled marginal utility of wealth, which provides economic intuition for the role of the dual threshold : it corresponds to the point at which the relative utilities of the two jobs balance out in wealth terms. The switching condition emerges from comparing the net labor income of the dual utilities and , producing this critical dual threshold . By solving the dual PDE in closed form, we recover the primal policies via first-order conditions and the martingale representation theorem. This structure allows us to identify the switching boundary and derive its time dependence analytically.
To approach Problem 1, we employ the dual-martingale method, following Shim and Shin [
8]. For this purpose, we consider the stochastic discount factor (SDF)
to be defined as follows:
By slightly modifying Karatzas and Shreve [
19] [Theorem 9.6], we deduce that for any
,
Conversely, if there exists an admissible consumption and job strategy
such that
then there exists a portfolio process
such that
with
Based on the budget constraint (
7), let us denote the Lagrangian
as
where
is the initial Lagrangian multiplier for the constraint (
7),
, and
Let us denote
as
Note that
Then, the Markov property for
implies that
Through direct computation, we can easily determine that
where we use the fact that
from Assumption 1.
Furthermore, it is clear that
where
is defined as
In sum, we determine that
The above inequality holds as an equality only if
where
If we define the dual value function
,
then we deduce the weak duality as follows:
Our goal is to verify whether the above inequality in (
13) holds as an equality.
Let us consider the following
t-version of the dual value function
:
where
Clearly,
Lemma 1. The t-version of the dual value function is expressed aswhere is a standard normal distribution function, and Proof. To obtain the explicit form of
we first investigate the following expectations: For any
,
Note that
Let us denote an equivalent martingale measure
as
so that
for
is a standard Brownian motion under the measure
Thus, under the measure
the dynamics of
follow
Then, Girsanov’s theorem implies that
Similarly,
These indicate that
Using (
17)–(
19), we can directly obtain the desired result. □
Lemma 2. The following equality holds: Proof. For a sufficiently small
let us denote
Note that
Letting
equal
where we use the fact that
Note that
Thus, it follows from (
17) and (
18) that
Thus, we obtain the desired result. □
Lemma 3. is strictly convex in and Proof. Let us temporarily denote
as
where
Moreover, we can easily confirm that
Thus, is strictly convex for Since is also strictly convex for it follows that is strictly convex for
Based on the explicit form of
in (
20), it is clear that
□
Now, we are ready to state our main theorem.
Theorem 1. Let be given. Then and satisfy the following duality theorem:where is a unique solution such that Moreover, the optimal consumption , portfolio , and job are given bywhere Proof. For a given
, according to Lemma 3, there exists a unique
such that
Let , , and be as stated in this theorem.
Thus, it follows from (
20) that
Thus, there exists a portfolio process such that
This indicates that
That is,
Thus, we can conclude that
and
is optimal.
By applying Itô’s lemma to
we can determine that
□
Since
, it follows from Lemma 2 that
where
where
is a standard normal probability density function.
Moreover, according to the one-to-one relationship between the wealth domain and the dual domain, we can define the optimal job-switching boundary
using
That is, if wealth
is sufficiently high that it exceeds the job-switching boundary
, the agent switches to job
, which provides more leisure, even though it comes with lower income. Conversely, if wealth
falls below the job-switching boundary
, the agent gives up leisure and switches to job
, which offers higher income.
4. Implications
In this section, we investigate the economic implications of the optimal job-switching, consumption, and portfolio strategies obtained in the previous section by presenting the numerical results.
To this end, we use the following parameters as the baseline:
Figure 1 illustrates how the optimal job-switching boundary
depends on the parameters
(leisure level in job
) and
(labor income in job
). The job-switching boundary
represents the threshold wealth level above which the agent optimally switches to job
(the high-leisure, low-income job), and below which the agent prefers job
(the low-leisure, high-income job).
Panel (a) shows that an increase in leads to a lower switching boundary . Since is fixed, increasing is equivalent to increasing the relative leisure gap between the two jobs. From the agent’s perspective, job becomes more attractive not only because of its absolute increase in leisure but also because job becomes relatively less desirable. As a result, the agent is more willing to sacrifice labor income for leisure, and the switching to job occurs at a lower wealth level.
Similarly, Panel (b) indicates that as increases, the switching boundary shifts downward. With fixed , a larger raises the income from job , thereby reducing the relative income advantage of job . As a result, the incentive to remain in job weakens, and the agent already finds it optimal to switch to job at a lower wealth level. In other words, because job offers higher income when is larger, the trade-off between income from job and leisure gain from job is resolved earlier, leading to a lower switching boundary.
The interpretation is symmetric when considering switches from job to job . If the agent’s wealth falls below the boundary , they optimally switch to job to obtain higher income despite losing leisure. For example, when increases (or decreases relatively), job becomes more leisure-rich, so the agent prefers to remain in longer. Conversely, when wealth is low and financial needs dominate, the agent prioritizes labor income and switches to job . This highlights the fundamental trade-off: when wealth is low, income generation becomes the priority; when wealth is high, leisure takes precedence.
Figure 2 illustrates how the optimal consumption policy
varies with the mandatory retirement horizon
T under two different job statuses: (a) the high-income, low-leisure job
and (b) the low-income, high-leisure job
. In both panels, we observe how the consumption rule depends on current wealth
and the retirement horizon
T.
Panel (a) shows that for job , the optimal consumption increases with both current wealth and retirement horizon T. A longer horizon implies more future labor income from the high-income job , which acts as a form of implicit wealth. As a result, the agent feels more financially secure and increases current consumption. This reflects standard intertemporal consumption smoothing behavior: a longer income-generating period reduces the need for precautionary savings, allowing the agent to consume more in the present.
Panel (b) presents similar results for job . Although this job provides lower income, the qualitative pattern remains consistent: consumption increases in both wealth and T. However, the slope is flatter, reflecting the smaller marginal value of additional labor income when income is low. That is, the additional implicit wealth from increasing T is less significant under job , leading to more modest increases in optimal consumption.
Economically, the agent interprets the remaining working period as a buffer against financial risk. When T increases, the present value of future earnings increases, especially in the income-rich job , thereby relaxing the effective budget constraint and increasing consumption. In contrast, with a shorter T, the agent must rely more on current wealth, leading to more conservative consumption.
Figure 3 illustrates how the optimal portfolio allocation
depends on the mandatory retirement horizon
T under two job conditions: (a) the high-income, low-leisure job
and (b) the low-income, high-leisure job
. In both panels,
increases with wealth
, and the length of the planning horizon
T has a significant effect on the investment strategy.
Panel (a) shows that under job , a longer retirement horizon T leads to a higher optimal portfolio for any given wealth level. This reflects the fact that longer horizons imply a longer stream of labor income, which serves as an implicit buffer against investment risk. As a result, the agent is willing to take on more risk in financial markets, allocating more to the risky asset. This is consistent with the standard lifecycle theory: the presence of future income allows for more aggressive investment when retirement is far away.
Panel (b) presents the case for job , where labor income is lower. Although the same positive relationship between T and is observed, the increase in investment is more modest. The lower labor income implies a weaker buffer effect, limiting the extent to which the agent can increase risky asset exposure. Consequently, the overall portfolio level is lower, and the sensitivity to T is diminished compared to the case of .
Figure 4 compares the optimal consumption
and portfolio allocation
across three models: (i) our main model with endogenous job-switching, (ii) a fixed-job model where the agent always remains in job
, and (iii) another fixed-job model where the agent always remains in job
. The vertical blue line denotes the switching boundary
: when wealth exceeds this threshold, the agent optimally switches from the high-income job
to the high-leisure job
.
In Panel (a), the consumption function under the switching model smoothly transitions between the two fixed-job cases. For , the agent prefers job due to its higher labor income, and the consumption policy coincides with the -only case. For , the agent switches to job , where leisure is more valuable, and the consumption level drops toward that of the -only case. This reflects the agent’s marginal utility trade-off: when wealth is low, the marginal utility of income dominates; as wealth rises, the marginal utility of leisure becomes more important, prompting a shift in labor supply.
Panel (b) shows a similar pattern for portfolio strategies. When the agent works in job , the higher labor income serves as a buffer against investment risk. This allows for more aggressive risk-taking, as in standard lifecycle models where human capital effectively increases risk capacity. Once the agent switches to job , with its lower income, this buffer is reduced, and the agent adopts a more conservative investment strategy. The switching model dynamically interpolates between these two extremes, adjusting risk exposure in line with the agent’s labor status and wealth.
From an economic perspective, the switching model relaxes the constraint of fixed labor supply and enables dynamic endogenous adjustment of job choice. This flexibility enhances utility by allowing the agent to respond to changing opportunity costs between income and leisure. Compared to fixed-job models, the switching model delivers higher welfare and more efficient consumption and investment patterns, better reflecting real-world labor flexibility and economic decision-making under uncertainty.
Sensitivity Analysis and Robustness
To assess the robustness of our results, we analyze how the optimal job-switching boundary
changes with key preference and discount parameters (see
Figure 5). Panel (a) shows that increasing the risk aversion parameter
shifts the switching boundary upward, reflecting a stronger preference for stable labor income before retirement. Panel (b) illustrates that a higher consumption weight
shifts the boundary downward, making the leisure-rich job more attractive earlier in working life. Panel (c) indicates that an increase in the discount rate
delays the switch to the high-leisure job by reducing the present value of future leisure. These monotonic patterns hold across a wide range of parameter values, suggesting that our qualitative conclusions are robust to variations in risk preferences, consumption–leisure trade-offs, and time preferences.