Given $$n, C, r_i, p_i, \quad∀ i={1,2,...,n} $$ I want to solve this optimization problem: $$maximize \quad f(x_1,x_2,...,x_n)=\prod_{i=1}^n {{(x_i/r_i)}^{p_i}} $$ $$s.t \quad {(x_i/r_i)≤1}, \quad {(\sum_{i=1}^n x_i)}/C ≤1$$ where $$0≤p_i≤1 \quad\quad, \sum_{i=0}^n p_i =1\quad \quad\quad, ∀x_i,r_i∈R,\quad x_i,r_i>0,\quad C>0 $$ To solve this problem, I use primal-dual interior-point method. I don't need accuracy more than 3 digits. But, I need to use a way to solve it much faster. I wonder if I can approximate this problem to another one that can be solved faster or I can use another way to solve it. Thank you for your help.
2026-02-23 05:19:21.1771823961
Solving an optimization problem with lower computational complexity
195 Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
1
There are 1 best solutions below
Related Questions in CONVEX-OPTIMIZATION
- Optimization - If the sum of objective functions are similar, will sum of argmax's be similar
- Least Absolute Deviation (LAD) Line Fitting / Regression
- Check if $\phi$ is convex
- Transform LMI problem into different SDP form
- Can a linear matrix inequality constraint transform to second-order cone constraint(s)?
- Optimality conditions - necessary vs sufficient
- Minimization of a convex quadratic form
- Prove that the objective function of K-means is non convex
- How to solve a linear program without any given data?
- Distance between a point $x \in \mathbb R^2$ and $x_1^2+x_2^2 \le 4$
Related Questions in COMPUTATIONAL-COMPLEXITY
- Product of sums of all subsets mod $k$?
- Proving big theta notation?
- Little oh notation
- proving sigma = BigTheta (BigΘ)
- sources about SVD complexity
- Is all Linear Programming (LP) problems solvable in Polynomial time?
- growth rate of $f(x)= x^{1/7}$
- Unclear Passage in Cook's Proof of SAT NP-Completeness: Why The Machine M Should Be Modified?
- Minimum Matching on the Minimum Triangulation
- How to find the average case complexity of Stable marriage problem(Gale Shapley)?
Related Questions in NONLINEAR-OPTIMIZATION
- Prove that Newton's Method is invariant under invertible linear transformations
- set points in 2D interval with optimality condition
- Finding a mixture of 1st and 0'th order Markov models that is closest to an empirical distribution
- Sufficient condition for strict minimality in infinite-dimensional spaces
- Weak convergence under linear operators
- Solving special (simple?) system of polynomial equations (only up to second degree)
- Smallest distance to point where objective function value meets a given threshold
- KKT Condition and Global Optimal
- What is the purpose of an oracle in optimization?
- Prove that any Nonlinear program can be written in the form...
Related Questions in GEOMETRIC-PROGRAMMING
- Optimality guarantees of SGD convergence in Geometric Programming
- Solving an optimization problem with lower computational complexity
- Perspective of log-sum-exp as exponential cone
- How to use binary decision variables in Geometric Programming?
- Reason for $\log$ transformation in geometric programming
- What is the correct change of variables to yield convexity in this nonlinear optimization problem?
- geometric program with posynomial equality constraints
- Geometric program with reciprocal objective function
- In geometric programming, can I maximize a posynomial objective function?
- Geometric program with posynomial > 1
Trending Questions
- Induction on the number of equations
- How to convince a math teacher of this simple and obvious fact?
- Find $E[XY|Y+Z=1 ]$
- Refuting the Anti-Cantor Cranks
- What are imaginary numbers?
- Determine the adjoint of $\tilde Q(x)$ for $\tilde Q(x)u:=(Qu)(x)$ where $Q:U→L^2(Ω,ℝ^d$ is a Hilbert-Schmidt operator and $U$ is a Hilbert space
- Why does this innovative method of subtraction from a third grader always work?
- How do we know that the number $1$ is not equal to the number $-1$?
- What are the Implications of having VΩ as a model for a theory?
- Defining a Galois Field based on primitive element versus polynomial?
- Can't find the relationship between two columns of numbers. Please Help
- Is computer science a branch of mathematics?
- Is there a bijection of $\mathbb{R}^n$ with itself such that the forward map is connected but the inverse is not?
- Identification of a quadrilateral as a trapezoid, rectangle, or square
- Generator of inertia group in function field extension
Popular # Hahtags
second-order-logic
numerical-methods
puzzle
logic
probability
number-theory
winding-number
real-analysis
integration
calculus
complex-analysis
sequences-and-series
proof-writing
set-theory
functions
homotopy-theory
elementary-number-theory
ordinary-differential-equations
circles
derivatives
game-theory
definite-integrals
elementary-set-theory
limits
multivariable-calculus
geometry
algebraic-number-theory
proof-verification
partial-derivative
algebra-precalculus
Popular Questions
- What is the integral of 1/x?
- How many squares actually ARE in this picture? Is this a trick question with no right answer?
- Is a matrix multiplied with its transpose something special?
- What is the difference between independent and mutually exclusive events?
- Visually stunning math concepts which are easy to explain
- taylor series of $\ln(1+x)$?
- How to tell if a set of vectors spans a space?
- Calculus question taking derivative to find horizontal tangent line
- How to determine if a function is one-to-one?
- Determine if vectors are linearly independent
- What does it mean to have a determinant equal to zero?
- Is this Batman equation for real?
- How to find perpendicular vector to another vector?
- How to find mean and median from histogram
- How many sides does a circle have?
By using the transformation $y_{i}=\log(x_{i})$, $i=1, 2, \ldots, n$, and maximizing the logarithm of the original objective and dropping constant terms, you end up with the problem
$\max \sum_{i=1}^{n} p_{i} y_{i}$
subject to
$y_{i} \leq \log(r_{i})$, $i=1, 2, \ldots, n$
$\mbox{logsumexp}(y_{1},y_{2},\ldots,y_{n}) \leq \log(C)$
This is an exponential cone programming problem that can be solved with the ECOS interior-point solver or the SCS first order solver. You could also just hand it to a conventional nonlinear programming solver.
I went ahead and implemented this in MATLAB/ECOS. For the $n=2$ case given in the question the solution time on my desktop machine was consistently about 10 ms. For randomly generated problems with $n=100$, I loosened the optimality tolerances in ECOS a bit and got solutions good to about 4 digits in 25 ms or less. This compares with about 1 second for these problems using CVX.