Home
Blogs
Questions
Jobs
Monetize

Home

About Us

Blogs

Questions

Jobs

Monetize

Post Job

banner

Questions about ompr

Read more about ompr

python (65.2k questions)

javascript (44.3k questions)

reactjs (22.7k questions)

java (20.8k questions)

c# (17.4k questions)

html (16.3k questions)

r (13.7k questions)

android (13k questions)

Questions - ompr

Transportation cost optimisation using OMPR for a large data set

I am solving a transport optimization problem given a set of constraints. The following are the three key data sets that I have #demand file demand - has demand(DEMAND) across 4821(DPP) sale points(D)...
test-img

Srikanth Viswanathan

optimization

routes

bigdata

operations-research

ompr

Votes: 0

Answers: 2

Latest Answer

Both OMPR and GLPK are slow for large models. You are duplicating sum_over(x[i,j], j = 1:ncol(LCMat)). That leads to more nonzero elements than needed. I usually try to prevent that (even at the expe...
test-img

Erwin Kalvelagen

How to include matrix multiplication in constraint?

I am trying to make run this model. I am trying to maximize:x[4] w.r.t Mv = c(0,0,0,0) lb < v < ub But I have 2 problems, first matrix multiplication. library(ompr) lb <-...
test-img

Omar113

r

ompr

Votes: 0

Answers: 1

Latest Answer

Works like this, but the solution is (0, 0, 0, 0): library(ompr) library(ompr.roi) library(ROI.plugin.glpk) library(magrittr) lb <- c(-200, 0, -200, -200) ub <- c(1000, 1000, 1000, 1000) M <...
test-img

St&#233;phane Laurent

Posts

Questions

Blogs

Jobs

The ultimate platform for coders and IT specialists

About

  • Company
  • Support

  • Platform

  • Terms & Conditions
  • Privacy statement
  • Cookie policy
  • Cookie option
  • OnlyCoders © 2025  |  All rights reserved