This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using MAT, JLD | |
using Mosek | |
using MathProgBase | |
TOL = 1e-6 | |
solver = MosekSolver() | |
case = load("conicduals.jld") | |
A = case["A"] | |
c = case["c"] | |
b = case["b"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(lp1 | |
I4 | |
aI4 | |
aI4 | |
aI4 | |
aI4 | |
aI4 | |
aI4 | |
aI4 | |
aI4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# MultiMachine Scheduling Problem | |
# ToDo: Automate Instance Generation | |
import sys, pickle, random, math | |
from collections import Counter | |
from pulp import LpVariable, LpBinary, lpSum, value, LpProblem, LpMaximize, LpAffineExpression |