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
How to calculate a point which minimizes total?
I am trying to minimize the total sum of the ingredients.
For example, the total amount of vitamin A in A product and B product must exceed C. Also, the excess should be minimized.
I made 18 functions based on the data. (Vit, Carbohydrate, protein ~…

FarmBoy
- 1
- 2
0
votes
2 answers
How to access the final simplex tableau in CPLEX?
I'm solving a LP with CPLEX using the Java API. I build my model with the methods provided (like cplex.numVar(col, lb, ub) and cplex.addLe()) After optimization is done, I'm interested in reading the simplex tableau of the final iteration (to be…

Markus Seizinger
- 13
- 2
0
votes
1 answer
simplex algorithm - importance of basic solution?
Importance of basic solution in simplex algorithm?

Laurentiu
- 39
- 6
0
votes
0 answers
If-then constraints in integer linear programming
I have a 30*40 matrix. Lets say the components in the matrix are specified with "P" and the related number of the row and column of each "P" is specified by "X" and "Y" accordingly. I have a model that the output should give us the P, X and Y. How…

Shaida
- 1
- 1
0
votes
0 answers
Cutting plane method: using python
I want to implement cutting plane method in python using an built in improve lementation of simplex method and then applying cutting plane method on top of it (using scipy.linprog or pulp to implement Simplex method to get the feasible solution)
The…

Karl Hunt
- 41
- 1
- 9
0
votes
0 answers
Simplex code in R
im trying to develop an algorithm that would take in a few x,y coordinates and then out put them in order of closest to furthest(from origin), I cant use the library for the simplex function, just need some help with the logic.

user484608
- 9
- 3
0
votes
1 answer
Plotting 4D compositional in a 3D tetrahedron in R
I would like to know how to connect-the-dots in the plot below.
I have four-variable compositional data, in which each row represents a sample, and each sample consists of varying proportions of four components (4 columns).
Reproducible…

Tom
- 151
- 9
0
votes
2 answers
How to view the final simplex tableau table from CPLEX using PYOMO
I'm using PYOMO to solve a linear program with CPLEX as my solver. I would like to access the final simplex tableau somehow, either by outputting it to a log file or saving it to a variable within my workspace. The following script is what I am…

Dan Kinn
- 151
- 2
- 5
0
votes
1 answer
Simplex algorithm in scipy package python
I am reading the documentation of the Simplex Algorithm provided in the Scipy package of python, but the example shown in the last at this documentation page is solving a minimization problem. Whereas I want to do a maximization. How would you alter…

Anonymous
- 93
- 2
- 9
0
votes
1 answer
Optimsimplex: fail in defining a necessary argument
I was trying to do a regular simplex (the notion of a triangle or tetrahedron to arbitrary dimensions) to start an optimization set of experiments. The Optimsimplex package provides an easy and useful way to achieve this by using the Spendley…

Cris
- 325
- 1
- 5
- 20
0
votes
1 answer
How does scipy.optimize.fmin (Simplex) deal with parameters associated with different magnitudes?
I want to fit a 4-parameters (a,g,N and k) model to data by minimizing a chi-square loss function with a python implementation of the Simplex algorithm (scipy.optimize.fmin).
Preliminary simulations suggest the following range for each parameter: a…

user1363251
- 421
- 1
- 11
- 24
0
votes
1 answer
Simplex algorithm
I have to build Simplex Algorithm and its working but I want to allow user to input data, in method main I made few "for" loops where I put date into arrays, but that I put the same data in another arrays, (they have exactly the same data) I have no…

Ewa Śniecińska
- 91
- 1
- 7
0
votes
2 answers
LS regression with order constraint
I'm new to R and would appreciate your assistance.
I have an optimization problem with a constraint. Although there are several ways to solve an optimization in R, I could not express my problem correctly with the constraint I need to…

Walle
- 11
- 3
0
votes
1 answer
excel solver (Simplex LP) binary constraints
I am solving an optimization problem. the problem has binary constraints. solver is (during iteration) setting those binary constraints to decimals between 0 and 1 (approximating a relaxed gradient search). I wish to indicate to solver that it…

paulgrant999
- 11
- 1
- 2
0
votes
0 answers
Simplex method solver recursion error
I've created a simplex method solver, but at the end I need check the final table for negative values and rerun the solver if it returns negatives. I've made a for loop but for some reason it outputs the original array and doesn't even solve that. …