$Assumptions -> {{\[Beta]β, \[Theta]θ, \[Alpha]α, r, p, \[Epsilon]ϵ, \[Sigma]σ, \[Delta]δ} > 0, Element [{H, \[Beta]β, \[Theta]θ, \[Alpha]α, r, p, \[Epsilon]ϵ, \[Sigma]σ, \[Delta]δ}, Reals], {\[Beta]β, \[Theta]θ, \[Alpha]α, r, p, \[Epsilon]ϵ, \[Sigma]σ, \[Delta]δ} < 1, H > 0, \[Epsilon]ϵ > \[Sigma]σ, \[Alpha]α < r};
Y = 1000;
\[Beta]β = 0.95;
\[Theta]θ = 10;
\[Alpha]α = 0.05;
r = 0.05;
\[Epsilon]ϵ = 1.2;
\[Sigma]σ = 0.2;
\[Delta]δ = 0.3;
p = 0.51;
g1[H_] := Max[0, ((((1 - \[Delta]δ)*Y)/(r + \[Alpha]α)) - H)]*((((1 - \[Delta]δ)*Y)/(r + \[Alpha]α)) - H)^(-1)
h1[H_] := Min[0, ((((1 - \[Delta]δ)*Y)/(r + \[Alpha]α)) - H)]*((((1 - \[Delta]δ)*Y)/(r + \[Alpha]α)) - H)^(-1)
A = Maximize[{(1 + \[Beta]β * (1 -
p))*(((Y - r*H)^(1 - 1/\[Epsilon]ϵ) + (\[Theta]*Hθ*H)^(1 -
1/\[Epsilon]ϵ))^((1 - 1/\[Sigma]σ)/(1 -
1/\[Epsilon]ϵ))) /(1 - 1/\[Sigma]σ) + \[Beta]*pβ*p *
g1[H] *(((Y - (r + \[Alpha]α)*H)^(1 - 1/\[Epsilon]ϵ) + (\[Theta]*θ*
H)^(1 - 1/\[Epsilon]ϵ))^((1 - 1/\[Sigma]σ)/(1 -
1/\[Epsilon]ϵ)) ) /(1 - 1/\[Sigma]σ) + \[Beta]*pβ*p *
h1[H] *(((\[Delta]*Yδ*Y)^(1 - 1/\[Epsilon]ϵ) + (\[Theta]*5000θ*5000)^(1 -
1/\[Epsilon]ϵ))^((1 - 1/\[Sigma]σ)/(1 -
1/\[Epsilon]ϵ)) ) /(1 - 1/\[Sigma]σ),
H \[GreaterSlantEqual]⩾ 0, (Y - r*H) \[GreaterSlantEqual]⩾ 0}, {H}]
B = Maximize[{(1 + \[Beta]β * (1 -
p))*(((Y - r*H)^(1 - 1/\[Epsilon]ϵ) + (\[Theta]*Hθ*H)^(1 -
1/\[Epsilon]ϵ))^((1 - 1/\[Sigma]σ)/(1 -
1/\[Epsilon]ϵ))) /(1 - 1/\[Sigma]σ) + \[Beta]*pβ*p *
g1[H] *(((Y - (r + \[Alpha]α)*H)^(1 - 1/\[Epsilon]ϵ) + (\[Theta]*θ*
H)^(1 - 1/\[Epsilon]ϵ))^((1 - 1/\[Sigma]σ)/(1 -
1/\[Epsilon]ϵ)) ) /(1 - 1/\[Sigma]σ) + \[Beta]*pβ*p *
h1[H] *(((\[Delta]*Yδ*Y)^(1 - 1/\[Epsilon]ϵ) + (\[Theta]*5000θ*5000)^(1 -
1/\[Epsilon]ϵ))^((1 - 1/\[Sigma]σ)/(1 -
1/\[Epsilon]ϵ)) ) /(1 - 1/\[Sigma]σ),
H \[GreaterSlantEqual]⩾ 0, (Y - r*H) \[GreaterSlantEqual]⩾ 0,
H <= 14000}, {H}]
```
Bumped by Community user