nasa / dorado-scheduling

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

CPLEX error in running the sample code #88

Closed AkshayPanayada closed 10 months ago

AkshayPanayada commented 10 months ago

docplex.mp.utils.DOcplexLimitsExceeded: **** Promotional version. Problem size limits (1000 vars, 1000 consts) exceeded, model has 39825497 vars, 454925 consts, CPLEX code=1016

am receiving this error after running the code in the cluster Using 100GB ram

mcoughlin commented 10 months ago

@AkshayPanayada Please post the command line that triggered this issue.

lpsinger commented 10 months ago

You need to install a full version of CPLEX. See https://m4opt.readthedocs.io/en/latest/solvers.html#academic-users for instructions.

AkshayPanayada commented 10 months ago

I tried the same and ran the code again. Still got the same error

AkshayPanayada commented 10 months ago

@mcoughlin the sh file I used is given below

!/bin/bash

SBATCH -p shared

SBATCH --job-name=test_dorado.job

SBATCH --output=testdorado%A_%a.out

SBATCH --error=testdorado%A_%a.err

SBATCH --nodes=1

SBATCH --ntasks-per-node=1

SBATCH --gpus=0

SBATCH -A umn131

SBATCH --mem=100G

SBATCH --time=01:30:00

dorado-scheduling -o new.ecsv /home/apanayada/Soft/dorado-scheduling/examples/6.fits

lpsinger commented 10 months ago

Fixed by https://github.com/m4opt/m4opt/pull/73.