Macaulay2 » Documentation
Packages » GraphicalModelsMLE :: solverMLE(...,OptionsEigenSolver=>...)
next | previous | forward | backward | up | index | toc

solverMLE(...,OptionsEigenSolver=>...) -- use options of "zeroDimSolve" in "EigenSolver"

Synopsis

Description

Default OptionsEigenSolver in solverMLE are the default options in zeroDimSolve in EigenSolver. All optional input in zeroDimSolve is allowed.

i1 : G=mixedGraph(graph{{a,b},{b,c}})

o1 = MixedGraph{Bigraph => Bigraph{}       }
                Digraph => Digraph{}
                Graph => Graph{a => {b}   }
                               b => {a, c}
                               c => {b}

o1 : MixedGraph
i2 : solverMLE(G,matrix{{1,0,0},{0,1,0},{0,0,1}},Solver=>"EigenSolver",OptionsEigenSolver=>{Multiplier =>1, Strategy=>"Stickelberger"})

o2 = (2.0876, | .222222  -.111111 .0555556 |, 1)
              | -.111111 .222222  -.111111 |
              | .0555556 -.111111 .222222  |

o2 : Sequence

In fact, since zeroDimSolve is the current default numerical solver. the sintaxis below is enough:

i3 : G=mixedGraph(graph{{a,b},{b,c}})

o3 = MixedGraph{Bigraph => Bigraph{}       }
                Digraph => Digraph{}
                Graph => Graph{a => {b}   }
                               b => {a, c}
                               c => {b}

o3 : MixedGraph
i4 : solverMLE(G,matrix{{1,0,0},{0,1,0},{0,0,1}},OptionsEigenSolver=>{Multiplier =>1, Strategy=>"Stickelberger"})

o4 = (2.0876, | .222222  -.111111 .0555556 |, 1)
              | -.111111 .222222  -.111111 |
              | .0555556 -.111111 .222222  |

o4 : Sequence

Further information

See also

Functions with optional argument named OptionsEigenSolver: