Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

Login


Options
Go to last post Go to first unread
Offline TheWizEd  
#1 Posted : 12 March 2011 03:26:57(UTC)
TheWizEd


Rank: Advanced Member

Groups: Registered
Joined: 04/07/2010(UTC)
Posts: 178
Man
United States

Was thanked: 19 time(s) in 13 post(s)
What is the advantage to Symbolic Optimization?

It seems to me some things don't work right if Symbolic is choosen, which is the default.

For example, I created 2 user functions. Then I created another user function that included the first 2 functions. The result was 0 although I knew it should be some value. When I changed Optimization to Numeric the correct result was calculated.

I've noted similar posts where changing optimization to Numeric solved the problem.

I vote for Numeric as default.

Ed

Wanna join the discussion?! Login to your SMath Studio Forum forum account. New Registrations are disabled.

Offline omorr  
#2 Posted : 12 March 2011 10:35:24(UTC)
omorr


Rank: Administration

Groups: Registered, Advanced Member
Joined: 23/06/2009(UTC)
Posts: 1,740
Man
Serbia

Was thanked: 318 time(s) in 268 post(s)
Hello Ed,

I am not an expert in these things but, as far as I know, SMath did not have the "Optimization" in the previous versions. The main engine was "Symbolic" and everything goes through it - and still does. I can not explain what that means exactly. Just could guess that SMath uses some kind of library for manipulating expressions. This might be Andreys product or someone elses - do not know. In the meantime some problems occur by pure numerical results and Andrey introduced eval() function and "Numerical" or "None" optimization in the subsequent versions. As I could understood, the engine remains the same but some "shorcuts" have been introduced in order to strugle with numerical results. There still exist a problem with "symbolic" and "numeric" things in SMath. There are some calculations you can not do in SMath which are conected with numerical results. I do not know how would Andrey solve all these things, but I hope he will find the way.

Ed, you mentioned that "Numeric" optimization might be by default. I agree and could not see any problem by that. A bit strange might be that you can not see the pure numerical result (a number) when you hoover the mouse over an expression or use the Dynamis assitance. It is still in "Symbolic" form - as a fraction etc.

Andrey can give us the most accurate and complete answer about this.

Regards,
Radovan

Edited by user 12 March 2011 10:38:20(UTC)  | Reason: Not specified

When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
Offline TheWizEd  
#3 Posted : 12 March 2011 18:54:17(UTC)
TheWizEd


Rank: Advanced Member

Groups: Registered
Joined: 04/07/2010(UTC)
Posts: 178
Man
United States

Was thanked: 19 time(s) in 13 post(s)
This is another common occurance with SMath Symbolic Optimization.



If I switch to Numeric if works fine.
Ed
Offline omorr  
#4 Posted : 13 March 2011 01:04:01(UTC)
omorr


Rank: Administration

Groups: Registered, Advanced Member
Joined: 23/06/2009(UTC)
Posts: 1,740
Man
Serbia

Was thanked: 318 time(s) in 268 post(s)
Hello Ed,

As I remember, after some similar problem reported by a SMath user some time ago Andrey introduced "Optimization". There were other situations reported when the same error message appear, and the numerical optimization gave the result.

Regards,
Radovan
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
Offline ofniw  
#5 Posted : 16 March 2011 23:48:01(UTC)
ofniw

Rank: Newbie

Groups: Registered
Joined: 14/04/2010(UTC)
Posts: 6
Man
Location: Germany

Hello all,
I have also experienced several cases where optimization=numeric worked and optimization=symbolic failed.
I would think the optimal solution would be, that the default optimization can be set in the options menu.

Regards
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.