mathematical-optimization
How to make large calculations program faster
I\'m implemen开发者_Python百科ting a compression algorithm. Thing is, it is taking a second for a 20 Kib files, so that\'s not acceptable. I think it\'s slow because of the calculations.[详细]
2023-03-15 07:24 分类:问答Algorithm for finding optimal node pairs in hexagonal graph
I\'m searching for an algorithm to find pairs of adjacent nodes on a hexagonal (honeycomb) graph that minimizes a cost function.[详细]
2023-03-14 17:23 分类:问答Has anyone seen a simplex library for javascript/nodejs
I\'ve been writing a lot of m开发者_高级运维y scripts in NodeJs, but I need to use something like the GLPK libraries in order to handle some of the optimizations in my scripts.Has anyone heard of a ja[详细]
2023-03-14 15:02 分类:问答Turning bits into values
How does a computer know that (int x, y) x << y means shift over y bits? I don\'t mean the shift part. I mean the y part. Does the computer shift x by one and subtract one from y until y == 0? I[详细]
2023-03-13 18:49 分类:问答Values of exitflag in fminunc Matlab function is not consistant in Matlab 7.6 and 7.8
I need to know what exitflags mean in function fminunc, in Matlab version 7.6. Specifically, I get value -2 which is not listed in[详细]
2023-03-10 01:19 分类:问答Hotel room optimization/sorting algorithm
Is there any well know开发者_StackOverflown room optimization/sorting algorithm for hotels ? Problem is to redistribute rooms to maximize occupancy. Let\'s say I have 10 rooms, start date and end dat[详细]
2023-03-08 06:30 分类:问答C# LP/Lagrange with Bounded Variables
Summary: How would I go about solving this problem? Hi there, I\'m working on a mixture-style maximization problem where my variables are going to be bounded by minima and maxima.A representative e[详细]
2023-03-08 05:08 分类:问答What is a good way to get 0 or a value dependant on a boolean?
I\'m currently working on a piece of code that quite simply uses a boolean to see whether the screen is flipped vertically.[详细]
2023-03-07 21:20 分类:问答understanding the mathematical algorithm behind the TPRODUCT problem
I\'ve been trying to solve the codechef problem: http://www.codechef.com/MAY11/problems/TPRODUCT/ They have given the post-contest analysis here: http://www.codechef.com/wiki/may-2011-contest-problem[详细]
2023-03-07 10:59 分类:问答Implementions of "Interior Point Method" to solve LP (and QP)
I would like to look at a couple of implementations of IPMs. The languages preferable are C/C++, Java or any scripting languages like python, perl. Others are also fine.[详细]
2023-03-05 08:09 分类:问答