solver Questions
5
Solved
I am yet to use poetry to run project, so excuse lack of understanding.
I successfully installed the poetry python library manager, using:
curl -sSL https://raw.githubusercontent.com/python-poetry/...
Bertram asked 15/7, 2021 at 14:12
1
Solved
background
I am trying to write an pyomo script to optimally dispatch a gas plant based on perfect foresight of electricity prices. I believe I am 90% of the way there, just a few issues.
Problem
M...
Peptide asked 12/3, 2022 at 23:28
4
I am solving simple optimization problem. The data set has 26 columns and over 3000 rows.
The source code looks like
Means <- colMeans(Returns)
Sigma <- cov(Returns)
invSigma1 <- solve(S...
Jezabelle asked 4/7, 2011 at 13:23
7
I'm trying to write an algorithm that can solve sudoku. For now, my code works till supplyGrid is out of numbers. When it happens it should go back and try another number, right? To be honest I hav...
Melodious asked 11/3, 2017 at 14:58
2
In this bit of code:
import cvxpy as cvx
# Examples: linear programming
# Create two scalar optimization variables.
x = cvx.Variable()
y = cvx.Variable()
# Create 4 constraints.
constraints = [x...
Poultry asked 13/9, 2018 at 13:15
4
Solved
I have a task revolving around a small game, called Lights Out.
Game
The game consists of a board with dimensions 3x3, where each cell can either be 1 or 0, for example:
0 1 0
1 1 0
0 0 0
the gam...
1
Solved
After having tried many things, I thought it would be good to ask on SO. My problem is fairly simple: how can I solve the following equation using Sympy?
Equation
I want to solve this for lambda_0 ...
6
Solved
I created a model in Excel to use in conjunction with Solver. It mostly works. The only problem is that Solver is not really treating the cells constrained as binary properly. When it's done findin...
3
Solved
I would like to look at a couple of implementations of IPMs. The languages preferable are C/C++, Java or any scripting languages like python, perl. Others are also fine.
I am searching for a good ...
Jacobs asked 10/5, 2011 at 15:22
0
I wish to speed up the sparse system solver part of my code using Numba. Here is what I have up till now:
# Both numba and numba-scipy packages are installed. I am using PyCharm IDE
import numba
i...
Eserine asked 5/6, 2020 at 3:18
1
Solved
I'm currently working on MiniZinc, and i have been running my models with the two solvers integrated in MiniZinc: Gecode and Chuffed. I've been running it in the IDE, but i am aware that it can be ...
Psalmist asked 30/4, 2020 at 23:58
5
Solved
Is there a JavaScript library or function that will solve equations for variables?
Such as 9 = 3 + x and solve for x. But it should also solve more advanced equations that include sine, cosine, an...
Scallop asked 22/12, 2010 at 22:29
2
Solved
I'm trying to solve this exponential equation like this:
my ($l,$r);
for (1 .. 100) -> $x {
$l = $x * e ** $x;
$r = 5 * (e ** $x - 1);
say $x if $l == $r;
}
But it doesn't work. How t...
Prevot asked 5/4, 2020 at 21:34
4
I want to use "pyomo" for my studies. I installed pyomo via easy_install
coopr install instructions, Pyomo needs a solver to work so I wanted to install the
(GNU Linear Programming Kit) glpk_webpa...
Illimitable asked 19/12, 2013 at 19:34
0
I've noticed that base::chol() severely slows down when the matrix contains many small elements. Here is an example:
## disable openMP
library(RhpcBLASctl); blas_set_num_threads(1); omp_set_num_th...
3
Solved
Is it possible Rubik's cube to be efficiently solved by genetic algorithms?
What kind of chromosome encoding should be used? How the crossover and mutation should be done?
I am using this model o...
Eteocles asked 17/3, 2016 at 18:12
3
Solved
I've been exploring VBA and excel and I've been writing a few basic codes around the Excel Solver. However robust the Excel Solver may appear, it's just not fast enough for my optimization problem ...
1
Solved
I am wondering, what are the differences between ODEINT and solve_ivp for solving a differential equation. What could be advantages and disadvantages between them?
f1 = solve_ivp(f, [0,1], y0) #y0...
1
Solved
I saw already a similar question, but I can´t figure out, how to do. Maybe you can help.
Back solving a function or goal seek in R
ES <- function(y, z){-y * (1-pnorm(y/z)) + z * dnorm(y/z)} # ...
2
Solved
How to set the timeout for Pyomo solve() method ? More specifically, to tell pyomo, after x seconds, return the optimal solution currently found ?
1
Solved
x <- matrix(rnorm(80, mean = 0, sd = 0.1), 8, 8)
c <- cov(x)
solve(c)
I get the error message:
Error in solve.default(c) : system is computationally singular:
reciprocal condition numb...
4
Solved
Using SymPy, is it possible to limit the possible values of a symbol/variable to a certain range? I now I can set some properties while defining symbols, like positive=True, but I need more control...
7
What are the fast solvers for FEM equations? I would prefer open source implementation, but if there is a commercial implementation, then I won't mind paying for it.
4
Solved
I have a number on a spreadsheet which is a combination of many different numbers on a list.
For example:
A list contains: 100, 200, 250, 500, and 1000
The number I need to explain is: 800
The answ...
2
Solved
Recently, I started to study formal verification techniques. In literature, model checker and solver are used somehow interchangeably.
But, how model checker and solver are connected with each othe...
Domineering asked 11/5, 2017 at 7:16
1 Next >
© 2022 - 2024 — McMap. All rights reserved.