nasa / dorado-scheduling

Dorado observation planning and scheduling simulations
Other
23 stars 8 forks source link

WIP: Add slew constraints using constraint programming #61

Open lpsinger opened 3 years ago

lpsinger commented 3 years ago

This is a work in progress showing how to incorporate slew constraints using docplex.cp (rather than docplex.mp). To test it, run this command:

dorado-scheduling examples/6.fits --roll-step '90 deg' --timeout 60 --skygrid-method sinusoidal --skygrid-step '36 deg2' -j -o examples/6.ecsv
codecov[bot] commented 3 years ago

Codecov Report

Merging #61 (eeb1f29) into main (1792adc) will increase coverage by 0.35%. The diff coverage is 19.04%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main      #61      +/-   ##
==========================================
+ Coverage   31.54%   31.90%   +0.35%     
==========================================
  Files          28       28              
  Lines        1344     1354      +10     
==========================================
+ Hits          424      432       +8     
- Misses        920      922       +2     
Impacted Files Coverage Δ
dorado/scheduling/scripts/main.py 14.96% <19.04%> (+5.55%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 1792adc...eeb1f29. Read the comment docs.