Questions tagged [minimization]

Minimization is a subclass of mathematical optimization where given a cost or objective function, the goal is to choose the best set of parameters that will minimize the value given by this function.

529 questions
2
votes
1 answer

Minimizing a function using scipy

I have a loglikelihood function which is the sum over a very long list of customers, of some individual loglikelihood functions, and I want to optimpize it using the scipy.optimize.minimize() method. def log_likelihood_individual(r, alpha, a, b, x,…
sweeeeeet
  • 1,769
  • 4
  • 26
  • 50
2
votes
1 answer

Espresso Logic Minimization for Mac OS X

Can somebody giving a working (meaning they tested it) Espresso that will work on Mac OS X? I have a .pla file that I'd like to run. Instructions on running the software wouldn't hurt, either.
thetypist
  • 333
  • 1
  • 4
  • 16
2
votes
0 answers

Minimization leastsq bounds

I m using a least square minimization in order to fit a lot of parameters, but, the results are little surprising, i think it could be due to minimization. Indeed, when i modify the initialization terms, the results are different... In a first time…
user3601754
  • 3,792
  • 11
  • 43
  • 77
2
votes
4 answers

Finding least-energy path across an image

Consider a bidimensional array containing grayscale values, represented as the image below: I want to find best path between the red dots. If you consider bright areas to be "high" and dark areas to be "low" in an elevation sense, then I want a…
2
votes
2 answers

SAS Proc IML: Minimizing a function with respect to one variable

Using SAS proc IML, I have a function: CVF(m,p,h,pi,e); I would like to guess h which minimizes this function. Is there some built-in subroutine to minimize it? Or how can I construct an iterative process for it? Every other variables are defined.
2
votes
1 answer

How to find parameters of gumbel's distribution using scipy.optimize

I have calculated loads for bridges and I want to fit the Gumbel's distribution to highest 20% of them using maximum likelihood estimate. I need help calculating parameters for the distribution. I have read through scipy.optimize documentation but I…
user3559989
  • 23
  • 1
  • 5
2
votes
1 answer

Java package for function optimization

I am searching for a java library to perform some optimization algorithms (minimization) of a cost function. I would like to implement a simple logistic regression program in java but I have worked only using octave and now I'm searching for a java…
Giovanni
  • 121
  • 1
  • 1
  • 11
2
votes
2 answers

Continuous Piecewise-Linear Fit in Python

I have a number of short time-series ( maybe 30 - 100 time points ), and they have a general shape : they start high, come down quickly, may or may not plateau near zero, and then go back up. If they don't plateau, they look something like a simple…
2
votes
1 answer

Does a JavaScript source map file still work after minimizing the source code file?

My background I use TypeScript and Visual Studio to compile awesome strongly typed syntax into slutty JavaScript. I've configured the project and Visual Studio to do the following: Combine multiple compiled JavaScript files to a single JavaScript…
Martin Andersson
  • 18,072
  • 9
  • 87
  • 115
2
votes
1 answer

calculate vector valued Hessian in R

I want to calculate a variance-covariance matrix of parameters. The parameters are obtained by a non-linear least squares fit. library(minpack.lm) library(numDeriv) variables t <- seq(0.1,20,0.3) a <- 20 b <- 14 c <- 0.4 jitter <-…
Toby
  • 533
  • 4
  • 15
2
votes
2 answers

Programs/Calculators to Minimize Regular Expressions

I was just wondering if there is any free software out there that is able to effectively minimize regular expressions.
John Roberts
  • 5,885
  • 21
  • 70
  • 124
2
votes
1 answer

Android application not minimizing by pressing back button after signing

I want to minimize the application by pressing back and home button. so i have used the following code. public void onBackPressed() { Intent setIntent = new Intent(Intent.ACTION_MAIN); …
sourav
  • 676
  • 5
  • 21
2
votes
1 answer

Minimizing a function of vectors

I need to minimize the following sum: minimize sum for all i{(i = 1 to n) fi(v(i), v(i - 1), tangent(i))} v and tangent are vectors. fi takes the 3 vectors as arguments and returns a cost associated with these 3 vectors. For this function, v(i - 1)…
arg
  • 61
  • 4
1
vote
2 answers

Python function minimisation without derivative

I am familiar with some of the functions in scipy.optimize.optimize and have in the past used fmin_cg to minimize a function where I knew the derivative. However, I now have a formula which is not easily differentiated. Several of the functions in…
thornate
  • 4,902
  • 9
  • 39
  • 43
1
vote
2 answers

Minimize (compress; deflate) html for database storage: is it necessary?

I am storing the HTML from the body of emails in a SQL Server nvarchar(max) column. Is there any benefit in minimizing the HTML on the way in? By minimizing I mean removing redundant white space and carriage returns/linefeeds in the HTML text…
sasfrog
  • 2,410
  • 1
  • 17
  • 28