Questions tagged [maximization]
53 questions
0
votes
2 answers
Finding the local maximum of piecewise cubic function in R
I have picewise cubic function and I want to find all the local maxima of it, how can I find all peaks?

rose
- 1,971
- 7
- 26
- 32
0
votes
2 answers
Maximize Rectangle in an Area on the X, Y plane with a list of points representing the area
Okay, I need help maximizing the area of a rectangle in the sliver object that can be many different shapes. I've already done most of the work.
I'm working in C# with a kinect and the depth pixels.
This image is just the best representation of what…

Cheddar
- 28
- 5
0
votes
1 answer
Mathematica 9: how to solve a maximization?
How can I maximize the following equation in respect to $\tau$ in Mathematica 9:
$$max_\tau \sqrt{(1 - \tau)y^i} + \sqrt{\tau y}$$
I want to find something like
$$\tau^i = \frac{y}{y^i + y}$$

user1172558
- 655
- 4
- 12
- 18
-1
votes
2 answers
Using nlminb to maximize functions
I have the following function and i need it to be maximized instead of minimized.
adbudgReturn = function(Spend,a,b,c,d){
adbudgReturn = sum(b+(a-b)*((Spend^c)/(d+(Spend^c))))
return(adbudgReturn)
}
FP_param <- c(95000,0,1.15,700000)
FB_param <-…

CS.py
- 43
- 6
-2
votes
1 answer
Maximize the amount of money you pick up as you travel through an array
Given an array of integers for example, [1 4 3 2 9 8 7 6]
Each integer represents an amount of money you can pick up.
You are traveling through the array, and you can pick up the money.
Every time you pick up some money, you must travel another X…

Cole Monpas
- 1
- 1
-2
votes
1 answer
optimization (Maximization) in R
I have one function that wants to optimize (Maximize) in R, any one could help me.
My equation is as follow:
Y=-10.6134 -3.477*X1 +4.743*X2 +56.10*X3 -0.07671*X4 +0.1005*X1^2-0.0529*X2^2 -25.741*X3^2 +0.000279*X4^2 -0.0984*X1*X2 -1.351*X1*X3…

sarina yousefi
- 13
- 1
- 3
-2
votes
3 answers
R subset data.frame columns by group to maximize row values
I have a problem very similar to that described here:
subset of data.frame columns to maximize "complete" observations
I am trying to schedule a workshop that will meet five times. I have ten days from which to choose meeting dates, each day having…

aroehrka
- 25
- 3
-4
votes
1 answer
Pricing Analytics in R , maximization of demand at an optimum price point
Hi I have similar problem here. I am trying to maximize sales to find an optimum price. I have fit a linear regression assuming a linear relation ship between price and quantity and other variables (Including Dummy variablles) impacting quantity. I…

Avani Shah
- 1
- 1