1. mkur
  2. nlopt-ocaml

Commits

mkur  committed c44acda

Updated examples.

  • Participants
  • Parent commits 2d4e9c1
  • Branches default

Comments (0)

Files changed (2)

File README.md

View file
 	
 	open Nlopt;;
 	
-	let opt = create NLOPT_LD_LBFGS 2;;
+	let opt = create lbfgs 2;;
 	
 	let f a grad = 					
 	  let x = a.(0) in

File examples/rosenbrock.ml

View file
 
 let opt = create mma 2;; 
 
-(* let opt = create NLOPT_LN_COBYLA 2;; *)
-
 let () = 
   begin
     set_min_objective opt f;