Skip to content

Commit

Permalink
Update tdcs_problem.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ncclabsustech authored Nov 1, 2023
1 parent c96119e commit 537a6da
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tdcs_problem.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from public import glo
import geatpy as ea
from public import util

NUM_ELE = glo.NUM_ELE

class MyProblem(ea.Problem):

Expand All @@ -14,7 +14,7 @@ def __init__(self):
Dim = 4
varTypes = [1] * Dim
lb = [0, 0,0,0]
ub = [74, 74,74,74]
ub = [(NUM_ELE-1), (NUM_ELE-1),(NUM_ELE-1),(NUM_ELE-1)]
lbin = [1] * Dim
ubin = [1] * Dim

Expand Down

0 comments on commit 537a6da

Please sign in to comment.