I have to maximize the following function -
Max A $C_1^{-m}/{-m}$ + (1-A) $C_2^{-m}/{-m}$
Subject to,
$C_1$ ≤ 5(1-x) + x
$C_2$ ≤ 3(1-x) + 7x
1≤x≤10
I wrote it as: L(x) = f(x) - $λ_1$($C_1$ - 5(1-x) + x) - $λ_2$($C_2$ - 3(1-x) + 7x) - $λ_3$(x-1) - $λ_4$(x-10)
Can I write last constraint as partioned into $λ_3$ and $λ_4$. Is there some other way to introduce such box constraints into the same problem?
Is your function constant? If I read correctly you have \begin{align*} \underset{\text{w.r.t}\; x\in \mathbb{R}}{\text{maximise}}\; &\;-A\,\dfrac{C_1^{-m}}{m} -(1-A)\dfrac{C_2^{-m}}{m} = \gamma\\ \text{subj.to}&\quad h_1(x)\leq 0\\ &\quad h_2(x)(x)\leq 0\\ &\quad \alpha\leq h_3(x) \leq \beta \end{align*} Maximizing a constant function under some constraints is called a satisfiability problem; any reachable value will attain the maximum (and minimum) of $\gamma$. Your method of putting $$\alpha\leq h_3(x) \leq \beta \;\iff\; \alpha - h_3(x) \leq 0\; \text{and} \; h_3(x) - \beta \leq 0 $$ Before putting the problem into Lagrangian form is the go-to solution in most cases if $f$ is non constant!