Questions tagged [modeling]

Modeling is the constructing and manipulating abstract (mathematical and/or graphical) representations of economic, engineering, manufacturing, social, and other types of situations and natural phenomenon, simulated with the help of a computer system.

Modeling is the construction and manipulation of abstract (mathematical and/or graphical) representations of economic, engineering, manufacturing, social, and other types of situations and natural phenomenon, simulated with the help of a computer system.

2023 questions
8
votes
1 answer

Time series modelling with irregular data

I'm currently working on a pet project to forecast future base oil prices from historical base oil prices. The data is weekly but there are some periods in between where prices are missing. I'm somewhat okay with modelling time series with complete…
leejy
  • 97
  • 1
  • 3
8
votes
5 answers

Specifying attribute types in Papyrus

I recently installed Papyrus and attempted to follow the tutorial for creating a model and generating Java code off it. Unfortunately, I'm pretty much stuck right at the beginning. In the class definition, I added a static operation for main, and…
luis.espinal
  • 10,331
  • 6
  • 39
  • 55
8
votes
2 answers

How to model "products" in an online store application

I'm building an online store to sell products like "Green Extra-large, T-shirts". I.e., the same shirt can have many sizes / colors, different combination can be sold out, different combination might have different prices, etc. My question is how I…
Tom Lehman
  • 85,973
  • 71
  • 200
  • 272
8
votes
3 answers

Entity Framework, Code First modeling and a cyclical reference

I've spend several days now, trying to solve this problem. While making a simple project to exemplify my problem, I stumbled upon a possible solution. So, this is sort of a double question. But first, a little background info: I just started using…
decibyte
  • 773
  • 11
  • 17
8
votes
4 answers

Best modelling language for modelling LP/MILP? (NOT solver)

I have a Gurobi licence and I am after a good MILP/LP modelling language, which should be free/open source intuitive, i.e. something that looks like (taken from MiniZinc) var int: x; constraint x >= 0.5; solve minimize x; fast: the time to build…
martin56
  • 83
  • 3
8
votes
8 answers

Inheritance or enum

I must structure new model for application and I don't what is better: using inheritance or using enum as type of object: For example : Books class Book { public string Name {get;set;} public string Author {get;set;} public int NumberOfPages…
user278618
  • 19,306
  • 42
  • 126
  • 196
8
votes
3 answers

2D colliding n-body simulation (fast Collision Detection for large number of balls)

I want to write a program for simulating a motion of high number (N = 1000 - 10^5 and more) of bodies (circles) on 2D plane. All bodies have equal size and the only interaction between them is elastic collision. I want to get something like but in…
osgx
  • 90,338
  • 53
  • 357
  • 513
8
votes
7 answers

Is there a tool to model/simulate software concurrency?

Is there a good tool out there that can model an application concurrency/locking scheme in a graphical way and that can simulate some of the aspects? I know that Petri nets can be used for that more or less, but I don't know a good GUI tool that can…
Andrey Adamovich
  • 20,285
  • 14
  • 94
  • 132
8
votes
11 answers

I want to make a simple 3D game using openGL, where should I start?

I find that I learn best by example. Is there a good website or codebase that shows how event handling, collision detection, modeling, and basic 3D drawing works? The game I'm trying to begin with is a simple racing game where the user controls a…
obsoleteModel81
  • 413
  • 2
  • 6
  • 13
8
votes
1 answer

Is there a visual modeling tool / language or style which supports Scala profile?

[Similarly sounding question currently active on SO is " Is there a visual modeling language or style for the functional programming paradigm? " which is different then this question because another is focusing only on Functional programming…
Optimight
  • 2,989
  • 6
  • 30
  • 48
7
votes
4 answers

Does anyone know good Object Constraint Language (OCL) tutorial?

I came across couple of questions about OCL expressions. After reading some university slides and googling it I still cannot properly understand it. I wonder if any of you guys know any good resources that I should read to understand this…
Artur
  • 3,284
  • 2
  • 29
  • 35
7
votes
3 answers

Does anyone have any experiences with Eclipse GMF?

I've just started to play around with Eclipse GMF. Has anyone used the framework? Any good or bad experiences you had using it? Any alternatives for graphical modeling you could suggest? EDIT: What good examples are available?
Peter Lang
  • 54,264
  • 27
  • 148
  • 161
7
votes
1 answer

R: modeling on residuals

I have heard people talk about "modeling on the residuals" when they want to calculate some effect after an a-priori model has been made. For example, if they know that two variables, var_1 and var_2 are correlated, we first make a model with var_1…
Helen
  • 533
  • 12
  • 37
7
votes
1 answer

Django - Save multiple versions of an Image

My application needs to save multiple versions of an uploaded Image. One high quality image and another one just for thumbnails use (low quality). Currently this is working most of the time but sometimes the save method simply fails and all of my…
user11684966
7
votes
3 answers

Keyboard friendly light weight UML modeling tool?

I'm looking for a free UML tool that runs on Windows and lets me create simple diagrams very fast, with as little mouse fiddling as possible. I have no need for code generation or fancy stuff, just UML style boxes with arrows. What I would like is…
Erik Öjebo
  • 10,821
  • 4
  • 54
  • 75