<p>You can use Mathematica to solve such problems.</p>

CC BY-SA 4.0
2021-07-05T19:38:10.630Z
2021-07-05T19:38:10.630Z
Duo
<p>You can set the decision variables in Wolfram Alpha. E.g.,</p>
<blockquote>
<p>maximize [{x*q-q^2+a} , {q}]</p>
</blockquote>
<p>maximizes the function <span class="math-container">$x*q-q^2+a$</span> w.r.t. the variable <span class="math-container">$q$</span>.
<br> For further details read the <a href="https://reference.wolfram.com/language/ref/Maximize.html" rel="nofollow noreferrer">reference sheet of the Maximize function</a>.</p>

CC BY-SA 4.0
2021-07-05T19:44:48.630Z
2021-07-05T19:44:48.630Z
Giskard
<p>I'm working with a fairly complex equation and I need to carry out constrained optimization of the same. The first order differential equations are very messy to solve by hand and hence I thought to use online calculators. Problem with calculators like wolfram is that I cannot choose the variables with respect to which optimization needs to be done. If I use numbers in place of other variables it would defy the purpose. Are there any calculators available online for the problem I have? I am open to use coding based software like Matlab.</p>
<p>For example:<br />
Maximize <span class="math-container">$\ ax^b−x $</span><br />
w.r.t <span class="math-container">$\ x $</span><br />
s.t. <span class="math-container">$\ x&gt;0,a&gt;1,0&lt;b&lt;1 $</span><br />
The original problem is multivariable and much more complex. I don't want to optimize with specific values for a,b.</p>

<optimization>
Where can I find a calculator for constrained optimization of general form of algebraic equation?
Tan
# Where can I find a calculator for constrained optimization of general form of algebraic equation?

(Asked by: username_0 on 2021-07-05)

I'm working with a fairly complex equation and I need to carry out constrained optimization of the same. The first order differential equations are very messy to solve by hand and hence I thought to use online calculators. Problem with calculators like wolfram is that I cannot choose the variables with respect to which optimization needs to be done. If I use numbers in place of other variables it would defy the purpose. Are there any calculators available online for the problem I have? I am open to use coding based software like Matlab.

For example:  
Maximize $\ ax^b−x $  
w.r.t $\ x $  
s.t. $\ x>0,a>1,0<b<1 $  
The original problem is multivariable and much more complex. I don't want to optimize with specific values for a,b.

**Tags:** optimization


---

## 2 answers

### Answer by username_2 on 2021-07-05. Score: 4 | Accepted answer

You can set the decision variables in Wolfram Alpha. E.g.,

> maximize [{x\*q-q^2+a} , {q}]

maximizes the function $x\*q-q^2+a$ w.r.t. the variable $q$.
  
 For further details read the [reference sheet of the Maximize function](https://reference.wolfram.com/language/ref/Maximize.html).


---

### Answer by username_1 on 2021-07-05. Score: 0

You can use Mathematica to solve such problems.


---

