optimization library

Reply

Join Date: Oct 2005
Posts: 22
Reputation: kimw is an unknown quantity at this point 
Solved Threads: 0
kimw kimw is offline Offline
Newbie Poster

optimization library

 
1
  #1
Sep 7th, 2006
does anyone know where i can find a library for minimizing a function, given a set of parameters and contraints? (similar to Solver in Excel)

i've searched around and found quantlib/solvers1d but am still at a lost of how to use it ..

any help is appreciated,
regards,
Reply With Quote Quick reply to this message  
Join Date: Jun 2006
Posts: 7,772
Reputation: ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of 
Solved Threads: 493
Super Moderator
Featured Poster
~s.o.s~'s Avatar
~s.o.s~ ~s.o.s~ is offline Offline
Failure as a human

Re: optimization library

 
1
  #2
Sep 7th, 2006
The best way to start learning a library is reading its documentation properly and visiting the related forums. If you still feel that you are lost then you need to do a check whether you really prepared to handle this project.

Hope it helped, bye.
I don't accept change; I don't deserve to live.

Sacrifice is a painful, pure and beautiful thing.

Dammit, Jones, What the Hell Are Knoll Pointers?!
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 16,631
Reputation: Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute 
Solved Threads: 1615
Team Colleague
Featured Poster
Ancient Dragon's Avatar
Ancient Dragon Ancient Dragon is offline Offline
Still Learning

Re: optimization library

 
0
  #3
Sep 7th, 2006
Do you mean Quantlib open source library for quantitative finance ? I don't know a thing about it, but their web site has a lot of information including documentation and links to relevant forums. The site even contains links to example programs.
Last edited by Ancient Dragon; Sep 7th, 2006 at 2:29 pm.
Reply With Quote Quick reply to this message  
Join Date: Oct 2005
Posts: 22
Reputation: kimw is an unknown quantity at this point 
Solved Threads: 0
kimw kimw is offline Offline
Newbie Poster

Re: optimization library

 
1
  #4
Sep 7th, 2006
thanks..actually i read their documentation and it is not helping ..
ive decided to build the library myself...
Reply With Quote Quick reply to this message  
Join Date: Jun 2006
Posts: 7,772
Reputation: ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of 
Solved Threads: 493
Super Moderator
Featured Poster
~s.o.s~'s Avatar
~s.o.s~ ~s.o.s~ is offline Offline
Failure as a human

Re: optimization library

 
1
  #5
Sep 7th, 2006
Wow, now thats the kind of spirit we expect from a programmer.

But if you dont undestand the documentation which is specifically tailored for the people who plan on using it and those who know the basics of the language, do you think you can handle a big thing like library development all by yourself.

Better do a reality check if you really want to move ahead in life. Start with small goals and then eventually you will reach the destination which you always desired.
I don't accept change; I don't deserve to live.

Sacrifice is a painful, pure and beautiful thing.

Dammit, Jones, What the Hell Are Knoll Pointers?!
Reply With Quote Quick reply to this message  
Join Date: Oct 2005
Posts: 22
Reputation: kimw is an unknown quantity at this point 
Solved Threads: 0
kimw kimw is offline Offline
Newbie Poster

Re: optimization library

 
1
  #6
Sep 7th, 2006
forgive my overstatement .. i'm actually planning to build a function and not the whole library

if you're familiar with quantlib maybe u can point me to a more indepth treatment of the functions, because for the one that i've found,
http://quantlib.org/reference/newton_8hpp.html

it is not helping.
Reply With Quote Quick reply to this message  
Join Date: Jun 2006
Posts: 7,772
Reputation: ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of 
Solved Threads: 493
Super Moderator
Featured Poster
~s.o.s~'s Avatar
~s.o.s~ ~s.o.s~ is offline Offline
Failure as a human

Re: optimization library

 
2
  #7
Sep 7th, 2006
Originally Posted by kimw View Post
forgive my overstatement .. i'm actually planning to build a function and not the whole library

if you're familiar with quantlib maybe u can point me to a more indepth treatment of the functions, because for the one that i've found,
http://quantlib.org/reference/newton_8hpp.html

it is not helping.
Hey let me ask you few questions first:
  • How much do you know C++ ?
  • Do you know what a namespace in C++ and how it works ?
  • Have you in your academics done or encountered the terms or concepts which have been implemented in the library and the ones you are trying to use ?
  • What is the maximum complexity of the C++ program you have written till date ?
Well you see the thing is that you should always start small before jumping in the fray. Try to understand small small things and concepts before going overboard with the big ones.

And just a food for thought, how do you propose we make you understand the library even if we knew it ? Obvioulsy it is you who must understand the library and so it is you who must put in all the required effort. Even i had used external library many times (Irrlicht game library, Audiere Sound library) and i know it takes many days to master the function calls and understand the whole architechture.

Hope it helped, bye.
I don't accept change; I don't deserve to live.

Sacrifice is a painful, pure and beautiful thing.

Dammit, Jones, What the Hell Are Knoll Pointers?!
Reply With Quote Quick reply to this message  
Join Date: Oct 2005
Posts: 22
Reputation: kimw is an unknown quantity at this point 
Solved Threads: 0
kimw kimw is offline Offline
Newbie Poster

Re: optimization library

 
2
  #8
Sep 7th, 2006
Hey with all due respect I am a beginner in C++ and I AM trying to extract whatever knowledge I could from existing library . Please read my above posts; I have not asked anyone to explain the library to me. I am merely asking for places to find alternative library/documentations other than the ones I have.

Goodbye.
Reply With Quote Quick reply to this message  
Join Date: Jun 2006
Posts: 7,772
Reputation: ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of 
Solved Threads: 493
Super Moderator
Featured Poster
~s.o.s~'s Avatar
~s.o.s~ ~s.o.s~ is offline Offline
Failure as a human

Re: optimization library

 
1
  #9
Sep 7th, 2006
Sorry if i sounded rude, that wasn't intentional.

By my post what i wanted to convey was that since a library is released by a orgaization or an individual the manpages or the manual of the library is most likely to be provided by the same people and it is highly improbable you would find an alternative documentation.

So the only alternative you are left with is to understand the given documentation which i am sure you would be able to in the near future.

Best of luck with your project.
I don't accept change; I don't deserve to live.

Sacrifice is a painful, pure and beautiful thing.

Dammit, Jones, What the Hell Are Knoll Pointers?!
Reply With Quote Quick reply to this message  
Join Date: Jul 2006
Posts: 59
Reputation: Shane_Warne is an unknown quantity at this point 
Solved Threads: 0
Shane_Warne Shane_Warne is offline Offline
Junior Poster in Training

Re: optimization library

 
1
  #10
Sep 7th, 2006
Although I know a little C/C++ I don't know mathematics. So I don't know what you aer trying to do exactly. But if you want to solve a function using Newton's method, you can get an idea using this thread.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Other Threads in the C++ Forum


Views: 2676 | Replies: 10
Thread Tools Search this Thread



Tag cloud for C++
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2010 DaniWeb® LLC