optimization

1. Optimization problem (Max area of a combined semi circle and a square)

A figure is made from a semi circle and square. With the following dimensions, width = w, and length = l. Find the maximum area when the combined perimiter is 8 meter. I first try to construct the a function for the perimeter. 2*l + w + 22/7*w/2 = 8 - > l = 4 - (9*w)/7 Next I insert this...
2. Can someone recommend an algorithm to optimize this data

I have a data set of samples, and I made up some variables that filter out unwanted samples from the data set. Say each sample has values $\vec{x}=x_1, x_2,..., x_n$, and I know the values of $\vec{x}$ for each sample. Also, if I sum up all of the samples, I get a value, $Z$, which tells...
3. Moving a particle from point A to B on a efficient way in GAMS

Hello everyone. I am triyng to calculate the route which takes less time to go from point A to point B in the presence of a constant flow (I. E. a simple version of Zermelo's navigation problem) using the GAMS software. However, if I put both points on a straight line and make the constant flow...
4. I Finding the max angle of a longboard deck before the wheels slip

Hi, I'm making an electric longboard and trying to write an app for my phone to function as the remote. I've got a bunch of fancy Star-Trek-esque indicators on it, one of which is the pitch and roll of the deck. All the indicators have "danger zones" and turn red when they hit them, and for this...
5. A Combinatorial optimization problem

Hi, I have the following optimization problem. I have a list of tasks that I should be able to perform with my tools. Each tool costs a certain amount of money, and may be used to carry out a finite number of tasks. The goal is to choose an optimal set of tools in such a way that the toolset can...
6. Issue With Optimization Problem

1. Homework Statement 2. Homework Equations I have yet to figure out any relevant equations, but I do believe that the constraint equation for the optimization problem is the y=64-x^6 listed above. 3. The Attempt at a Solution I am currently trying to figure out methods to begin my...
7. Trebuchet Throwing Arm Optimization

Summary: Some help would be greatly appreciated for finding the ideal taper and x/y dimensions of a trebuchet throwing arm to optimize strength and minimize the moment of inertia. Long Version: I am a high school junior currently in the process of working on an ambitious project to build a 21...
8. A Pontryagin minimum principle with control constraints

Hi, I am trying to solve a control problem where I have to minimize the fuel consumption of a vehicle: $$J=\int_{0}^{T} L(x(t), u(t),t) + g(x(T),T)dt$$ $L(u(t),v(t))=\sum\limits_{i,j=0}^{2} K_{i,j} u(t)^i v(t)^j$ is convex (quadratic) and the term $g(x(T),T)$ is to have a constraint in the...
9. Creating system of equations from word problem optimization

I have this word problem, and was wondering how I would go about creating a system of equations. Here is the question: Problem: You are a small forest landowner, and decide you want to sustainably harvest some of timber on your property. There are costs related to the infrastructure needed to...
10. I Trajectory with minimum acceleration

Currently design of turbomachinery (impellers/turbines) is more a form of art than an engineering process. One has to guess a bunch of parameters and check if they are right in much later stages of design. I was thinking about designing the other way: we know the initial and the final velocity...
11. M

A Summing simple histograms to recreate a more complex one

I wouldn't be surprised if I've posted in the wrong section because in fact the reason for posting is to get help naming this problem. That being the first step to knowing where to look for a solution. Newbie to the forum so open to advice. The problem: I have a complex histogram and a...
12. A Optimization constraints formulation for GA

Hello , I am working on a project where i need to optimize a set of values before starting my algorithm, I have never used optimization before , I read some courses about it but i still have a problem formulating my problem , I need to minimize the error function( sum of squared difference )...
13. Comp Sci Algorithm Optimization [Python]

1. Homework Statement Given a list of integers and a single sum value, return the first two values (parse from the left please) in order of appearance that add up to form the sum. sum_pairs([11, 3, 7, 5], 10) # ^--^ 3 + 7 = 10 == [3, 7] sum_pairs([4, 3, 2, 3, 4]...
14. C/++/# Counterexamples to my claim?

I'm trying to solve a problem that amounts to: Given b0, ..., bn-1 where1 <= bi, find the max of |a0 - a1| + |a1 - a2| + ... + |an-2 - an-1| where 1 <= ai <= bi. I'm 100% confident that each ai is either 1 or bi. I'm 90% confident that the elements a0, ..., an-1 are either 1, b0, 1, b1...
15. Producing a Family of 0,1 Knapsack Sets

Dear Physics Forum friends, I am currently stuck with the following question about the integer optimization: "Produce a family of 0,1 knapsack sets (having an increasing number n of variables) whose associated family of minimal covers grows exponentially with n." My thought is that I need to...
16. Multi-criteria optimization. How to solve it?

http://tinypic.com/r/1570ojk/9 Please see the image. I don't understand how to solve such a problem. It has three criteria. Any hints or guide would be appreciated or even a solution. This is actually just an example from the book, but the book doesn't even solve the question, so I don't even...
17. Sparsity of Support vector machines over an RKHS

Im trying to solve the following problem from the book 'Learning with kernels', and would really appreciate a little help. Background information - Let $\{(x_{1},y_{1}),...,(x_{N},y_{N})\}$ be a dataset, L a Loss function and $H(k)$ a reproducing kernel Hilbert space with kernel $k$. The...
18. How to use nlm function in R

I try to find out how to minimize functions i R by using nlm function: > f<-function(x,y){x^2+y^2+10-5*x-y} > nlm(f,0.1,0.1) That only gives me an estimate for x. How would write the code to get x and y?
19. Is there a worked-out example of L-BFGS / L-BFGS-B?

I have seen the implementation of L-BFGS-B by authors in Fortran and ports in several languages. I am trying to implement the algorithm on my own. I am having difficulty grasping a few steps. Is there a worked out example using L-BFGS or L-BFGS-B ? Something similar to...

29. Mathematica Rotation of 3D Plot using Euler angles

So, I'm trying to plot a 3D "dipole" (an arrow with a small torus around it basically) in mathematica, and want to rotate it according to Euler angles... I use this code for the rotation matrix: rot[a, b, g] := RotationMatrix[g, {1, 0, 0}].RotationMatrix[b, {0, 1, 0}].RotationMatrix[a, {0, 0...
30. Conversion kW/h to kWh

Hi everyone, I am working on a mathematical optimization model for a fuel cell. Currently I am facing a problem with the ramp-up of the cell. I have a modulation ramp of 4% of the nominal power (58.3 kW) per minute. My constraint in the model has to be in kWh (I have to precise that my...