Mathematical optimization deals with maximizing or minimizing an objective function by choosing values from within an allowed feasible set of possible values. Mathematical optimization is often also referred to as mathematical programming or simply as optimization.
3
votes
0answers
15 views
How to handle boundary constraints when using `nls.lm` in R
I asked this question a while ago. I am not sure whether I should post this as an answer or a new question. I do not have an answer but I "solved" the problem by applying the Levenberg-Marquardt ...
0
votes
1answer
17 views
How to solve school bus routing (SBR) using gurobi optimizer in matlab interface or in any other technical computing language?
%An example to solve MILP using gurobi optimizer in matlab interface is given as follows:
function[] = mip1()
names = {'x'; 'y'; 'z'};
try
clear model;
model.A = sparse([1 2 3; 1 1 ...
2
votes
1answer
4k views
How do you find the optimal assignment of pupils in classes?
23 pupils from level A, 24 from level B and 30 from level C need to be assigned into three classes.
The classes need to be almost exactly of the same size.
Different levels can be mixed into a single ...
-1
votes
1answer
40 views
Prepare a Sampling Plan using Probability Sampling Techniques [closed]
Today I have done my MBA exam, I have faced a question in Probability, I will put the questions please answer anyone knows?
A research agency is planning to conduct a survey regarding "Students ...
-1
votes
0answers
27 views
Choosing an appropriate meta heuristic method [closed]
I am familiar with many meta heuristic algorithms (including Simulated Annealing, Tabu Search, Genetic, Ant Colony, PSO , Bee Colony) I always have a fundamental question about choosing appropriate ...
1
vote
1answer
19 views
Differential equations/optimal control in AMPL
Does someone has an experience in solving differential equations in AMPL? I googled a lot, but no suitable results...
In google groups I've found a simple "hand-made" example, but it doesn't work...
...
0
votes
0answers
25 views
Expected value for betting money on two cars [closed]
Here is the question:-
Alice has 10000$ with him,he wants to bet some money on a car racing.there are only two cars racing, Alice knows the probability of winning car1.
If he bets M$ for Car1, and if ...
-3
votes
0answers
46 views
How to solve integer linear programming problems? (Optimization/Train Scheduling) [closed]
To be more specific.. I have to schedule 5 trains. I know the length of each train. I know the speed of each train. I know the network topology, The start point and destination point of each train. ...
0
votes
1answer
35 views
Loop function through dataset during optimization
I have the following data:
data_ex <- structure(list(ID = c(493L, 493L, 493L, 493L, 493L, 493L, 493L,
493L, 494L, 494L, 494L, 494L, 494L, 494L, 494L), value.y = c(1.403198175,
1.403198175, ...
0
votes
1answer
19 views
How to find the best straight line separating two regions having points with 2 different properties
I have a bunch of points in a 2D plot. The red points indicate when my experiment is stable, the black when it is unstable. The two region are clearly separated by a line in this log-log plot, and I ...
2
votes
1answer
101 views
What's the most efficient tail recursive prime verification function known?
I was experimenting with meta programming to this point:
// compiled on Ubuntu 13.04 with:
// clang++ -O3 -ftemplate-depth-8192 -fconstexpr-depth=4096 -std=c++11 -stdlib=libc++ -lcxxrt -ldl ...
2
votes
0answers
39 views
Best path between two curves
My aim is to find a smooth best fit line between this two circuit curvy shapes.
Is there any algorithm betten than mine that can find a set of points (or a curve) between two lines like this example?
...
2
votes
0answers
19 views
Complex solvers in SciPy
Can the solvers in SciPy deal with complex values (i.e x=x'+i*x")? I am specifically interested in using a Nelder-Mead type minimisation function. I am usually a Matlab user and I know that Matlab ...
1
vote
0answers
28 views
Example of Google page ranking algorithm?
I read Google page ranking algorithm from here http://en.wikipedia.org/wiki/PageRank
.
My question is why only outbound links are used in page rank calculation? Is inbound link don't affect the page ...
1
vote
0answers
36 views
Using optim within boot with R
I'm wanting to compute the standard errors of parameters estimated through optim via bootstrapping. The aim is to bootstrap the data used as the input for the optim function.
The initial optim ...