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

setVerboseLevel -- Set different levels of information printed on screen

Synopsis

Description

The function displays different levels of information visible on the screen:

  • 0 = no extra information displayed [default]
  • 1 = print the progress information and time the main process
  • 2 = besides the information of level 1, it also displays the checkerboard steps
i1 : -- The problem of 4 lines w.r.t. random flags
     SchPblm = randomSchubertProblemInstance ({{1},{1},{1},{1}},2,4)

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

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

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

o3 : List
i4 : assert all(S,s->checkIncidenceSolution(s,SchPblm))
i5 : setVerboseLevel 1;
i6 : S = solveSchubertProblem(SchPblm,2,4)
-- playCheckers
-- cpu time = .00444563
-- making a recursive call to resolveNode
-- playCheckers
-- cpu time = .00298556
-- making a recursive call to resolveNode
-- playCheckers
-- cpu time = .00036088
resolveNode reached node of no remaining conditions
-- time to make equations: .00423633
Setup time: 0
Computing time:0
 -- trackHomotopy time = .00502517 sec. for [{0, 1, 2, 3}, {0, infinity, 2, infinity}]
-- time of performing one checker move: .0263976
-- time of performing one checker move: .00194072
-- time of performing one checker move: .00191634
-- time to make equations: .00691576
Setup time: 0
Computing time:0
 -- trackHomotopy time = .00541846 sec. for [{1, 2, 3, 0}, {1, infinity, infinity, 2}]
-- time of performing one checker move: .0180838
-- time to make equations: .00434917
Setup time: 0
Computing time:0
 -- trackHomotopy time = .00518994 sec. for [{1, 3, 2, 0}, {1, infinity, infinity, 2}]
-- time of performing one checker move: .0131455
-- time to make equations: .00428665
Setup time: 0
Computing time:0
 -- trackHomotopy time = .00513116 sec. for [{2, 3, 1, 0}, {2, infinity, infinity, 1}]
-- time of performing one checker move: .0130334
-- time to make equations: .00933076
Setup time: 0
Computing time:0
 -- trackHomotopy time = .00615368 sec. for [{0, 1, 2, 3}, {infinity, 1, 2, infinity}]
-- time of performing one checker move: .0194103
-- time to make equations: .0114141
Setup time: 0
Computing time:0
 -- trackHomotopy time = .00588126 sec. for [{0, 1, 3, 2}, {infinity, 1, infinity, 2}]
-- time of performing one checker move: .0217524
-- time of performing one checker move: .000863915
-- time of performing one checker move: .000837405
-- time to make equations: .00941556
Setup time: 0
Computing time:0
 -- trackHomotopy time = .0108702 sec. for [{1, 3, 2, 0}, {infinity, 3, infinity, 1}]
-- time of performing one checker move: .0256253
-- making a recursive call to resolveNode
-- playCheckers
-- cpu time = .00240793
-- making a recursive call to resolveNode
-- playCheckers
-- cpu time = .000329419
resolveNode reached node of no remaining conditions
-- time to make equations: .0214603
Setup time: 0
Computing time:0
 -- trackHomotopy time = .00788464 sec. for [{0, 1, 2, 3}, {0, infinity, 2, infinity}]
-- time of performing one checker move: .0341
-- time of performing one checker move: .00102287
-- time to make equations: .00440113
Setup time: 0
Computing time:0
 -- trackHomotopy time = .00531406 sec. for [{0, 2, 3, 1}, {0, infinity, infinity, 2}]
-- time of performing one checker move: .013452
-- time of performing one checker move: .000905502
-- time of performing one checker move: .00071193
-- time of performing one checker move: .000876476
-- time of performing one checker move: .000985118
-- time of performing one checker move: .000721485
-- time of performing one checker move: .000961845
-- time of performing one checker move: .000989488
-- time to make equations: .00955909
Setup time: 0
Computing time:0
 -- trackHomotopy time = .00629973 sec. for [{1, 3, 2, 0}, {1, infinity, infinity, 3}]
-- time of performing one checker move: .0200008
-- time of performing one checker move: .00152608

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

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

See also

Ways to use setVerboseLevel :