Rank: 547 based on 236 downloads (last 30 days) and 2 files submitted
photo

John Hedengren

E-mail

Personal Profile:

 

Watch this Author's files

 

Files Posted by John Hedengren View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
23 Mar 2012 Screenshot Model Predictive Control Model Predictive Control with discrete, continuous, linear, or nonlinear models. Author: John Hedengren model predictive cont..., mpc, nonlinear, dynamic, moving horizon, web service 112 1
  • 5.0
5.0 | 2 ratings
19 Mar 2012 Screenshot MINLP: Mixed Integer Nonlinear Programming Mixed Integer Nonlinear Programming Solver with APM MATLAB Author: John Hedengren nonlinear programming, optimization, mixed integer, branch and bound, minlp, milp 124 19
  • 5.0
5.0 | 6 ratings
Comments and Ratings by John Hedengren View all
Updated File Comments Rating
29 Nov 2014 MINLP: Mixed Integer Nonlinear Programming Mixed Integer Nonlinear Programming Solver with APM MATLAB Author: John Hedengren

Amirhosein, there is an integer tolerance (possibly 1e-3). As long as the value is within that tolerance of an integer value, it is declared as an integer and accepted as a potential solution. Could you send me a copy of your files at john.hedengren@byu.edu if this isn't the issue?

03 Apr 2012 Nonlinear Control of 4-tank process Controlling the 4-tank problem using a non linear controller Author: Trevor

22 Mar 2012 Discrete Lorenz Water Wheel Simulation This is a simulation of an 8 tank lorenze water wheel. The water speed is manually controlled. Author: Trevor

Comments and Ratings on John Hedengren's Files View all
Updated File Comment by Comments Rating
29 Nov 2014 MINLP: Mixed Integer Nonlinear Programming Mixed Integer Nonlinear Programming Solver with APM MATLAB Author: John Hedengren John Hedengren

Amirhosein, there is an integer tolerance (possibly 1e-3). As long as the value is within that tolerance of an integer value, it is declared as an integer and accepted as a potential solution. Could you send me a copy of your files at john.hedengren@byu.edu if this isn't the issue?

23 Nov 2014 MINLP: Mixed Integer Nonlinear Programming Mixed Integer Nonlinear Programming Solver with APM MATLAB Author: John Hedengren Amirhosein Jafari

I have 2 question.
1. I tried to use my own function with 15 binary variables. In the results, the last one has a real value between 0 to 1. Why?
2. It can find the optimum solution of my function by only 1 iteration. How is it possible? that is because I have no non-integer variable?
thanks

02 Sep 2014 Model Predictive Control Model Predictive Control with discrete, continuous, linear, or nonlinear models. Author: John Hedengren yang

08 Aug 2014 MINLP: Mixed Integer Nonlinear Programming Mixed Integer Nonlinear Programming Solver with APM MATLAB Author: John Hedengren Emre Savas

One last question, Where exactly I should put csv_load() command in minlp.m file that you provide in your submission? I think this is why I can't retrieve the data from csv file.

I am using minlp.m file that you submitted in this page.

Thanks for your help

07 Aug 2014 MINLP: Mixed Integer Nonlinear Programming Mixed Integer Nonlinear Programming Solver with APM MATLAB Author: John Hedengren John Hedengren

Below is a simple model file that demonstrates how to load in external parameters into APMonitor. You can replace the File *.csv section with loading a CSV file of your choice through MATLAB with the csv_load() function. For testing, just copy the lines below and insert into the web-interface at: http://apmonitor.com/online/view_pass.php

Constants
m = 4

Parameters
c[1:m] = 1.2

Variables
intv ! integer variables start with "int"

Intermediates
! summation of all elements
s[0] = 0
s[1:m] = s[0:m-1] + c[1:m]

Equations
! v to be equal to the nearest integer for summation
minimize (s[m] - intv)^2

File *.csv
c[1], 2.3
c[2], 5.1
c[4], 0.0
End File

Contact us