Questions tagged [discrete]

83 questions
0
votes
1 answer

How do I link my flight schedule right to my agent?

Im new to Anylogic. I am creating a airport. I want get the Attribut called flug of my passenger that tell the remaining seconds till boarding. I have already created Pedestrian agents with a database, which this Attribut flug. If I want to retrieve…
Hello
  • 1
0
votes
0 answers

How to work with discrete variables on emcee python?

I'm working on a project were I'm performing a model fitting and my problem is that I have 2 of 4 variables that are discrete (this means that are already generated models that I'm just able to read), so I need that when I use the…
Ian Baeza
  • 1
  • 2
0
votes
0 answers

R ggplot2: converting the continuous scale legend to a discrete scale

This is my data: dput(QTdata) structure(list(QT = c("BMI", "BMI", "BMI", "BMI", "BMI", "BMI", "BMI", "BMI", "BMI", "BMI", "BMI", "BMI", "BMI", "BMI", "BMI", "BMI", "BMI", "BMI", "BMI", "BMI", "BMI", "BMI", "BMI", "BMI", "BMI", "WHR", "WHR",…
0
votes
0 answers

How do i make a discrete colorbar for a heatmap in plotly?

I'm trying to make a heatmap in plotly with a binned colorbar with assigned colors to represent a categorical variable in my data. I assigned the categories to numbers to make it continous for the heatmap, and then I thought I could use tickvals to…
0
votes
0 answers

Objective function consists of discrete and continuous parts CppAD ::ipopt

I am solving an optimization problem based on CppAD::ipopt library. My objective function Z = Z1 + Z2. The decision variables are x1 and x2. Z1 is a continuous function Z2 = V[f(x1, x2)] (Z1 based on a vector V, and index of vector V depends on…
0
votes
1 answer

How to change data from discrete to continuous in R?

I have two columns of my "Review" dataset that are causing me issues - one "Year" has years formatted like "2001/02". The other "Hour" has the hour of the day formatted like "01-02". Whenever I try and use these columns in graphs, I see "Error:…
ecm1710
  • 1
  • 1
0
votes
1 answer

anylogic measure the queuing time of a service block

I have a process flow which has some service blocks. For some reasons, I cannot use separate delays and queue block, I must stick to service block. However, i have some problems when I tried to measure the queuing time only in the service block, I…
0
votes
1 answer

How can I obtain the number of times that a hold block changes its state?

I am modelling a supply chain process. The case is that when the wait block reaches its maximum capacity I block the hold block in order to stop the flow of components and when one component exits the wait block I unblock the hold . What I am trying…
Adrian
  • 23
  • 4
0
votes
0 answers

ROC: difference between discrete and continuous?

Using the ROC function in the R package TTR, there is a choice between continuous (the default) and discrete, but with no guidance on which you choose when.
0
votes
1 answer

Dividing a time-format column into specified number of discrete intervals in hive

I have a column names ViolationTime in my Hive table. It contains time in 24-hour HHmm format, for example 1424. The table contains 10 million rows. I want to divide it into 6 discrete groups to perform operations. I tried using ntile, but it will…
0
votes
0 answers

Best markov chain's order for discrete data

I would like to know if there is a way to get the AIC and BIC of the different orders of the markov chain derived by the command: fitHigherOrder() from the markovchain package. What I am looking for is something like: maxOrder <- 5 result <-…
Ado
  • 1
0
votes
1 answer

Is it possible to avoid the entries in an Assembler to behave as a quee?

I am trying to implement the real behavior of a warehouse in Anylogic.In the transportation section I used the assembler to transport three different products in one package.The quees before the hold box work as a storage with a limit capacity.…
Adrian
  • 23
  • 4
0
votes
1 answer

Simpy Discrete Event Simulation: Customer/entity request never fulfilled in system with server blocking blocking when queue of next server is full

I have been struggling with coding this Discrete Event Simulation for a couple of days now. I got some answers of of this website, but still cannot run my simulation properly. The problem that arises is: The first customer (thus every customer) does…
0
votes
1 answer

Convert continuous colors(legend) to color as stepwise constant (discrete colors) in linear gradient

I am creating a continuous legend (have created using linear gradient). Now I want to convert same legend to look like discrete legend (have constant stepwise values). I have shared the images like how it looks now and how I want it to be looked and…
Eric
  • 123
  • 9
0
votes
0 answers

MCMCglmm model repeats with discrete data giving different outputs each time

I am running MCMCglmm regressions to test for an interaction between two traits whilst accounting for phylogenetic influence. Both of my fixed effects are discrete (they are binary 0 or 1), here is a sample of my data: Genus CP Stripes genus1 1 …
Callum_mc
  • 1
  • 1