STATSBUDDY
Home
Statistics
Analytics
Toolkit
Professor Wiseman
Projects
Datasets
Contact Me
Collect Data
Non-linear Programming (with R)
Important Notes:
1. For variable names, use x[1], x[2], x[3]... in objective function and constraints.
2. Use 'Inf' as positive infinity and '-Inf' as negative infinity in lower & upper bounds.
3. To input very high or very low numbers, use the format '-1e-7' or '5e+10' in lower & upper bounds.
Objective function to minimize:
(
Note:
To maximize, multiply the function by -1)
Constraint 1:
; Lower Bound =
; Upper Bound =
Constraint 2:
; Lower Bound =
; Upper Bound =
Constraint 3:
; Lower Bound =
; Upper Bound =
Constraint 4:
; Lower Bound =
; Upper Bound =
Constraint 5:
; Lower Bound =
; Upper Bound =
Constraint 6:
; Lower Bound =
; Upper Bound =
Initial Values:
Code:
Copyright © 2019 Abhimanyu Gupta. All rights reserved.
Home
Statistics
Analytics
Toolkit
Professor Wiseman
Projects
Datasets
Contact Me
Collect Data