integer-programming Questions
3
Solved
Are there any Mixed Integer Linear Programming(MILP) solver for Python?
Can GLPK python solve MILP problem? I read that it can solve Mixed integer problem.
I am very new to linear programming prob...
Moxa asked 10/10, 2014 at 18:22
4
Solved
Given a linear system Ax = b, where matrix A and vector b have integer values, I want to find all nonnegative integer vectors x that solve this equation.
So far, I have found some techniques such ...
Em asked 20/10, 2017 at 0:52
2
Solved
I'm using the PuLP module in Python to formulate a mixed integer program. I am trying to work out how to set a MIP start (i.e. a feasible solution for the program to start from) via the PuLP interf...
Wirehaired asked 20/10, 2016 at 1:40
1
Solved
I'm trying to figure out how to get the complete list of possible solutions from the ortools.sat.python.cp_model. I understand I can print them, as in the example below, but it is not clear to me h...
Grosbeak asked 19/11, 2019 at 12:53
2
Solved
I am trying to create an optimal shift schedule where employees are assigned to shift times. The output should aim to spend the least amount of money. The tricky part is I need to account for speci...
Welcy asked 10/4, 2019 at 3:9
1
Solved
I'm using cvxpy within python to solve a particular type of assignment problem. I'd like to assign M people to N groups in a way that minimizes cost, with the following constraints on groups:
Gro...
Carine asked 16/1, 2019 at 23:1
0
Trying to add the following constraint in Gurobi/Python:
Code
N_SERVERS = 5 #number of servers
C_SERVER = [1]*N_SERVERS
N_NODES = 3 #number of nodes
C_NODES = [2]*N_NODES
#create model
m...
Brei asked 26/5, 2018 at 10:54
1
I have a set of metallic sliding pieces which are constrained to the x and y axis in following way:
I would need to maximize the horizontal distance among all pieces constrained by the same slid...
Africander asked 26/11, 2016 at 10:28
0
I need to solve a system of linear diophantine equations with either numpy or sympy.
Is there any way to constrain numpy's linalg.solve/linalg.lstsq method to return only integer solutions? (proba...
Dreddy asked 8/5, 2016 at 14:48
2
I noticed that R doesn't use all of my CPU, and I want to increase that tremendously (upwards to 100%). I don't want it to just parallelize a few functions; I want R to use more of my CPU resources...
Regularly asked 9/8, 2015 at 3:49
3
Consider m by n matrices M, all of whose entries are 0 or 1. For a given M, the question is whether there exists a non zero vector v, all of whose entries are -1, 0 or 1 for which Mv = 0. For examp...
Anaerobe asked 10/7, 2015 at 7:26
5
Solved
This problem appeared in a challenge, but since it is now closed it should be OK to ask about it.
The problem (not this question itself, this is just background information) can be visually descri...
Salcido asked 13/6, 2015 at 12:24
1
Solved
I have an optimization problem that has in the objective function 2 multiplied variables, making the model quadratic.
I am currently using zimpl, to parse the model, and glpk to solve it. As they ...
Juggler asked 11/6, 2015 at 7:25
1
Solved
I am running PuLP Programming Library in Python 2.7.8, Windows 32 bit. I'm using GLPK as my solver for a mixed integer linear programming problem. The solver converges to approx. 1% of the optimal ...
Akel asked 30/10, 2014 at 7:26
2
Solved
I'm trying to solve integer programming problems. I've tried both use SCIP and LPSolve
For example, given the final values of A and B, I want to solve for valA in the following C# code:
Int32 a =...
Yacano asked 14/4, 2013 at 16:37
1
Solved
I'm fairly new to R and I'm trying to write a script for what I used to do with Solver in Excel. In my data below, I have a list of workers with job types A-E. Each worker has a salary and a produc...
Effort asked 3/10, 2013 at 14:32
1
© 2022 - 2025 — McMap. All rights reserved.