A simplex is a generalization of the notion of a triangle or tetrahedron to arbitrary dimension.
Questions tagged [simplex]
129 questions
0
votes
1 answer
documentation of coin-or clp linear programming package
I am trying to use/test the R package clpAPI which calls the coin-or clp package. I find it hard to obtain the documents after keeping googling for a whole afternoon. When using it I found weird bugs but cannot explain why. Before I raise the bug I…
user1539634
-1
votes
1 answer
Excel simplex LP solver MOQ
I am trying to optimize the purchase orders using Excel simplex LP solver.
The problem is when I need to decide among suppliers based on the MOQs.
If the quantity to order is large, I can choose any supplier. However, if the necessary order size is…

Arthur Gelcer
- 49
- 7
-1
votes
2 answers
What are the real-life areas of implementing Simplex Method of Linear programming?
I would like to find some more or less detailed descriptions of real-life problems that can be successfully solved by Simplex method.
Could anyone give me some references to the materials where I can find the descriptions of real-life tasks where…

Kirill Ch
- 5,496
- 4
- 44
- 65
-1
votes
1 answer
feasible method is stucked in infinite loop
I have run the following simplex method which is written in C++ .The code is as follows :
#include
#include
using namespace std;
#define maxm 500
#define maxn 500
double inf = 1e100;
double eps = 1e-13;
int row,col;
double…

Christopher Marlowe
- 2,098
- 6
- 38
- 68
-1
votes
1 answer
programming with scipy.optimize.linprog - variable coefficients
Trying to optimize using scipy.optimize.linprog a cost function, where the cost coefficients are function of the variables; e.g.
Cost = c1 * x1 + c2 * x2 # (x1,x2 are the variables)
for example
if x1 = 1, c1 = 0.5
if x1 = 2, c1 = 1.25
etc.
*…

user2042448
- 11
- 2
-1
votes
1 answer
Solving a linear planning with Excel solver (Simplex LP) - unsatisfied constraint
The excel solver declared all constraints had been satisfied. But
the value of -0.597545338 is not really satisfied by the constraints of $B$15>=0
[]
-2
votes
1 answer
How to add two BigIntegers with out getting a null pointer exception
import java.math.BigInteger;
public class PascalsTriangle {
public int row = 0;
public BigInteger[][] pascal = new BigInteger[ (int) (row +1)][];
public PascalsTriangle(int dimension) {
row = dimension + 2;
pascal =…

Lakshmana Deepesh
- 100
- 5
-2
votes
2 answers
Generate random number between -1 and 1?
So I found this useful website with a lot of code and explanation to perlin and simplex noise. However, the code is written in a different language. I was able to rewrite most of it for java, however there is one function that 1. I don't understand,…

MagnusCaligo
- 707
- 2
- 8
- 28
-2
votes
1 answer
solution of linear programming by R software
I am trying to solve linear programming problem by R software . I have three files named A.txt, B.txt,F.txt . I have read this by the following code:
library( linprog…

osimer pothe
- 2,827
- 14
- 54
- 92