# Tagged Questions

31 views

### using lsqcurvefit to fit piece-wise linear

I would like to use this function to fit piece-wise linearly to a set of data. Namely, I want to fit them with several linear segments. Including other requirements, I would not want the segments ...
30 views

### How to minimise an objective function which is not a direct function of the decision variable?

I have a problem with partitioning a water network by closing some pipes. I use some graph theory techniques to find some candidate pipes to close; but to select which pipes among them to close (my ...
267 views

### Significant improvement when I use lsqnonlin function with wrong sized X

I was trying to solve a nonlinear least-square optimization problem using matlab function lsqnonlin with default algorithm trust-region-reflective. Let the optimization problem be "minimize ...
164 views

### How to solve nonlinear constrained optimization in Matlab?

I have to solve a nonlinear constrained function in matlab, and I am not familiar with it's commands. the problem is: minimize $E(b,c)$ constraints: $k1< c\sqrt{b}< k2 ; c/6>k3$ Note: E(b,c) ...
325 views

### Which optimization algorithm converges faster?

everyone. I'm having a large scale unconstrained optimization problem. If I treat the unconstrained problem as a constrained problem with infinity constraints, I should be able to use both the ...
136 views

### Choose a right optimization method

I have a question related to optimization method selection. Suppose now I have some observation data (1D) as well as the underlying function model. For example, I use the following codes to generate ...
179 views

### Matlab quadprog lower bound constraint ignored?

I am trying to solve an optimization problem with matlabs quadprog function. I have set up the problem to solve only equality constraints with lower bounds of 0. ...
47 views

152 views

### Optimization via Simulation

I want to minimize and objective function $\hat{B_i}$ $i\in l$, which can be computed by a matlab code (assume $\operatorname{findB}(a, b, c)$ returns $B$. I have the following optimization problem: ...