Skip to content

Commit

Permalink
update description of ogFunc
Browse files Browse the repository at this point in the history
  • Loading branch information
yuhonglin committed Dec 18, 2014
1 parent 61808b9 commit 1041bf2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ I am new to Julia language so the code will be cleaned gradually
- Currently only provide a function called ```lbfgsb```, see its option below,

# Options
- ```ogFunc``` : Objective and gradient function. It accept cuurent ```x``` and return the objective function and gradient value in a tuple.
- ```ogFunc``` : Objective and gradient function. It accept current ```x``` and a gradient array ```g```. It should return the objective function value and put the gradient into into ```g```.
- ```x``` : Initial value of ```x```.
- ```lb``` : lower bounds of each dimension of ```x```. Set to ```-Inf``` if equals to ```[]```.
- ```ub``` : upper bounds of each dimension of ```x```. Set to ```Inf``` if equals to ```[]```.
Expand Down

0 comments on commit 1041bf2

Please sign in to comment.