Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unrecognized variable 'T_pl' #50

Closed
mwakok opened this issue Jan 17, 2021 · 1 comment · Fixed by #51
Closed

Unrecognized variable 'T_pl' #50

mwakok opened this issue Jan 17, 2021 · 1 comment · Fixed by #51
Assignees
Labels
bug Something isn't working

Comments

@mwakok
Copy link
Contributor

mwakok commented Jan 17, 2021

Describe the bug
Unrecognized function or variable 'T_pl'

To Reproduce
Steps to reproduce the behavior:

  1. Import Planning MitC for OM.xlsx
  2. Set Nr simulations to 250
  3. Set target project duration to 8
  4. Run simulation

Screenshots
Error 2

Desktop (please complete the following information):

  • MitC version: 0.1.0
@mwakok mwakok added the bug Something isn't working label Jan 17, 2021
@mwakok mwakok pinned this issue Jan 17, 2021
@mwakok
Copy link
Contributor Author

mwakok commented Jan 17, 2021

@omarkamouh I have created a new branch (50-unrecognized-Tpl) to fix the student's issue.

The reported bug is the result of missing inputs and outputs of the select_critical_paths function. I have corrected this with commit 9625c9d. However, a new error occured:

Unable to perform assignment because the size of the left side is 1-by-1 and the size of the right side is 0-by-1.

Error in mitc_simulation (line 118)
    collectData(iter,J+1)=T_opt; %save the results of T_opt

Error in mit_plan_modular (line 43)
[Results, CP_0, CP_opt] = mitc_simulation(Data, Config.nsimulations, Config.T_pl);

This error is not the result of the GUI implementation as it also occurs when I use the student's project data with your original code in mit_plan_modular_V9.m. Could you take a look at this? Please use the 50-unrecognized-Tpl branch to work on the solution.

@mwakok mwakok linked a pull request Jan 18, 2021 that will close this issue
@mwakok mwakok closed this as completed Jan 18, 2021
@mwakok mwakok unpinned this issue Jan 18, 2021
@mwakok mwakok mentioned this issue Jan 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants