You are right Neil. I think I made some mistakes the first time and got an error message. Now it works fine. Many thanks.
At the risk of abusing your generosity, I have one more question.
If I compute the minimization problem (or solve simultaneous equations problem), I get a set of results for the specified variables, e.g.
{p[1] -> 1.71304, p[2] -> 1.66576, p[3] -> 1.58799,
alpha[1, 2] -> 0.273479, alpha[1, 3] -> 0.386724,
alpha[2, 1] -> 0.331958, alpha[2, 3] -> 0.613276,
alpha[3, 1] -> 0.668042, alpha[3, 2] -> 0.726521}
Now, I need to substitute for these results, i.e. set
p[1] = 1.7130407333027033`
p[2] = 1.6657564453986469`
p[3] = 1.5879949741053119`
alpha[1, 2] = 0.273478839300758`
alpha[1, 3] = 0.3867235962022603`
alpha[2, 1] = 0.3319579814272776`
alpha[2, 3] = 0.6132764037035208`
alpha[3, 1] = 0.6680420181563871`
alpha[3, 2] = 0.7265211604700595`
I am doing it now manually. Is there a way to automate this process?
Thanks in advance for your help.
Best