next | previous | forward | backward | up | top | index | toc | Macaulay2 website
NumericalSchubertCalculus :: setVerboseLevel

setVerboseLevel -- set different levels of information printed on screen

Synopsis

Description

The function displays different levels of information on the screen:

Consider the problem of four lines with resepct to random flags

i1 : SchPblm = randomSchubertProblemInstance ({{1},{1},{1},{1}},2,4)

o1 = {({1}, | .781262-.624203ii  -.462954-.886382ii -.272832+.962062ii
            | .9868+.161945ii    -.219207-.975678ii .778029-.628229ii 
            | -.971549+.236839ii .157598-.987503ii  .841103-.540875ii 
            | .893324+.449414ii  .360485-.932765ii  -.651048+.759036ii
     ------------------------------------------------------------------------
     -.670948-.741504ii |), ({1}, | .696205+.717843ii  -.0281556+.999604ii
     .118767+.992922ii  |         | -.58234+.812945ii  -.924052-.382267ii 
     -.396553+.918012ii |         | .486335-.873772ii  -.970803-.23988ii  
     -.272372-.962192ii |         | -.783999-.620762ii .577597-.816322ii  
     ------------------------------------------------------------------------
     -.0562287-.998418ii .776937+.629579ii  |), ({1}, | -.746312-.665596ii
     .023444+.999725ii   .570649+.821194ii  |         | -.936289-.351232ii
     .701149-.713015ii   -.863646+.504099ii |         | -.164243+.98642ii 
     .357971+.933733ii   -.820726+.571321ii |         | .85817-.513365ii  
     ------------------------------------------------------------------------
     .995687+.092774ii .168661+.985674ii  -.765803+.643076ii |), ({1}, |
     .701342-.712825ii -.286823-.957983ii -.415126-.909764ii |         |
     -.78761-.616174ii .976163-.21704ii   -.416188-.909278ii |         |
     .759918-.650019ii .482783+.87574ii   .975922-.218119ii  |         |
     ------------------------------------------------------------------------
     .918399+.395655ii  .719639-.694348ii  .9772+.212322ii   
     .58629+.810101ii   -.554833-.831962ii .454813+.890587ii 
     -.590887+.806754ii -.726792+.686857ii .0800129+.996794ii
     -.939129+.343564ii -.616052-.787706ii .339065+.940763ii 
     ------------------------------------------------------------------------
     -.998741-.0501734ii |)}
     -.698649-.715464ii  |
     .742918+.669382ii   |
     -.99319-.116506ii   |

o1 : List
i2 : setVerboseLevel 0;
i3 : S = solveSchubertProblem(SchPblm,2,4)

o3 = {| -1.65573-.600637ii .0201935+.0437095ii   |, | -.154703+.175591ii 
      | -1.23037-1.66989ii -.0308057-.00120618ii |  | -.801221-.0354303ii
      | 1.35971-.743988ii  -.0713133-.049047ii   |  | .325581-2.08048ii  
      | -.397038-1.8974ii  .0102261-.024397ii    |  | -.475895-.209388ii 
     ------------------------------------------------------------------------
     .0376857+.0683239ii   |}
     -.00368075+.0317504ii |
     -.0350432-.250817ii   |
     -.0336427+.0141017ii  |

o3 : List
i4 : assert all(S,s->checkIncidenceSolution(s,SchPblm))
i5 : setVerboseLevel 1;
i6 : S = solveSchubertProblem(SchPblm,2,4)
-- playCheckers
-- cpu time = .00585116
-- making a recursive call to resolveNode
-- playCheckers
-- cpu time = .00290022
-- making a recursive call to resolveNode
-- playCheckers
-- cpu time = .000385689
resolveNode reached node of no remaining conditions
-- time to make equations: .0239658
Setup time: 0
Computing time:0
 -- trackHomotopy time = .00672609 sec. for [{0, 1, 2, 3}, {0, infinity, 2, infinity}]
-- time of performing one checker move: .0354832
-- time of performing one checker move: .00122563
-- time of performing one checker move: .00117033
-- time to make equations: .00547731
Setup time: 0
Computing time:0
 -- trackHomotopy time = .0241148 sec. for [{1, 2, 3, 0}, {1, infinity, infinity, 2}]
-- time of performing one checker move: .0343609
-- time to make equations: .00530369
Setup time: 0
Computing time:0
 -- trackHomotopy time = .00720593 sec. for [{1, 3, 2, 0}, {1, infinity, infinity, 2}]
-- time of performing one checker move: .0171325
-- time to make equations: .00574404
Setup time: 0
Computing time:0
 -- trackHomotopy time = .00680056 sec. for [{2, 3, 1, 0}, {2, infinity, infinity, 1}]
-- time of performing one checker move: .0172706
-- time to make equations: .0114423
Setup time: 0
Computing time:0
 -- trackHomotopy time = .0086524 sec. for [{0, 1, 2, 3}, {infinity, 1, 2, infinity}]
-- time of performing one checker move: .0425536
-- time to make equations: .0119442
Setup time: 0
Computing time:0
 -- trackHomotopy time = .00867164 sec. for [{0, 1, 3, 2}, {infinity, 1, infinity, 2}]
-- time of performing one checker move: .0429209
-- time of performing one checker move: .00118212
-- time of performing one checker move: .00116538
-- time to make equations: .0117111
Setup time: 0
Computing time:0
 -- trackHomotopy time = .00827815 sec. for [{1, 3, 2, 0}, {infinity, 3, infinity, 1}]
-- time of performing one checker move: .0248142
-- making a recursive call to resolveNode
-- playCheckers
-- cpu time = .00301446
-- making a recursive call to resolveNode
-- playCheckers
-- cpu time = .000400156
resolveNode reached node of no remaining conditions
-- time to make equations: .00508699
Setup time: 0
Computing time:0
 -- trackHomotopy time = .00699111 sec. for [{0, 1, 2, 3}, {0, infinity, 2, infinity}]
-- time of performing one checker move: .0166326
-- time of performing one checker move: .00111557
-- time to make equations: .00523599
Setup time: 0
Computing time:0
 -- trackHomotopy time = .00678585 sec. for [{0, 2, 3, 1}, {0, infinity, infinity, 2}]
-- time of performing one checker move: .0338395
-- time of performing one checker move: .00110384
-- time of performing one checker move: .000832828
-- time of performing one checker move: .00109462
-- time of performing one checker move: .00128342
-- time of performing one checker move: .000926589
-- time of performing one checker move: .00123115
-- time of performing one checker move: .00120682
-- time to make equations: .0125851
Setup time: 0
Computing time:0
 -- trackHomotopy time = .00864165 sec. for [{1, 3, 2, 0}, {1, infinity, infinity, 3}]
-- time of performing one checker move: .0464116
-- time of performing one checker move: .00187226

o6 = {| -1.65573-.600637ii .0201935+.0437095ii   |, | -.154703+.175591ii 
      | -1.23037-1.66989ii -.0308057-.00120618ii |  | -.801221-.0354303ii
      | 1.35971-.743988ii  -.0713133-.049047ii   |  | .325581-2.08048ii  
      | -.397038-1.8974ii  .0102261-.024397ii    |  | -.475895-.209388ii 
     ------------------------------------------------------------------------
     .0376857+.0683239ii   |}
     -.00368075+.0317504ii |
     -.0350432-.250817ii   |
     -.0336427+.0141017ii  |

o6 : List
i7 : assert all(S,s->checkIncidenceSolution(s,SchPblm))

See also

Ways to use setVerboseLevel :

For the programmer

The object setVerboseLevel is a method function.