3,477 questions
Advice
0
votes
8
replies
119
views
Multi-Sensor Data Fusion for Pile Strain Analysis
I am working with two different measurement systems used to monitor strain/deformation in a bored pile. I need to consolidate these into a single representative curve using Excel/VBA.
System A (...
Best practices
0
votes
5
replies
104
views
SCIP CPU usage is low while solving
Is there a way to get SCIP to harness all the power of the CPU and reduce the time it takes to solve a problem? My CPU maxes out at 10% utilization while solving a 12-minute problem. I'm using the ...
Tooling
0
votes
2
replies
66
views
JuMP Semicontinuous range solver compatibility
What are the solvers that interface with the Semicontinuous variable range in JuMP?
using JuMP
using solver # solver that supports Semicontinuous range
model = Model(solver.Optimizer)
@variable(...
1
vote
0
answers
119
views
Why does CVXPY keep failing in solving problems and remain feasible?
This is a convex problem and also conforms to the syntax rules of CVXPY. I have tried changing the solver (ECOS or SCS) and adjusting the experimental parameters, but all failed.
I'm using the CVXPY ...
3
votes
1
answer
82
views
How can I shortcut the unlimited-time SymPy expansion of all (a + b*z**k) given some z(n)?
Let me put some context first.
You see, I have a theory that multiplying all (a + b*z**k), for a determined z based on n, and some exponents k, it could return a**n+b**n. This is my brand new Cori ...
0
votes
1
answer
59
views
Memory leakage when solving JuMP model in for loop
I have a fairly complex JuMP (HiGHS) model that I have developed for running over "batches" of input data. It runs fine on a single batch, but once I start looping over several instances, ...
3
votes
2
answers
144
views
How to solve power flow equations using GEKKO in Python?
I want to solve the AC power flow equations (wiki) using GEKKO in Python. This is a nonlinear system of equations describing conservation of energy on a power grid.
I'm struggling to get GEKKO to ...
0
votes
0
answers
40
views
Wrong structure of tours Location Routing Problem gurobipy
I need to program a code for the LRP in Gurobipy. Unfortunately it is not working right but I can't find the mistake. It assigns my customers correctly to the depots but it does not route the vehicles ...
2
votes
3
answers
158
views
Why the result is infeasible?
Suppose I have a set of jobs, each needing one mold; changing from mold A to mold B has a cost. I want to search for the job sequence that minimizes the mold change cost.
job mold
Mold shift cost
My ...
1
vote
1
answer
132
views
Iterative Closest Point with occlusions in Matlab
Problem definition
I'm trying to estimate from a dataset the position and orientation of an aircraft represented by a 2D polygonal line. The idea is to convert the polygonal line in a uniform point ...
0
votes
1
answer
75
views
Ceres solver: how to get history of solutions (found iteratively during the solve)?
In ceres solver, how to get history of solutions (found iteratively during the solve)?
I start from the simplest hello world example:
ceres-solver$ git remote -v
origin https://github.com/ceres-...
1
vote
1
answer
93
views
Find the linear combination of vectors to find a vector obeying constraints
I have a set of 3 complex vectors, I want to a find a linear combination of these vectors that would amount to an offset (y = c) - like an array with all elements equal to each other, within a ...
2
votes
1
answer
110
views
Optimization of LEDs for uniform light on surface
So I have this problem where i want to make a pattern of LEDs such that the most uniform light is achieved within an area on a plane 5cm away. I can't change the power of the LEDs individually and I ...
0
votes
1
answer
98
views
How do I resolve 'Error in optim: non-finite finite-difference value [1]' in this example?
Running the MWE...
library(SuppDists)
library(stats4)
mle(function(x) -log(dPearson(x, N=21, rho=0.999)), 0.5)
produces an error
Error in optim(start, f, method = method, hessian = TRUE, ...) :
...
0
votes
1
answer
68
views
How it is possible to solve one LP (Simplex) per thread in parallel?
I need to solve one LP per thread at the same time.
I'm coding in Matlab and using gurobi as a solver. Since gurobi is an API that actually run calculations in C++, I'm unable to use several threads ...