mathematical-optimization
Sorting points such that the minimal Euclidean distance between consecutive points would be maximized
Given a set of points in a 3D Cartesian space, I am looking for an algorithm that will sort these points, such that the minimal Euclidean distance between two consecutive points would be maximized.[详细]
2023-04-12 20:41 分类:问答How to calculate the integer powers in c [duplicate]
This question already has answers here: Closed 11 years ago. Possible Duplicate: storing more than 2 power 31 on a 32-bit system[详细]
2023-04-12 08:59 分类:问答Python Pulp using with Matrices
I am still very new to Python, after years and years of Matlab. I am trying to use Pulp to set up an integer linear program.[详细]
2023-04-12 01:26 分类:问答Solving equations in .NET
I\'m trying to 开发者_运维技巧solve some simple equations in .NET. I came across Math.NET and evaluate it.[详细]
2023-04-09 08:09 分类:问答feasiblity problem in CPLEX
Is there an api to solve the feasibility problem (whether a feasible point exists)for a set o开发者_Go百科f convex restraints in CPLEX.Yes, just don\'t enter an objective function.cplex will give you[详细]
2023-04-06 14:02 分类:问答Gurobi and java and empty solution
I\'m using Gurobi with java to solve a ILP problem. I set all and I start the program. But Gurobi doesn\'t even try to solve my problem and gives my an empty solution all variable set to 0.[详细]
2023-04-05 21:53 分类:问答Implementing branch and bound for knapsack
I\'m having a headache implementing this (awful) pseudo-java code (I wonder: why the hell people do that?) for the b&b knapsack problem. This is my implementation so far, whichoutputs a maximum of[详细]
2023-04-05 15:25 分类:问答Iterating over unordered pairs of elements stored in a collection
In C#, I have got a collection of unique elements and I wa开发者_高级运维nt to efficeiently execute some code for each unordered pair. For instance, if my container holds {a,b,c}, the unordered pairs[详细]
2023-04-04 16:06 分类:问答NMinimize seems to be on crack
Say I have a crazy function, f, defined like so: util[x_, y_, c_] := 0.5*Log[c-x] + 0.5*Log[c-y] cost[x_, y_, l_] := c /. First[NSolve[util[x, y, c+l] == Log[10+l], c]][详细]
2023-04-04 02:06 分类:问答Quadratically constrained quadratic programming in R
Is there a function in R that does optimization with quadratic constraints? Reference: http://en.w开发者_如何学编程ikipedia.org/wiki/Quadratically_constrained_quadratic_programYou should look through[详细]
2023-04-03 08:05 分类:问答