Questions tagged [highs]

HiGHS - high performance software for linear optimization. Open source serial and parallel solvers for large-scale sparse linear programming (LP), mixed-integer programming (MIP), and quadratic programming (QP) models.

HiGHS is high-performance software for linear optimization. HiGHS contains open source serial and parallel solvers for large-scale sparse linear programming (LP), mixed-integer programming (MIP), and quadratic programming (QP) models.

11 questions
4
votes
1 answer

HiGHS fails to link with "undefined reference" errors

On Arch Linux x86_64, Rust 1.66.0 stable, g++ 12.2.0. I have a problem linking the good-lp crate, and narrowed it down to its indirect dependency highs-sys, even outside my own code. This happens on a clean checkout of the latest master (c785240),…
Thomas
  • 174,939
  • 50
  • 355
  • 478
2
votes
1 answer

using HiGHS solver with highspy and pyomo

I'm attempting to run several models using the HiGHS solver with python/pyomo. At some point a few months back, I had a few things running, but now it seems I'm at a standstill trying to get things working. I'm running an older mac with macOS…
AirSquid
  • 10,214
  • 2
  • 7
  • 31
1
vote
1 answer

My julia code using GLPK and JuMP taking 3 seconds for solving below julia code how can i make it time efficient or to do it in milliseconds

using JuMP using HiGHS a = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25] b = [3, 6, 9, 12, 15, 18, 21, 24, 27, 30, 33, 36, 39, 42, 45, 48, 51, 54, 57, 60, 63, 66, 69, 72, 75] arraySize =…
1
vote
0 answers

ompr.highs package not working on my computer

Since i have changed my computer i have an issue with the ompr.highs package. I ran this exemple code : library(ompr) library(ompr.highs) suppressPackageStartupMessages(library(dplyr, quietly = TRUE)) max_bins <- 10 bin_size <- 3 n <- 10 weights <-…
Mousta1101
  • 11
  • 2
0
votes
0 answers

It takes pulp with HiGHs too much time to write the solution to pulp.sol file

I have a program that uses pulp with HiGHS solver to solve MIP problems, and after finding the solution to the problem the solver stucks at writing the solution into file, i.e. after this message `Writing the solution to…
0
votes
0 answers

52 week High in Date Range in Amibroker

I have a working Amibroker formula which finds stocks which made 52 week high during a period. But this works on the look back period. I provide the number of days to look back. I want to create the same thing but instead of the look back period it…
pradeep
  • 13
  • 7
0
votes
1 answer

Solving PyPSA-EUR using HiGHS

I am trying to solve PyPSA-Eur model using HiGHS solver. I see output like following: 153 fixed variables remaining 118 fixed variables remaining 83 fixed variables remaining 48 fixed variables remaining 14 fixed variables remaining 2 …
Dakait
  • 2,531
  • 1
  • 25
  • 43
0
votes
1 answer

Is there a way to prevent "crossover" iterations when using scipy.optimize.libprog's solver "highs-ipm"?

Is there an option to prevent "crossover" when calling highs-ipm solver via scipy.optimize.linprog? It appears that the "standalone" solver (see https://github.com/ERGO-Code/HiGHS) has an option "--run_crossover arg". I just wonder if this is…
rafexiap
  • 103
  • 2
0
votes
1 answer

HiGHS solver returns error when using Pyomo Kernel

I've been trying to get the HiGHS solver to work with the Pyomo kernel interface, but when I try to solve it it gives me this error: "AttributeError: unreadable attribute 'domain'". I created a simple example to reproduce is - does HiGHS not not…
Jack Simpson
  • 1,681
  • 3
  • 30
  • 54
0
votes
1 answer

Using AMPL find the largest rectangle in a circle

So this is a pretty simple problem, given a circle of diameter 60 units, find the largest rectangle that fits in it. Using some pretty simple maths we know it'll have an area of 1800 units. So I created this AMPL model param diameter := 60; param…
0
votes
0 answers

Bin-Packing using HiGHS solver with SCIPY--challenges

Problem statement: For instance, we have ‘n’ different types of packages which can be utilized multiple times based on requirement. Each package has its own weight and cost. On the other hand, we have ‘m’ number of items that are to be packed into…