Dear all,
I have a simple problem with my batch file:
Let's say I define the following tree
Code:Tree MyTree = ((b1,b2)b3,(b4,b5)b6);
And I define all parameters as global in my model, except for two of them,
t for the branch lengths, and another parameter
sc.
Now, I want
b1,
b2 and
b3 to share the same value of
sc, and similarly for
b4,
b5 and
b6.
I tried:
Code:MyTree.b2.sc := MyTree.b1.sc;
etc., but it does not seem to work.
Similarly, I also tried to define two models,
M1 and
M2, where
M1 uses
sc, while
M2 uses
sc2. Both
sc and
sc2 are in this case defined as global variables.
Then I set:
Code:Tree MyTree = ((b1{M1},b2{M1})b3{M1},(b4{M2},b5{M2})b6{M2});
But this also does not seem to work. I get different values for
MyTree.b1.sc and
MyTree.b2.sc. Also, convergence gets almost always stuck in non-optimal values.
Do you know what I am doing wrong (or could you suggest me some example to look at)?
Thanks, and Best Regards,
Nicola De Maio